mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 22:13:59 +00:00
fix 1688 xpo
This commit is contained in:
+1
-1
@@ -381,7 +381,7 @@ Route::get('/payments/manual', function(){
|
||||
|
||||
Route::get('/1688/fix', function(){
|
||||
$bookings = Booking::where('service_id', 4)->where('status', 2)->whereHas('transactions', function($query){
|
||||
return $query->where('type', TransactionType::PURCHASE_ORDER);
|
||||
return $query->where('type', TransactionType::PURCHASE_ORDER)->where('created_at', '>=', Carbon\Carbon::now()->subDay());
|
||||
})->get();
|
||||
|
||||
dd($bookings->pluck('created_at'));
|
||||
|
||||
Reference in New Issue
Block a user