CHANGE_LISTING_ORDER_IN_PAYMENT_STATUS
This commit is contained in:
parent
6bbb97f1ec
commit
c9596d7af6
@ -46,6 +46,7 @@ class PaymentStatusModel extends Model
|
||||
}
|
||||
|
||||
$builder->where('payment_status.is_active',1);
|
||||
$builder->orderBy('payment_status.created_at','desc');
|
||||
$data = $builder->get()->getResultArray();
|
||||
// log_message('error',json_encode($this->db->getLastQuery()->getQuery()));
|
||||
return $data; // Fetch and return as an array
|
||||
|
||||
Loading…
Reference in New Issue
Block a user