Debug v18
This commit is contained in:
parent
5d39fe8926
commit
9972277679
6 changed files with 6 additions and 7 deletions
|
|
@ -118,7 +118,7 @@ if (($action == 'update' && !GETPOST("cancel", 'alpha'))
|
|||
|
||||
// Remove to check file size to large
|
||||
/*if ($_FILES[$varforimage]["tmp_name"]) {*/
|
||||
$reg = array();
|
||||
$reg = array();
|
||||
if (preg_match('/([^\\/:]+)$/i', $_FILES[$varforimage]["name"], $reg)) {
|
||||
$original_file = $reg[1];
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ function reception_prepare_head(Reception $object)
|
|||
|
||||
if ($object->statut == Reception::STATUS_DRAFT) {
|
||||
$head[$h][0] = DOL_URL_ROOT."/reception/dispatch.php?id=".$object->id;
|
||||
$head[$h][1] = $langs->trans("DispatchCard");
|
||||
$head[$h][1] = $langs->trans("ReceptionDistribution");
|
||||
$head[$h][2] = 'dispatch';
|
||||
$h++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ function shipping_prepare_head($object)
|
|||
|
||||
if ($object->statut == Expedition::STATUS_DRAFT) {
|
||||
$head[$h][0] = DOL_URL_ROOT."/expedition/dispatch.php?id=".$object->id;
|
||||
$head[$h][1] = $langs->trans("DispatchCard");
|
||||
$head[$h][1] = $langs->trans("ShipmentDistribution");
|
||||
$head[$h][2] = 'dispatch';
|
||||
$h++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,4 @@ ReceptionClassifyClosedInDolibarr=Reception %s classified Closed
|
|||
ReceptionUnClassifyCloseddInDolibarr=Reception %s re-open
|
||||
RestoreWithCurrentQtySaved=Fill quantities with latest saved values
|
||||
ReceptionUpdated=Reception sucessfully updated
|
||||
DispatchCard=Reception distribution
|
||||
ReceptionDistribution=Reception distribution
|
||||
|
|
@ -75,8 +75,7 @@ SumOfProductWeights=Sum of product weights
|
|||
DetailWarehouseNumber= Warehouse details
|
||||
DetailWarehouseFormat= W:%s (Qty: %d)
|
||||
|
||||
# Other
|
||||
DispatchCard = Dispatch card
|
||||
ShipmentDistribution=Shipment distribution
|
||||
|
||||
ErrorTooManyCombinationBatchcode=No dispatch for line %s as too many combination warehouse, product, batch code was found (%s).
|
||||
ErrorNoCombinationBatchcode=No dispatch for line %s as no combination warehouse, product, batch code was found.
|
||||
|
|
@ -297,7 +297,7 @@ $formproduct = new FormProduct($db);
|
|||
$warehouse_static = new Entrepot($db);
|
||||
$supplierorderdispatch = new CommandeFournisseurDispatch($db);
|
||||
|
||||
$title = $object->ref." - ".$langs->trans('DispatchCard');
|
||||
$title = $object->ref." - ".$langs->trans('ReceptionDistribution');
|
||||
$help_url = 'EN:Module_Suppliers_Orders|FR:CommandeFournisseur|ES:Módulo_Pedidos_a_proveedores';
|
||||
$morejs = array('/fourn/js/lib_dispatch.js.php');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue