Merge pull request #21266 from fboitel/fboitel-dev-scrutinizer-010

BUG FIX Class PaiementFourn does not contain oper property anymore
This commit is contained in:
Laurent Destailleur 2022-06-14 20:54:46 +02:00 committed by GitHub
commit 0ab03ce787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,7 +473,6 @@ class SupplierInvoices extends DolibarrApi
$paiement->multicurrency_amounts = $multicurrency_amounts; // Array with all payments dispatching
$paiement->paiementid = $payment_mode_id;
$paiement->paiementcode = dol_getIdFromCode($this->db, $payment_mode_id, 'c_paiement', 'id', 'code', 1);
$paiement->oper = $paiement->paiementcode; // For backward compatibility
$paiement->num_payment = $num_payment;
$paiement->note_public = $comment;