WIP
This commit is contained in:
parent
887d4e0603
commit
d69f08e489
@ -238,5 +238,6 @@ StockAtDatePastDesc=You can view here the stock (real stock) at a given date in
|
||||
StockAtDateFutureDesc=You can view here the stock (virtual stock) at a given date in future
|
||||
CurrentStock=Current stock
|
||||
InventoryRealQtyHelp=Set value to 0 to reset qty<br>Keep field empty, or remove line, to keep unchanged
|
||||
UpdateByScaning=Update by scaning
|
||||
UpdateByScaningProductBarcode=Update by scan (product barcode)
|
||||
UpdateByScaningLot=Update by scan (lot|serial barcode)
|
||||
|
||||
@ -341,16 +341,16 @@ if ($object->id > 0)
|
||||
{
|
||||
if ($permissiontoadd)
|
||||
{
|
||||
//print '<a href="'.DOL_URL_ROOT.'/product/inventory/inventory.php?id='.$object->id.'&action=addline" class="butAction">'.$langs->trans("AddLine").'</a>';
|
||||
|
||||
/*
|
||||
if ($conf->barcode->enabled) {
|
||||
print '<a href="#" class="butAction">'.$langs->trans("UpdateByScaningProductBarcode").'</a>';
|
||||
}
|
||||
if ($conf->productbatch->enabled) {
|
||||
print '<a href="#" class="butAction">'.$langs->trans('UpdateByScaningLot').'</a>';
|
||||
}*/
|
||||
if ($conf->barcode->enabled || $conf->productbatch->enabled) {
|
||||
print '<a href="#" class="butAction">'.$langs->trans("UpdateByScaning").'</a>';
|
||||
}
|
||||
|
||||
//print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=savecurrent">'.$langs->trans("Save").'</a>'."\n";
|
||||
} else {
|
||||
print '<a class="butActionRefused classfortooltip" href="#" title="'.dol_escape_htmltag($langs->trans("NotEnoughPermissions")).'">'.$langs->trans('Save').'</a>'."\n";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user