mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 14:33:59 +00:00
update pending_orders, order by updated_at desc
This commit is contained in:
+1
-1
@@ -400,7 +400,7 @@ Route::get('/pending_orders', function(){
|
||||
->whereDoesntHave('transactions', function ($query) {
|
||||
return $query->where('type', TransactionType::REFUND)->whereIn('status', [ApprovalStatus::PENDING_SUBMISSION, ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED]);
|
||||
})
|
||||
// ->orderBy('updated_at', 'desc')
|
||||
->orderBy('updated_at', 'desc')
|
||||
->get();
|
||||
|
||||
echo '<table>';
|
||||
|
||||
Reference in New Issue
Block a user