Laurent Destailleur 2 år sedan
förälder
incheckning
9972277679

+ 1 - 1
htdocs/admin/company.php

@@ -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];
 

+ 1 - 1
htdocs/core/lib/reception.lib.php

@@ -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++;
 	}

+ 1 - 1
htdocs/core/lib/sendings.lib.php

@@ -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++;
 	}

+ 1 - 1
htdocs/langs/en_US/receptions.lang

@@ -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

+ 1 - 2
htdocs/langs/en_US/sendings.lang

@@ -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.

+ 1 - 1
htdocs/reception/dispatch.php

@@ -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');