From d0209abc435d70d515b1fc47a030cba653ac14da Mon Sep 17 00:00:00 2001 From: Zakaria Boushaba <48571684+Boushabazakaria@users.noreply.github.com> Date: Fri, 22 May 2026 20:24:05 +0100 Subject: [PATCH] NEW|New Add delivery date in supplier order linked object block (#38351) * Feat: Add delivery date in supplier order linked object block * Fix indents --------- Co-authored-by: Zakaria Boushaba Co-authored-by: Laurent Destailleur --- htdocs/fourn/commande/tpl/linkedobjectblock.tpl.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;