From 5271a2b4a7e23a1fc41ead05502be2f107ea0883 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 4 Feb 2023 12:17:42 +0100 Subject: [PATCH] fix : Warning: Undefined property: DeliveryLine:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/delivery/card.php on line 571 and same for --- htdocs/delivery/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/delivery/card.php b/htdocs/delivery/card.php index fed042aa173..603777d231f 100644 --- a/htdocs/delivery/card.php +++ b/htdocs/delivery/card.php @@ -568,7 +568,7 @@ if ($action == 'create') { $description = (getDolGlobalInt('PRODUIT_DESC_IN_FORM_ACCORDING_TO_DEVICE') ? '' : dol_htmlentitiesbr($object->lines[$i]->description)); //print $description; print $form->textwithtooltip($text, $description, 3, '', '', $i); - print_date_range($object->lines[$i]->date_start, $object->lines[$i]->date_end); + //print_date_range($object->lines[$i]->date_start, $object->lines[$i]->date_end); if (getDolGlobalInt('PRODUIT_DESC_IN_FORM_ACCORDING_TO_DEVICE')) { print (!empty($object->lines[$i]->description) && $object->lines[$i]->description != $object->lines[$i]->product_label) ? '
'.dol_htmlentitiesbr($object->lines[$i]->description) : ''; } @@ -587,7 +587,7 @@ if ($action == 'create') { print $text.' '.nl2br($object->lines[$i]->description); } - print_date_range($objp->date_start, $objp->date_end); + //print_date_range($objp->date_start, $objp->date_end); print "\n"; }