Merge pull request #4534 from bafbes/patch-17

Delete empty row in select list of vats in expenses
This commit is contained in:
Laurent Destailleur 2016-02-02 15:10:56 +01:00
commit 47b63f7aff

View File

@ -1829,7 +1829,6 @@ else
$defaultvat=-1;
if (! empty($conf->global->EXPENSEREPORT_NO_DEFAULT_VAT)) $conf->global->MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS = 'none';
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 '</select>';
print '</td>';