From ffefea75c0bb970751a89586da4e8b0d6d017f2a Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sat, 22 Jan 2022 14:00:13 +0800 Subject: [PATCH] fix duplicated bill plz problem --- routes/web.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/routes/web.php b/routes/web.php index 5115d518..089d7f36 100644 --- a/routes/web.php +++ b/routes/web.php @@ -88,9 +88,9 @@ Route::get('/products', function (\App\Classes\Modules\Exports\Services\ExportsP })->name('products.random'); -Route::get('/duplicated_bills', function (Request $request) { - Auth()->login(User::find(1)); - $bookings = Booking::whereIn('id', [10391, 10275, 10109, 10108, 10070, 10066, 10063, 9801, 9166, 8895, 8790, 8544, 8264, 6957, 5409, 4717])->with('transactions')->pluck('marking'); - dd($bookings); - -})->name('x2.data'); \ No newline at end of file +//Route::get('/duplicated_bills', function (Request $request) { +// Auth()->login(User::find(1)); +// $bookings = Booking::whereIn('id', [10391, 10275, 10109, 10108, 10070, 10066, 10063, 9801, 9166, 8895, 8790, 8544, 8264, 6957, 5409, 4717])->with('transactions')->pluck('marking'); +// dd($bookings); +// +//})->name('x2.data'); \ No newline at end of file