Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Shipment charges: No decimals?
11-14-2013, 05:06 AM (This post was last modified: 11-19-2013 03:28 PM by MacPhotoBiker.)
Post: #1
[Solved] Shipment charges: No decimals?
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.

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
11-16-2013, 09:31 AM
Post: #2
RE: Shipment charges: 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>

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
11-19-2013, 03:27 PM
Post: #3
RE: Shipment charges: No decimals?
Thank you Phil, much appreciated!

MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)