Update fournisseur.facture.class.php

This commit is contained in:
Laurent Destailleur 2024-02-01 10:56:31 +01:00 committed by GitHub
parent 8bf313cb8c
commit e62204da8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -954,7 +954,7 @@ class FactureFournisseur extends CommonInvoice
$this->author = $obj->fk_user_author; // deprecated
$this->user_validation_id = $obj->fk_user_valid;
$this->fk_facture_source = $obj->fk_facture_source;
$this->vat_reverse_charge = empty($obj->vat_reverse_charge) ? false : true;
$this->vat_reverse_charge = empty($obj->vat_reverse_charge) ? 0 : 1;
$this->fk_fac_rec_source = $obj->fk_fac_rec_source;
$this->fk_project = $obj->fk_project;
$this->cond_reglement_id = $obj->fk_cond_reglement;