From 780a5ddcfc6e2f98bfab0a29c063a216b8f14681 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 24 Sep 2021 12:38:18 +0800 Subject: [PATCH] dubug completed bookings with unapproved po's --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 1c0a69bd..1d72caef 100644 --- a/routes/web.php +++ b/routes/web.php @@ -73,7 +73,7 @@ Route::get('/mail', function () { }); Route::get('/test', function () { - Auth::login(User::findOrFail(3)); +// Auth::login(User::findOrFail(3)); dd(\App\Models\Booking::where('status', '=', \App\Classes\ValueObjects\Constants\ApprovalStatus::COMPLETED)->whereHas('transactions', function (Builder $query){ $query->where('type', '=', \App\Classes\ValueObjects\Constants\TransactionType::PURCHASE_ORDER)->where('status', '!=', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED); })->get());