fixed transfer delete
This commit is contained in:
@@ -25,8 +25,8 @@ class DeleteTransfer extends Job
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->deleteRelationships($this->transfer, ['expense_transaction', 'income_transaction']);
|
||||
|
||||
$this->transfer->expense_transaction->delete();
|
||||
$this->transfer->income_transaction->delete();
|
||||
$this->transfer->delete();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user