Skip to content

Commit

Permalink
FIX: Saving wrong localtax on order addline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarcet committed Nov 7, 2017
1 parent f5bc9c0 commit 7f1adc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/commande/class/commande.class.php
Expand Up @@ -1360,8 +1360,8 @@ function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1=0, $txlocaltax2=0, $f

$this->line->vat_src_code=$vat_src_code;
$this->line->tva_tx=$txtva;
$this->line->localtax1_tx=$localtaxes_type[1];
$this->line->localtax2_tx=$localtaxes_type[3];
$this->line->localtax1_tx=$txlocaltax1;
$this->line->localtax2_tx=$txlocaltax2;
$this->line->localtax1_type=$localtaxes_type[0];
$this->line->localtax2_type=$localtaxes_type[2];
$this->line->fk_product=$fk_product;
Expand Down

0 comments on commit 7f1adc6

Please sign in to comment.