If multiprice level is used the VAT on addline is not correct

This commit is contained in:
Florian HENRY
2014-06-18 10:56:38 +02:00
parent 7f92031583
commit 0645189432
4 changed files with 7 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ Fix: Do not display dictionnay for non activated module
Fix: Link element from element project pages
Fix: [ bug #1349 ] AJAX contact selector does not work fine in Project card
Fix: [ bug #1452 ] variable used but not defined
Fix: If multiprice level is used the VAT on addline is not correct
***** ChangeLog for 3.5.3 compared to 3.5.2 *****
Fix: Error on field accountancy code for export profile of invoices.

View File

@@ -738,6 +738,8 @@ else if (($action == 'addline' || $action == 'addline_predef') && $user->rights-
$pu_ttc = $prod->multiprices_ttc[$object->client->price_level];
$price_min = $prod->multiprices_min[$object->client->price_level];
$price_base_type = $prod->multiprices_base_type[$object->client->price_level];
$tva_tx=$prod->multiprices_tva_tx[$object->client->price_level];
$tva_npr ==$prod->multiprices_recuperableonly[$object->client->price_level];
}
else
{

View File

@@ -686,6 +686,8 @@ else if ($action == 'addline' && $user->rights->commande->creer)
$pu_ttc = $prod->multiprices_ttc[$object->client->price_level];
$price_min = $prod->multiprices_min[$object->client->price_level];
$price_base_type = $prod->multiprices_base_type[$object->client->price_level];
$tva_tx=$prod->multiprices_tva_tx[$object->client->price_level];
$tva_npr ==$prod->multiprices_recuperableonly[$object->client->price_level];
}
else
{

View File

@@ -1259,6 +1259,8 @@ else if (($action == 'addline' || $action == 'addline_predef') && $user->rights-
$pu_ttc = $prod->multiprices_ttc[$object->client->price_level];
$price_min = $prod->multiprices_min[$object->client->price_level];
$price_base_type = $prod->multiprices_base_type[$object->client->price_level];
$tva_tx=$prod->multiprices_tva_tx[$object->client->price_level];
$tva_npr ==$prod->multiprices_recuperableonly[$object->client->price_level];
}
else
{