From 7ce60099588336097aa573f004f451c13cf87170 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 9 Dec 2021 09:53:32 +0100 Subject: [PATCH] Removed deprecated option --- htdocs/compta/paiement/list.php | 5 +---- htdocs/fourn/paiement/list.php | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index f5160c51757..0d928cf188f 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -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 ''.dol_print_date($db->jdate($objp->datep), $dateformatforpayment).''; if (!$i) { $totalarray['nbfield']++; diff --git a/htdocs/fourn/paiement/list.php b/htdocs/fourn/paiement/list.php index 5c76c1dddd0..f9df30c2f54 100644 --- a/htdocs/fourn/paiement/list.php +++ b/htdocs/fourn/paiement/list.php @@ -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 ''.dol_print_date($db->jdate($objp->datep), $dateformatforpayment).''; if (!$i) { $totalarray['nbfield']++;