Ask, reply and learn. Join the community of Akaunting.
Is there a way to do the following in modules without affecting core files?
1. New column in core tables
2. New relationship from new Model to core Model
Instead of changing the core, you should extend it. Create a new table listen to the Eloquent events https://laravel.com/docs/5.4/eloquent#events
Yeah, found out the observer way so i guess this is the only way to do it.
The retrieved event, only is available in laravel 5.5, is an usefull event :(
Showing 1 to 4 of 4 discussions