From 4cbbd3a6f731ac75b6315c080de835fefde16015 Mon Sep 17 00:00:00 2001 From: Martes Erede Date: Fri, 11 Sep 2015 16:16:34 +0800 Subject: [PATCH] [#32] using to_currency for currency values in table-data --- application/controllers/reports.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/reports.php b/application/controllers/reports.php index b734b5b3a..3c7455ccb 100644 --- a/application/controllers/reports.php +++ b/application/controllers/reports.php @@ -1001,9 +1001,9 @@ class Reports extends Secure_area $row['quantity'], $row['reorder_level'], $row['location_name'], - $row['cost_price'], - $row['unit_price'], - $row['sub_total_value']); + to_currency($row['cost_price']), + to_currency($row['unit_price']), + to_currency($row['sub_total_value'])); } $data = array(