Better translation
This commit is contained in:
parent
89c9996b22
commit
b554d81314
@ -95,7 +95,8 @@ SelectWarehouseForStockDecrease=Choose warehouse to use for stock decrease
|
|||||||
SelectWarehouseForStockIncrease=Choose warehouse to use for stock increase
|
SelectWarehouseForStockIncrease=Choose warehouse to use for stock increase
|
||||||
NoStockAction=No stock action
|
NoStockAction=No stock action
|
||||||
LastWaitingSupplierOrders=Orders waiting for receptions
|
LastWaitingSupplierOrders=Orders waiting for receptions
|
||||||
DesiredStock=Desired stock
|
DesiredStock=Desired minimum stock
|
||||||
|
DesiredMaxStock=Desired maximum stock
|
||||||
StockToBuy=To order
|
StockToBuy=To order
|
||||||
Replenishment=Replenishment
|
Replenishment=Replenishment
|
||||||
ReplenishmentOrders=Replenishment orders
|
ReplenishmentOrders=Replenishment orders
|
||||||
|
|||||||
@ -41,6 +41,9 @@ if ($user->societe_id > 0)
|
|||||||
|
|
||||||
$sall=GETPOST('sall','alpha');
|
$sall=GETPOST('sall','alpha');
|
||||||
$search_user=GETPOST('search_user','alpha');
|
$search_user=GETPOST('search_user','alpha');
|
||||||
|
$search_login=GETPOST('search_login','alpha');
|
||||||
|
$search_lastname=GETPOST('search_lastname','alpha');
|
||||||
|
$search_firstname=GETPOST('search_firstname','alpha');
|
||||||
$search_statut=GETPOST('search_statut','alpha');
|
$search_statut=GETPOST('search_statut','alpha');
|
||||||
|
|
||||||
$sortfield = GETPOST('sortfield','alpha');
|
$sortfield = GETPOST('sortfield','alpha');
|
||||||
@ -90,6 +93,9 @@ if (! empty($search_user))
|
|||||||
{
|
{
|
||||||
$sql.= " AND (u.login LIKE '%".$db->escape($search_user)."%' OR u.lastname LIKE '%".$db->escape($search_user)."%' OR u.firstname LIKE '%".$db->escape($search_user)."%')";
|
$sql.= " AND (u.login LIKE '%".$db->escape($search_user)."%' OR u.lastname LIKE '%".$db->escape($search_user)."%' OR u.firstname LIKE '%".$db->escape($search_user)."%')";
|
||||||
}
|
}
|
||||||
|
if ($search_login != '') $sql.= natural_search("u.login", $search_login);
|
||||||
|
if ($search_lastname != '') $sql.= natural_search("u.lastname", $search_lastname);
|
||||||
|
if ($search_firstname != '') $sql.= natural_search("u.firstname", $search_firstname);
|
||||||
if ($search_statut != '' && $search_statut >= 0)
|
if ($search_statut != '' && $search_statut >= 0)
|
||||||
{
|
{
|
||||||
$sql.= " AND (u.statut=".$search_statut.")";
|
$sql.= " AND (u.statut=".$search_statut.")";
|
||||||
@ -122,13 +128,16 @@ if ($result)
|
|||||||
print_liste_field_titre($langs->trans("LastConnexion"),$_SERVER['PHP_SELF'],"u.datelastlogin",$param,"",'align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("LastConnexion"),$_SERVER['PHP_SELF'],"u.datelastlogin",$param,"",'align="center"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("HierarchicalResponsible"),$_SERVER['PHP_SELF'],"u2.login",$param,"",'align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("HierarchicalResponsible"),$_SERVER['PHP_SELF'],"u2.login",$param,"",'align="center"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("Status"),$_SERVER['PHP_SELF'],"u.statut",$param,"",'align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("Status"),$_SERVER['PHP_SELF'],"u.statut",$param,"",'align="center"',$sortfield,$sortorder);
|
||||||
print '<td width="1%"> </td>';
|
print_liste_field_titre('');
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
// SearchBar
|
// SearchBar
|
||||||
$colspan=7;
|
$colspan=4;
|
||||||
if (! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode)) $colspan++;
|
if (! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode)) $colspan++;
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
|
print '<td><input type="text" name="search_login" size="6" value="'.$search_login.'"></td>';
|
||||||
|
print '<td><input type="text" name="search_lastname" size="6" value="'.$search_lastname.'"></td>';
|
||||||
|
print '<td><input type="text" name="search_firstname" size="6" value="'.$search_firstname.'"></td>';
|
||||||
print '<td colspan="'.$colspan.'"> </td>';
|
print '<td colspan="'.$colspan.'"> </td>';
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user