Better compatibility
This commit is contained in:
parent
c52c4229c5
commit
ed6acfa1e7
@ -454,7 +454,8 @@ class SupplierInvoices extends DolibarrApi
|
|||||||
$paiement->amounts = $amounts; // Array with all payments dispatching with invoice id
|
$paiement->amounts = $amounts; // Array with all payments dispatching with invoice id
|
||||||
$paiement->multicurrency_amounts = $multicurrency_amounts; // Array with all payments dispatching
|
$paiement->multicurrency_amounts = $multicurrency_amounts; // Array with all payments dispatching
|
||||||
$paiement->paiementid = $paiementid;
|
$paiement->paiementid = $paiementid;
|
||||||
$paiement->oper = dol_getIdFromCode($this->db, $paiementid, 'c_paiement', 'id', 'code', 1);
|
$paiement->paiementcode = dol_getIdFromCode($this->db, $paiementid, 'c_paiement', 'id', 'code', 1);
|
||||||
|
$paiement->oper = $paiement->paiementcode; // For backward compatibility
|
||||||
$paiement->num_payment = $num_payment;
|
$paiement->num_payment = $num_payment;
|
||||||
$paiement->note_public = $comment;
|
$paiement->note_public = $comment;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user