mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
clear test user data
This commit is contained in:
+2
-1
@@ -19,7 +19,8 @@ Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('p
|
||||
Route::get('/clear-test', function(){
|
||||
$bookings = \App\Booking::where('user_id', 1);
|
||||
foreach ($bookings as $booking){
|
||||
if($booking->invoice){
|
||||
var_dump($booking->invoice());
|
||||
if($booking->invoice()){
|
||||
// $booking->invoice->invoiceDetails->delete();
|
||||
$booking->invoice->invoiceStatuses;
|
||||
// $booking->invoice->delete();
|
||||
|
||||
Reference in New Issue
Block a user