Mail: [email protected]
Phone: +1(424)231-4091
Everything you need to know about NexoPOS.
On every request made to a Crud resource, NexoPOS triggers a CrudHookEvent, this event provides 2 parameters:
The purpose of this event is to allow any source (modules, core) to interact with how the query is built for a specific crud instance. This can be useful to apply additional filters or additional jointure.
On the following example, we'll create an even listener that will filter all orders, to only display those created by the logged user.