update xpo for nov to feb

This commit is contained in:
omair saleh
2022-04-05 16:21:11 +08:00
parent 9d7f2cd967
commit b67f0f3081
+1 -1
View File
@@ -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]);