forceduedate is an option of the function

This commit is contained in:
Eric Seigne 2023-03-29 16:46:06 +02:00
parent 6eda0f4c2e
commit 48136f465b

View File

@ -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)
{