fix: include 'commande' in bank account PDF substitution variables (#38933)
* fix: include 'commande' in bank account PDF substitution variables Fixes #38927 * fix: include 'commande' in bank account PDF substitution variables Fixes #38927
This commit is contained in:
parent
3909133280
commit
ec334c6bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ abstract class CommonDocGenerator
|
|||
$array_key.'_remain_to_pay' => price2num($object->total_ttc - $already_payed_all, 'MT')
|
||||
);
|
||||
|
||||
if (in_array($object->element, array('facture', 'invoice', 'supplier_invoice', 'facture_fournisseur'))) {
|
||||
if (in_array($object->element, array('facture', 'invoice', 'supplier_invoice', 'facture_fournisseur', 'commande'))) {
|
||||
$bank_account = null;
|
||||
|
||||
if (property_exists($object, 'fk_account') && $object->fk_account > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue