You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we run approval based on specific conditions, such as if certain model attributes match specific criteria? If they do, run approval; otherwise, do not. @ringunger
The text was updated successfully, but these errors were encountered:
Should be able to do that by just overriding the boot method in the Approvable trait.
What I did was create a new trait, extend the ringlesoft approvable trait in my trait then I override the boot method. Something like below
`
protected static function boot(): void
{
parent::boot();
Should be able to do that by just overriding the boot method in the Approvable trait. What I did was create a new trait, extend the ringlesoft approvable trait in my trait then I override the boot method. Something like below ` protected static function boot(): void { parent::boot();
Can we run approval based on specific conditions, such as if certain model attributes match specific criteria? If they do, run approval; otherwise, do not.
@ringunger
The text was updated successfully, but these errors were encountered: