keep vat input with multiprices product creation

This commit is contained in:
Frédéric FRANCE 2017-10-19 18:33:15 +02:00 committed by GitHub
parent d4ade7b935
commit 5afd2695fb

View File

@ -1114,6 +1114,14 @@ else
{
// We do no show price array on create when multiprices enabled.
// We must set them on prices tab.
print '<table class="border" width="100%">';
// VAT
print '<tr><td class="titlefieldcreate">' . $langs->trans("VATRate") . '</td><td>';
$defaultva = get_default_tva($mysoc, $mysoc);
print $form->load_tva("tva_tx", $defaultva, $mysoc, $mysoc, 0, 0, '', false, 1);
print '</td></tr>';
print '</table>';
print '<br>';
}
else
{