This commit is contained in:
Laurent Destailleur 2024-10-09 23:53:05 +02:00
parent 46671adf1c
commit 37e9d4b69e

View file

@ -1502,7 +1502,7 @@ class Invoices extends DolibarrApi
// Creation of payment line
$paymentobj = new Paiement($this->db);
$paymentobj->datepaye = dol_stringtotime($datepaye);
$paymentobj->datepaye = $datepaye;
$paymentobj->amounts = $amounts; // Array with all payments dispatching with invoice id
$paymentobj->multicurrency_amounts = $multicurrency_amounts; // Array with all payments dispatching
$paymentobj->paiementid = $paymentid;