fix(expedition): use date_creation instead of date_delivery in linkedobjectblock (#37589)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
This commit is contained in:
parent
ab53343a44
commit
62c6e1db97
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ foreach ($linkedObjectBlock as $key => $objectlink) {
|
|||
<td><?php echo $langs->trans("Shipment"); ?></td>
|
||||
<td class="tdoverflowmax125"><?php echo $objectlink->getNomUrl(1); ?></td>
|
||||
<td class="tdoverflowmax125" title="<?php dolPrintHTMLForAttribute($objectlink->ref_customer); ?>"><?php echo dolPrintHTML($objectlink->ref_customer); ?></td>
|
||||
<td class="center"><?php echo dol_print_date($objectlink->date_delivery ? $objectlink->date_delivery : $objectlink->date_creation, 'day'); ?></td>
|
||||
<td class="center"><?php echo dol_print_date($objectlink->date_creation, 'day'); ?></td>
|
||||
<td class="right"><?php
|
||||
if ($user->hasRight('expedition', 'lire')) {
|
||||
$total += $objectlink->total_ht;
|
||||
|
|
|
|||
Loading…
Reference in a new issue