From 48136f465b841ba026ffad277257f980e6cbe1dd Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Wed, 29 Mar 2023 16:46:06 +0200 Subject: [PATCH] forceduedate is an option of the function --- htdocs/compta/facture/class/facture.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 0269babd064..81c426a934c 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -530,8 +530,6 @@ class Facture extends CommonInvoice // We do not add link to template invoice or next invoice will be linked to all generated invoices //$this->linked_objects['facturerec'][0] = $this->fac_rec; - $forceduedate = $this->calculate_date_lim_reglement(); - // For recurring invoices, update date and number of last generation of recurring template invoice, before inserting new invoice if ($_facrec->frequency > 0) {