Closed kiru1978 closed 4 years ago
@kiru1978 https://github.com/kiru1978
You can use the same way as its shown in the given link.
That is working example.
On Thu, Oct 31, 2019 at 1:40 PM CarmineDamore78 notifications@github.com wrote:
Hi @sunel https://github.com/sunel Thanks for your very fast reply. I don't use the belongToMany method. I used the belongTo method my relationship is one to many One Customer has many Quotes.
Thanks again for your reply Carmine
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sunel/eav/issues/37?email_source=notifications&email_token=AAHWQ4KXBSIGCS42FRLQMMDQRKHJDA5CNFSM4JHBGO42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECW4EJA#issuecomment-548258340, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHWQ4IXVUZZCZVVOHGKVXDQRKHJDANCNFSM4JHBGO4Q .
-- Regards, Sunel TR
Hi I have that 2 classes Quotes (Eloquent Model) and Customer (EAV Model) I created a relationship one to many from Customer to Quote using the hasMany method for the Customer Class and belongsTo for the Quotes Class. Ho can I get the customer value attributes inside the quote?.
Thanks Carmine