This happens because the Restaurant departments To GO Orders entity screen is set to Customers. But the mapping inside is set to Restaurant for Department and Ticket for the Ticket.
Then how is it displaying a ticket from Delivery Department?
The Ticket lister has state Unpaid in settings, but should it not restrict itself to unpaid tickets in Restaurant Department?
It is already setup like that. That’s why I am confused.
Restaurant -> Ticket
Delivery -> Delivery Ticket
Mapping of the Lister widget is also set to Restaurant department and Ticket. But the entity type is Customer which is shared between both departments.
And the Lister is technically showing an Unpaid ticket. Only problem is that the Unpaid ticket is in Delivery department, while the Lister is in Restaurant department.