Bug: delivery date value is not hide with global ORDER_DISABLE_DELIVERY_DATE
In title and in filter the delivery date column is well hidden. The error is only in column value,
This commit is contained in:
parent
bf2955909a
commit
c385b86793
@ -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