mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
update xpo for nov to feb
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ Route::get('/export/wallet-transactions/f614e339d7058904a831aad742e24d55', 'Expo
|
||||
|
||||
Route::get('/products', function (\App\Classes\Modules\Exports\Services\ExportsProducts $exportsProducts) {
|
||||
$bookings = Booking::where(function($query){
|
||||
return $query->whereMonth('created_at', 07);
|
||||
return $query->whereMonth('created_at', 7)->whereMonth('created_at', 8)->whereMonth('created_at', 9)->whereMonth('created_at', 10)->whereMonth('created_at', 11)->whereMonth('created_at', 12);
|
||||
})->whereDoesntHave('transactions', function($q){
|
||||
$q->where('type', TransactionType::PURCHASE_ORDER);
|
||||
$q->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED]);
|
||||
|
||||
Reference in New Issue
Block a user