save repeater data in pivot table
I have purchases table where will be many brands with amount and im using repeater for form. so for that i decide to make pivot table to save brand id and brand amount in another pivote table. i cant find same example or solution.. how its be good to do?
4 Replies
like i have this inside the purchase model
and also repeater looks like this
and where i should create pivot class?
idk i try many way just everytime i get silly things.. thats means im not doing right way
any ideas?
Read this carefully. You need to create new model for the pivot table and use that relationship name for the repeater. Follow step by step according to your needs.
yep i did it alrready thanks
when i read carefully its worked d