clear test user data

This commit is contained in:
omair saleh
2020-09-29 13:32:07 +08:00
parent a2ac5e7bf5
commit 32f3f582b4
+3 -1
View File
@@ -18,7 +18,9 @@ Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
Route::get('/clear-test', function(){
$bookings = \App\Booking::where('user_id', 1)->get();
dd($bookings);
foreach ($bookings as $booking){
dd($booking->invoices);
}
});
Route::get('/po-approval', function(){