Commit 267f217d by Jansa Jose

promo

parent eec037d7
......@@ -2301,7 +2301,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$res = $this->db->get()->result();
foreach ($res as $key => $values) {
$new_fee = $values->fee - ($values->fee * $query->amount/100);
$values->fee = $new_fee;
$values->fee = (string)$new_fee;
$new_array[] = $values;
}
$result = array("status"=>"success","data"=>$new_array);
......
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