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
This commit is contained in:
parent
9016f5e74a
commit
5271a2b4a7
@ -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) ? '<br>'.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 "</td>\n";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user