bill = $bill; } /** * Execute the job. * * @return Bill */ public function handle() { session(['deleting_bill' => true]); $this->deleteRelationships($this->bill, [ 'items', 'item_taxes', 'histories', 'transactions', 'recurring', 'totals' ]); $this->bill->delete(); session()->forget('deleting_bill'); return true; } }