Merge pull request #23048 from FliyFly/ScrutinizerPrice

Fix(scrutinizer) Price
This commit is contained in:
Laurent Destailleur 2023-03-22 10:46:29 +01:00 committed by GitHub
commit 2c3d872377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
// VAT
print '<tr><td>'.$langs->trans("VATRate").'</td><td>';
print $form->load_tva("tva_tx", $object->tva_tx, $mysoc, '', $object->id, $object->tva_npr, '', false, 1);
print $form->load_tva("tva_tx", GETPOST("tva_tx", "alpha"), $mysoc, '', $object->id, 0, '', false, 1);
print '</td></tr>';
// Price base
@ -329,7 +329,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
print $langs->trans('PriceBase');
print '</td>';
print '<td>';
print $form->selectPriceBaseType($object->price_base_type, "price_base_type");
print $form->selectPriceBaseType(GETPOST("price_base_type", "aZ09"), "price_base_type");
print '</td>';
print '</tr>';