Search posts, tags, users, and pages
How can we "fake" belongs-to-through relations in Laravel using a native has-one-through relationship.
Amadeusz Annissimo
@amade · Tallinn, Estonia
Technical Co-Founder
Markdown supported · ⌘↵ to post
Cyril Fehintoluwa
Thanks for the great article, needed this about a month ago or so.
But here
'invoice_id', // refers to invoice_id column on customers table
I think you meant on the credit_notes table, right?
Thank you for reading the article and the comment :) You're right, I just fixed it.
Cyril Fehintoluwa
Thanks for the great article, needed this about a month ago or so.
But here
'invoice_id', // refers to invoice_id column on customers tableI think you meant on the credit_notes table, right?