From e62204da8b2df4be395de0bc56017b3dae22421b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 1 Feb 2024 10:56:31 +0100 Subject: [PATCH] Update fournisseur.facture.class.php --- htdocs/fourn/class/fournisseur.facture.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 21389d515f5..1854f05a22c 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -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;