Merge pull request #5635 from joseplluis/patch-3
Fix Bug: delivery date value is not hide with global ORDER_DISABLE_DELIVE…
This commit is contained in:
commit
0cb7440647
@ -587,10 +587,13 @@ if ($resql)
|
|||||||
print dol_print_date($db->jdate($objp->date_commande), 'day');
|
print dol_print_date($db->jdate($objp->date_commande), 'day');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Delivery date
|
if (empty($conf->global->ORDER_DISABLE_DELIVERY_DATE))
|
||||||
print '<td align="center">';
|
{
|
||||||
print dol_print_date($db->jdate($objp->date_delivery), 'day');
|
// Delivery date
|
||||||
print '</td>';
|
print '<td align="center">';
|
||||||
|
print dol_print_date($db->jdate($objp->date_delivery), 'day');
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
|
|
||||||
// Amount HT
|
// Amount HT
|
||||||
print '<td align="right" class="nowrap">'.price($objp->total_ht).'</td>';
|
print '<td align="right" class="nowrap">'.price($objp->total_ht).'</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user