webERP Forum

Full Version: [Solved] Shipment charges: No decimals?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to add shipment charges (Here a screenshot http://i.imgur.com/6lyHFhF.png), but it only allows me to add integer, no decimals.
Thanks Gert ... you need to change line 148 of SuppShiptChgs.php to

Code:
<td><input type="text"  class="number" required="required" title="'._('The input must be non zero number').'" placeholder="'._('Non zero number').'" name="Amount" size="12" maxlength="11" value="' .  locale_number_format($_POST['Amount'],$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td>
Thank you Phil, much appreciated!