webERP Forum
[Solved] Shipment charges: No decimals? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: [Solved] Shipment charges: No decimals? (/showthread.php?tid=1959)



[Solved] Shipment charges: No decimals? - MacPhotoBiker - 11-14-2013

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.


RE: Shipment charges: No decimals? - phil - 11-16-2013

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>



RE: Shipment charges: No decimals? - MacPhotoBiker - 11-19-2013

Thank you Phil, much appreciated!