Isn't the problem just that bank_acount_id is ambiguous?
No, the problem is:
Unknown column 'bank_accounts.id' in 'where clause'
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community