mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-21 21:34:16 +00:00
clear test user data
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ Route::get('/clear-test', function(){
|
||||
foreach ($bookings as $booking){
|
||||
if($booking->invoice){
|
||||
// $booking->invoice->invoiceDetails->delete();
|
||||
$booking->invoice->invoiceStatuses->delete();
|
||||
$booking->invoice->invoiceStatuses;
|
||||
// $booking->invoice->delete();
|
||||
}
|
||||
// if($booking->supplierBooking) { $booking->supplierBooking->delete(); }
|
||||
|
||||
Reference in New Issue
Block a user