From f476f52d4d9e74f09cdaed66a3a55921b60ea8b5 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 24 Sep 2021 12:41:32 +0800 Subject: [PATCH] dubug completed bookings with unapproved po's --- routes/web.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/routes/web.php b/routes/web.php index 563156b6..d912b631 100644 --- a/routes/web.php +++ b/routes/web.php @@ -68,22 +68,5 @@ Route::get('/transfer/merge/{marking}', function ($marking) { return view('pages.booking_merge', ['marking' => $marking]); })->name('booking.merge'); -Route::get('/mail', function () { - echo route('login'); -}); - -Route::get('/test', function () { - Auth::login(User::findOrFail(3)); - $bookings = \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(); - -dd($bookings); -}); - - - - - Route::get('/export/customers/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@export'); Route::get('/export/transactions/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@transactions');