Engish standardization correction + search by idprof1 possible

This commit is contained in:
Maxime Kohlhaas 2013-03-01 18:20:42 +01:00
parent 881b3bc936
commit 803bee076c
2 changed files with 2 additions and 1 deletions

View File

@ -1253,7 +1253,7 @@ else
print '</td></tr>';
// Address
print '<tr><td valign="top">'.$langs->trans('Address').'</td><td colspan="3"><textarea name="adresse" cols="40" rows="3" wrap="soft">';
print '<tr><td valign="top">'.$langs->trans('Address').'</td><td colspan="3"><textarea name="address" cols="40" rows="3" wrap="soft">';
print $object->address;
print '</textarea></td></tr>';

View File

@ -85,6 +85,7 @@ if ($mode == 'search')
$sql.= " OR s.code_client LIKE '%".$db->escape($socname)."%'";
$sql.= " OR s.email LIKE '%".$db->escape($socname)."%'";
$sql.= " OR s.url LIKE '%".$db->escape($socname)."%'";
$sql.= " OR s.siren LIKE '%".$db->escape($socname)."%'";
if (!empty($conf->barcode->enabled))
{