diff --git a/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php b/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php index ee434a65d3c..2f27447b8db 100644 --- a/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php +++ b/htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php @@ -70,7 +70,12 @@ foreach ($linkedObjectBlock as $key => $objectlink) { ">trans("SupplierOrder")); ?> getNomUrl(1); ?> - date, 'day'); ?> + trans("Date"), 'generic', 'class="pictofixedwidth"').dol_print_date($objectlink->date, 'day'); + if (!empty($objectlink->delivery_date)) { + echo '
'.img_picto($langs->trans("DateDeliveryPlanned"), 'reception', 'class="pictofixedwidth"').dol_print_date($objectlink->delivery_date, 'day'); + } + ?> hasRight("fournisseur", "commande", "lire")) { $total += $objectlink->total_ht;