Commit 31621745 by Jansa Jose

push

parent f157d3c3
......@@ -1558,7 +1558,7 @@ class Webservice_model extends CI_Model {
$this->db->join("mechanic_booking","mechanic_booking.booking_id = bookings.booking_id AND mechanic_booking.status='1'");
$this->db->join("mechanic","mechanic_booking.mechanic_id = mechanic.mechanic_id AND mechanic_booking.status='1'");
}
$result = $this->db->get_where('transaction',array('transaction.id'=>$transId))->row_array();
$result = $this->db->get_where('transaction',array('transaction.id'=>$transId,'transaction.payment_for'=>'1'))->row_array();
if($result){
$respArr['status'] = "success";
$respArr['data'] = $result;
......
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