search on lots or serials
This commit is contained in:
parent
8246eb814b
commit
f59c19b573
@ -79,6 +79,10 @@ if (!empty($conf->societe->enabled) && empty($conf->global->MAIN_SEARCHFORM_CONT
|
|||||||
if (((!empty($conf->product->enabled) && $user->rights->produit->lire) || (!empty($conf->service->enabled) && $user->rights->service->lire))
|
if (((!empty($conf->product->enabled) && $user->rights->produit->lire) || (!empty($conf->service->enabled) && $user->rights->service->lire))
|
||||||
&& empty($conf->global->MAIN_SEARCHFORM_PRODUITSERVICE_DISABLED)) {
|
&& empty($conf->global->MAIN_SEARCHFORM_PRODUITSERVICE_DISABLED)) {
|
||||||
$arrayresult['searchintoproduct'] = array('position'=>30, 'shortcut'=>'P', 'img'=>'object_product', 'label'=>$langs->trans("SearchIntoProductsOrServices", $search_boxvalue), 'text'=>img_picto('', 'object_product').' '.$langs->trans("SearchIntoProductsOrServices", $search_boxvalue), 'url'=>DOL_URL_ROOT.'/product/list.php'.($search_boxvalue ? '?sall='.urlencode($search_boxvalue) : ''));
|
$arrayresult['searchintoproduct'] = array('position'=>30, 'shortcut'=>'P', 'img'=>'object_product', 'label'=>$langs->trans("SearchIntoProductsOrServices", $search_boxvalue), 'text'=>img_picto('', 'object_product').' '.$langs->trans("SearchIntoProductsOrServices", $search_boxvalue), 'url'=>DOL_URL_ROOT.'/product/list.php'.($search_boxvalue ? '?sall='.urlencode($search_boxvalue) : ''));
|
||||||
|
// search on lot/serial numbers
|
||||||
|
if ( ! empty($conf->productbatch->enabled) ) {
|
||||||
|
$arrayresult['searchintobatch'] = array('position'=>32, 'shortcut'=>'B', 'img'=>'object_plot', 'label'=>$langs->trans("SearchIntoBatch", $search_boxvalue), 'text'=>img_picto('', 'object_lot').' '.$langs->trans("SearchIntoBatch", $search_boxvalue), 'url'=>DOL_URL_ROOT.'/product/stock/productlot_list.php'.($search_boxvalue ? '?sall='.urlencode($search_boxvalue) : ''));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($conf->mrp->enabled) && $user->rights->mrp->read && empty($conf->global->MAIN_SEARCHFORM_MRP_DISABLED)) {
|
if (!empty($conf->mrp->enabled) && $user->rights->mrp->read && empty($conf->global->MAIN_SEARCHFORM_MRP_DISABLED)) {
|
||||||
|
|||||||
@ -389,7 +389,7 @@ AmountTotal=Total amount
|
|||||||
AmountAverage=Average amount
|
AmountAverage=Average amount
|
||||||
PriceQtyMinHT=Price quantity min. (excl. tax)
|
PriceQtyMinHT=Price quantity min. (excl. tax)
|
||||||
PriceQtyMinHTCurrency=Price quantity min. (excl. tax) (currency)
|
PriceQtyMinHTCurrency=Price quantity min. (excl. tax) (currency)
|
||||||
PercentOfOriginalObject=Percent of original object
|
PercentOfOriginalObject=Percent of original object
|
||||||
AmountOrPercent=Amount or percent
|
AmountOrPercent=Amount or percent
|
||||||
Percentage=Percentage
|
Percentage=Percentage
|
||||||
Total=Total
|
Total=Total
|
||||||
@ -1017,6 +1017,7 @@ SearchIntoContacts=Contacts
|
|||||||
SearchIntoMembers=Members
|
SearchIntoMembers=Members
|
||||||
SearchIntoUsers=Users
|
SearchIntoUsers=Users
|
||||||
SearchIntoProductsOrServices=Products or services
|
SearchIntoProductsOrServices=Products or services
|
||||||
|
SearchIntoBatch=Lots / Serials
|
||||||
SearchIntoProjects=Projects
|
SearchIntoProjects=Projects
|
||||||
SearchIntoMO=Manufacturing Orders
|
SearchIntoMO=Manufacturing Orders
|
||||||
SearchIntoTasks=Tasks
|
SearchIntoTasks=Tasks
|
||||||
|
|||||||
@ -548,7 +548,7 @@ None=Aucun
|
|||||||
NoneF=Aucune
|
NoneF=Aucune
|
||||||
NoneOrSeveral=Aucun ou plusieurs
|
NoneOrSeveral=Aucun ou plusieurs
|
||||||
Late=Retard
|
Late=Retard
|
||||||
LateDesc=Le délai qui définit si un enregistrement est en retard ou non dépend de votre configuration. Demandez à votre administrateur pour changer ce délai depuis Accueil - Configuration - Alertes
|
LateDesc=Le délai qui définit si un enregistrement est en retard ou non dépend de votre configuration. Demandez à votre administrateur pour changer ce délai depuis Accueil - Configuration - Alertes
|
||||||
NoItemLate=Aucun élément en retard
|
NoItemLate=Aucun élément en retard
|
||||||
Photo=Photo
|
Photo=Photo
|
||||||
Photos=Photos
|
Photos=Photos
|
||||||
@ -1013,6 +1013,7 @@ SearchIntoContacts=Contacts
|
|||||||
SearchIntoMembers=Adhérents
|
SearchIntoMembers=Adhérents
|
||||||
SearchIntoUsers=Utilisateurs
|
SearchIntoUsers=Utilisateurs
|
||||||
SearchIntoProductsOrServices=Produits ou services
|
SearchIntoProductsOrServices=Produits ou services
|
||||||
|
SearchIntoBatch=Lots / N° de série
|
||||||
SearchIntoProjects=Projets
|
SearchIntoProjects=Projets
|
||||||
SearchIntoMO=Ordres de fabrication
|
SearchIntoMO=Ordres de fabrication
|
||||||
SearchIntoTasks=Tâches
|
SearchIntoTasks=Tâches
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user