mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
If multiprice level is used the VAT on addline is not correct
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user