[Vtigercrm-commits] [vtiger development] #5145: Product Unit Price ending in zero ($2.10) only shows as $2.1
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Oct 3 14:09:00 UTC 2013
#5145: Product Unit Price ending in zero ($2.10) only shows as $2.1
--------------------------+---------------------
Reporter: shahulhameed | Owner: shahul
Type: defect | Status: new
Priority: minor | Milestone:
Component: vtigercrm | Version: 5.0.4
Severity: Medium | Resolution:
Keywords: Products |
--------------------------+---------------------
Changes (by alanlord):
* severity: => Medium
Comment:
I can't believe this is still open after all these years.
The fix is not as described above.
The fix required is in include/utils/DetailViewUtils.php around line 1256
(for vtiger 5.4.0).
change the line to return a number_format:
$total = number_format($qty * $listprice, 2);
instead of
$total = $qty * $listprice;
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5145#comment:8>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list