18 |
* |
* |
19 |
* $Id$ |
* $Id$ |
20 |
* $Source$ |
* $Source$ |
|
* |
|
21 |
*/ |
*/ |
22 |
|
|
23 |
/** |
/** |
104 |
/* |
/* |
105 |
* Recherche Contrat |
* Recherche Contrat |
106 |
*/ |
*/ |
107 |
if ($conf->contrat->enabled) { |
if ($conf->contrat->enabled) |
108 |
|
{ |
109 |
$var=false; |
$var=false; |
110 |
print '<form method="post" action="'.DOL_URL_ROOT.'/contrat/liste.php">'; |
print '<form method="post" action="'.DOL_URL_ROOT.'/contrat/liste.php">'; |
111 |
print '<table class="noborder" width="100%">'; |
print '<table class="noborder" width="100%">'; |
112 |
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAContract").'</td></tr>'; |
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAContract").'</td></tr>'; |
113 |
print '<tr '.$bc[$var].'><td nowrap>'; |
print '<tr '.$bc[$var].'>'; |
114 |
print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; |
print '<td nowrap>'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td>'; |
115 |
print "</table></form><br>\n"; |
print '<td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; |
116 |
|
print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; |
117 |
|
print '</tr>'; |
118 |
|
print "</table></form>\n"; |
119 |
|
print "<br>"; |
120 |
} |
} |
121 |
|
|
122 |
/* |
/* |