Removed deprecated option

This commit is contained in:
Laurent Destailleur 2021-12-09 09:53:32 +01:00
parent f0cac384c5
commit 7ce6009958
2 changed files with 2 additions and 8 deletions

View File

@ -528,10 +528,7 @@ while ($i < min($num, $limit)) {
// Date
if (!empty($arrayfields['p.datep']['checked'])) {
$dateformatforpayment = 'day';
if (!empty($conf->global->INVOICE_USE_HOURS_FOR_PAYMENT)) {
$dateformatforpayment = 'dayhour';
}
$dateformatforpayment = 'dayhour';
print '<td class="center">'.dol_print_date($db->jdate($objp->datep), $dateformatforpayment).'</td>';
if (!$i) {
$totalarray['nbfield']++;

View File

@ -497,10 +497,7 @@ while ($i < min($num, $limit)) {
// Date
if (!empty($arrayfields['p.datep']['checked'])) {
$dateformatforpayment = 'day';
if (!empty($conf->global->INVOICE_USE_HOURS_FOR_PAYMENT)) {
$dateformatforpayment = 'dayhour';
}
$dateformatforpayment = 'dayhour';
print '<td class="nowrap center">'.dol_print_date($db->jdate($objp->datep), $dateformatforpayment).'</td>';
if (!$i) {
$totalarray['nbfield']++;