diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index 407a461a1a1..e0f6b796826 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -2239,7 +2239,7 @@ if ($action == 'create') // Show object lines $result = $object->getLinesArray(); - print '
+ print ' diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 9de9ffed222..67978ff99e8 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -2433,7 +2433,7 @@ if ($action == 'create' && $user->rights->commande->creer) */ $result = $object->getLinesArray(); - print ' + print ' diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index b6d610c65b6..ad5f69edfc0 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3867,7 +3867,7 @@ else if ($id > 0 || ! empty($ref)) - print ' + print ' diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index f0aaad677d6..a5fdbc98dba 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -212,7 +212,7 @@ if (empty($reshook)) $objectsrc->fetch($object->origin_id); $object->socid = $objectsrc->socid; - $object->ref_customer = ''; // We don't use $objectsrc->ref_client, this is ref or order not shipment + $object->ref_customer = GETPOST('ref_customer'); // We don't use $objectsrc->ref_client, this is ref or order not shipment $object->model_pdf = GETPOST('model'); $object->date_delivery = $date_delivery; // Date delivery planed $object->fk_delivery_address = $objectsrc->fk_delivery_address; @@ -692,7 +692,7 @@ if ($action == 'create') else if ($origin == 'propal') print $langs->trans('RefCustomerOrder'); else print $langs->trans('RefCustomer'); print ''; - print $object->ref_client; + print ''; print ''; print ''; diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index 74d96158f65..05bbc26e5fc 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -2064,7 +2064,7 @@ elseif (! empty($object->id)) //$result = $object->getLinesArray(); - print ' + print ' diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 8402b298f93..f24ed99a9f8 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -2584,7 +2584,7 @@ else /* * Lines */ - print ''; + print ''; print ''; print ''; print '';