detach company/dashboard after deletion
This commit is contained in:
@ -40,6 +40,8 @@ class DeleteCompany extends Job
|
||||
'recurring', 'reports', 'settings', 'taxes', 'transactions', 'transfers', 'widgets',
|
||||
]);
|
||||
|
||||
$this->company->users()->detach();
|
||||
|
||||
$this->company->delete();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user