diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 05819fe91be..7449e4d1502 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -54,7 +54,7 @@ if (! empty($conf->projet->enabled)) {
}
// Load translation files required by the page
-$langs->loadLangs(array("sendings","companies","bills",'deliveries','orders','stocks','other','propal'));
+$langs->loadLangs(array("sendings", "companies", "bills", 'deliveries', 'orders', 'stocks', 'other', 'propal'));
if (!empty($conf->incoterm->enabled)) $langs->load('incoterm');
if (! empty($conf->productbatch->enabled)) $langs->load('productbatch');
@@ -101,7 +101,7 @@ $extralabelslines=$extrafieldsline->fetch_name_optionals_label($object->table_el
include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be include, not include_once
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
-$hookmanager->initHooks(array('expeditioncard','globalcard'));
+$hookmanager->initHooks(array('expeditioncard', 'globalcard'));
$permissiondellink=$user->rights->expedition->livraison->creer; // Used by the include of actions_dellink.inc.php
//var_dump($object->lines[0]->detail_batch);
@@ -969,7 +969,7 @@ if ($action == 'create')
// Date delivery planned
print '
'.$langs->trans("DateDeliveryPlanned").'
';
print '
';
- //print dol_print_date($object->date_livraison,"day"); // date_livraison come from order and will be stored into date_delivery planed.
+ //print dol_print_date($object->date_livraison, "day"); // date_livraison come from order and will be stored into date_delivery planed.
$date_delivery = ($date_delivery?$date_delivery:$object->date_livraison); // $date_delivery comes from GETPOST
print $form->selectDate($date_delivery?$date_delivery:-1, 'date_delivery', 1, 1, 1);
print "
\n";
@@ -1225,7 +1225,7 @@ if ($action == 'create')
{
$quantityToBeDelivered = $quantityAsked - $quantityDelivered;
}
- $warehouse_id = GETPOST('entrepot_id','int');
+ $warehouse_id = GETPOST('entrepot_id', 'int');
$warehouseObject = null;
if ($warehouse_id > 0 || ! ($line->fk_product > 0) || empty($conf->stock->enabled)) // If warehouse was already selected or if product is not a predefined, we go into this part with no multiwarehouse selection
@@ -1545,7 +1545,7 @@ if ($action == 'create')
print '