Skip to content

Commit

Permalink
Merge pull request #8193 from atm-ph/fix_6.0_multicurrency_situation_…
Browse files Browse the repository at this point in the history
…invoice

Fix apply global progress don't update multicurrency values
  • Loading branch information
eldy committed Feb 14, 2018
2 parents 483bfb0 + c690dfb commit cf5c972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/compta/facture/class/facture.class.php
Expand Up @@ -2919,6 +2919,9 @@ function update_percent($line, $percent)
$line->total_ttc = $tabprice[2];
$line->total_localtax1 = $tabprice[9];
$line->total_localtax2 = $tabprice[10];
$line->multicurrency_total_ht = $tabprice[16];
$line->multicurrency_total_tva = $tabprice[17];
$line->multicurrency_total_ttc = $tabprice[18];
$line->update($user);
$this->update_price(1);
$this->db->commit();
Expand Down

0 comments on commit cf5c972

Please sign in to comment.