Commit 93b9d39c by Jansa Jose

dc

parent b9af1141
......@@ -2783,9 +2783,9 @@
if(strtotime($current_time) > strtotime($new_time)){
if($this->db->update('transaction',array('status'=>'0'))){
if($value['payment_for'] == '1'){
$this->db->update('bookings',array('status'=>'7'));
$this->db->update('bookings',array('status'=>'7'),array('booking_id'=>$value['booking_id']));
}else{
$this->db->update('orders',array('status'=>'9'));
$this->db->update('orders',array('status'=>'9'),array('booking_id'=>$value['booking_id']));
}
}
}
......
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