Fix: empty local tax
This commit is contained in:
parent
f801c7463c
commit
6acf25958e
@ -2595,6 +2595,8 @@ class OrderLine
|
|||||||
if (empty($this->tva_tx)) $this->tva_tx=0;
|
if (empty($this->tva_tx)) $this->tva_tx=0;
|
||||||
if (empty($this->localtax1_tx)) $this->localtax1_tx=0;
|
if (empty($this->localtax1_tx)) $this->localtax1_tx=0;
|
||||||
if (empty($this->localtax2_tx)) $this->localtax2_tx=0;
|
if (empty($this->localtax2_tx)) $this->localtax2_tx=0;
|
||||||
|
if (empty($this->total_localtax1)) $this->total_localtax1=0;
|
||||||
|
if (empty($this->total_localtax2)) $this->total_localtax2=0;
|
||||||
if (empty($this->rang)) $this->rang=0;
|
if (empty($this->rang)) $this->rang=0;
|
||||||
if (empty($this->remise)) $this->remise=0;
|
if (empty($this->remise)) $this->remise=0;
|
||||||
if (empty($this->remise_percent)) $this->remise_percent=0;
|
if (empty($this->remise_percent)) $this->remise_percent=0;
|
||||||
|
|||||||
@ -3179,6 +3179,8 @@ class FactureLigne
|
|||||||
if (empty($this->tva_tx)) $this->tva_tx=0;
|
if (empty($this->tva_tx)) $this->tva_tx=0;
|
||||||
if (empty($this->localtax1_tx)) $this->localtax1_tx=0;
|
if (empty($this->localtax1_tx)) $this->localtax1_tx=0;
|
||||||
if (empty($this->localtax2_tx)) $this->localtax2_tx=0;
|
if (empty($this->localtax2_tx)) $this->localtax2_tx=0;
|
||||||
|
if (empty($this->total_localtax1)) $this->total_localtax1=0;
|
||||||
|
if (empty($this->total_localtax2)) $this->total_localtax2=0;
|
||||||
if (empty($this->rang)) $this->rang=0;
|
if (empty($this->rang)) $this->rang=0;
|
||||||
if (empty($this->remise)) $this->remise=0;
|
if (empty($this->remise)) $this->remise=0;
|
||||||
if (empty($this->remise_percent)) $this->remise_percent=0;
|
if (empty($this->remise_percent)) $this->remise_percent=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user