fix: Expense report line, on update qty can be decimal

This commit is contained in:
Florian HENRY 2021-07-26 15:43:57 +02:00
parent debcef9b55
commit a7f55f4778

View File

@ -2314,7 +2314,7 @@ if ($action == 'create')
// Quantity
print '<td class="right">';
print '<input type="number" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />';
print '<input type="text" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />';
print '</td>';
//print '<td class="right">'.$langs->trans('AmountHT').'</td>';