Merge pull request #18241 from FHenry/fix_numbertotext_ndf

fix: expense report line, on update qty must/can be decimal
This commit is contained in:
Laurent Destailleur 2021-07-28 19:31:16 +02:00 committed by GitHub
commit 03ac579b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>';