revers relation changes..
This commit is contained in:
		| @@ -23,7 +23,7 @@ class Accounts extends Controller | ||||
|      */ | ||||
|     public function index() | ||||
|     { | ||||
|         $accounts = Account::with('transactions')->collect(); | ||||
|         $accounts = Account::with('income_transactions', 'expense_transactions')->collect(); | ||||
|  | ||||
|         return $this->response('banking.accounts.index', compact('accounts')); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user