You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quantity can be decimal in expens reports line on addnewline action but not on editline action
Environment
Version: tested V12.x V13.X
/expensereport/card.php
in action addnewline, the field is: print '<input type="text" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($qty ? $qty : 1).'">'; // We must be able to enter decimal qty
-> in action editline: print '<input type="number" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />';
should be print '<input type="text" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />'; // We must be able to enter decimal qty
The text was updated successfully, but these errors were encountered:
Arre8
added
the
Bug
This is a bug (something does not work as expected)
label
Feb 1, 2021
I think, this issue should be re-opened, IF it is still a bug. But is it indeed the case? Last year you just asked. It would be helpful to check in the current release and re-open only, if it is still relevant.
Bug
quantity can be decimal in expens reports line on addnewline action but not on editline action
Environment
in action addnewline, the field is:
print '<input type="text" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($qty ? $qty : 1).'">'; // We must be able to enter decimal qty
-> in action editline:
print '<input type="number" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />';
should be
print '<input type="text" min="0" class="right maxwidth50" name="qty" value="'.dol_escape_htmltag($line->qty).'" />'; // We must be able to enter decimal qty
The text was updated successfully, but these errors were encountered: