Update card.php
delete empty row in select list of vats in expenses as this value is not accepted
This commit is contained in:
parent
67dbb1571c
commit
2a1ab9a8d4
@ -1829,7 +1829,6 @@ else
|
|||||||
$defaultvat=-1;
|
$defaultvat=-1;
|
||||||
if (! empty($conf->global->EXPENSEREPORT_NO_DEFAULT_VAT)) $conf->global->MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS = 'none';
|
if (! empty($conf->global->EXPENSEREPORT_NO_DEFAULT_VAT)) $conf->global->MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS = 'none';
|
||||||
print '<select class="flat" name="vatrate">';
|
print '<select class="flat" name="vatrate">';
|
||||||
print '<option name="none" value="" selected>';
|
|
||||||
print $form->load_tva('vatrate', ($vatrate!=''?$vatrate:$defaultvat), $mysoc, '', 0, 0, '', true);
|
print $form->load_tva('vatrate', ($vatrate!=''?$vatrate:$defaultvat), $mysoc, '', 0, 0, '', true);
|
||||||
print '</select>';
|
print '</select>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user