Commit f4ae48c5 by Jansa Jose

medical

parent 06035eaf
......@@ -3226,7 +3226,7 @@ class Webservice_model extends CI_Model {
$budgt[$key]['item'] = $value->procedure;
$budgt[$key]['quantity'] = $value->quantity;
$budgt[$key]['amount'] = $value->amount;
$sum = $sum + $value->amount;
$sum = $sum + ($value->amount * $value->quantity);
}
$budget['total'] = $sum;
$budget['bill_items'] = $budgt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment