diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 4b27e2f..38e817d 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -285,7 +285,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES)) // TVA if ($i == 1) // We show only price for level 1 { - print ''.$langs->trans("VATRate").''.vatrate($object->multiprices_tva_tx[1],true).''; + print ''.$langs->trans("VATRate").''.vatrate($object->multiprices_tva_tx[1],true, $object->multiprices_recuperableonly[1]).''; } print ''.$langs->trans("SellingPrice").' '.$i.''; @@ -609,12 +609,12 @@ if ($action == 'edit_price' && ($user->rights->produit->creer || $user->rights-> if ($i == 1) { print ''.$langs->trans("VATRate").''; - print $form->load_tva("tva_tx_".$i,$object->multiprices_tva_tx["$i"],$mysoc,'',$object->id); + print $form->load_tva("tva_tx_".$i,$object->multiprices_tva_tx["$i"],$mysoc,'',$object->id,$object->multiprices_recuperableonly["$i"]); print ''; } else { // We always use the vat rate of price level 1 (A vat rate does not depends on customer) - print ''; + print ''; } // Selling price