From 6e9a3c05f43fcc651c175ac64e880817b638a27d Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Mon, 30 Nov 2020 13:52:02 +0100 Subject: [PATCH] =?UTF-8?q?Close=20:=20Encours=20d=C3=A9pass=C3=A9=20#1530?= =?UTF-8?q?7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/boxes/box_customers_outstanding_bill_reached.php | 7 +------ htdocs/langs/en_US/boxes.lang | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/htdocs/core/boxes/box_customers_outstanding_bill_reached.php b/htdocs/core/boxes/box_customers_outstanding_bill_reached.php index 2baa02a912c..49b9de88d03 100644 --- a/htdocs/core/boxes/box_customers_outstanding_bill_reached.php +++ b/htdocs/core/boxes/box_customers_outstanding_bill_reached.php @@ -82,7 +82,7 @@ class box_customers_outstanding_bill_reached extends ModeleBoxes include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; $thirdpartystatic = new Societe($this->db); - $this->info_box_head = array('text' => "Last Cutomers Outstanding Bill Reached"); + $this->info_box_head = array('text' => $langs->trans("BoxTitleLastOutstandingBillReached", $max)); if ($user->rights->societe->lire) { @@ -144,11 +144,6 @@ class box_customers_outstanding_bill_reached extends ModeleBoxes 'asis' => 1, ); - $this->info_box_contents[$line][] = array( - 'td' => 'class="right"', - 'text' => dol_print_date($datem, "day") - ); - $this->info_box_contents[$line][] = array( 'td' => 'class="right" width="18"', 'text' => $thirdpartystatic->LibStatut($objp->status, 3) diff --git a/htdocs/langs/en_US/boxes.lang b/htdocs/langs/en_US/boxes.lang index 14db79809bc..75f8eb14f49 100644 --- a/htdocs/langs/en_US/boxes.lang +++ b/htdocs/langs/en_US/boxes.lang @@ -46,6 +46,7 @@ BoxTitleLastModifiedDonations=Latest %s modified donations BoxTitleLastModifiedExpenses=Latest %s modified expense reports BoxTitleLatestModifiedBoms=Latest %s modified BOMs BoxTitleLatestModifiedMos=Latest %s modified Manufacturing Orders +BoxTitleLastOutstandingBillReached=Latest %s customers with maximum outstanding exceeded BoxGlobalActivity=Global activity (invoices, proposals, orders) BoxGoodCustomers=Good customers BoxTitleGoodCustomers=%s Good customers