Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute coming from One2Many relationship #17

Open
claudiobrt opened this issue May 13, 2020 · 0 comments
Open

Attribute coming from One2Many relationship #17

claudiobrt opened this issue May 13, 2020 · 0 comments

Comments

@claudiobrt
Copy link

I have a Laravel 7 project which has a table Orders and a table Statuses with a OneToMany relationship and I would like to send different email notifications based on the different status_id present on the Order Model/Table.

I am struggling to understand how to use this so I was wondering if someone could please share some examples or advices on how to implement this.

Do I have to publish the package first?

Can it be used on a status_id field on the table rather than a string ?

Do I have to import the package from somewhere specific in my Model ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant