Notification of deletion of unprinted dishes and current user
In API V7 we added a notification about deleting unprinted dishes
BeforeDeleteNonPrintedItems
,
and also forwarded the current user responsible for the operation being performed to some events.
Removal of unprinted dishes can be interrupted by throwing OperationCanceledException
in the handler.
A notification is generated both when you try to delete a dish from the iikoFront UI, and when you try to delete it from the API.
Notifications and methods that began to accept the input of the current user, performing a particular operation:
BeforeOrderBill
— bill of lading, printing a duplicate bill of the order;OrderBillCancelled
— cancellation of pre-check order;BeforeDeleteOrder
— deleting an order;OrderSplittedByCashRegisters
— division of an order into several cash ragisters;OrderStorned
— order cancellation;BeforeDeletePrintedItems
— deleting printed dishes in an order;BeforeDeleteNonPrintedItems
— deleting unprinted dishes in an order;ICashRegister.DoZReport
— printing a Z-report during the closing of a cash register shift on a plug-in cash register;ICashRegister.DoXReport
— printing X-report on a plug-in cash register;ICashRegister.DoOpenSession
— opening a cash register shift on a plug-in cash register;ICashRegister.OpenDrawer
- opening the cash drawer on a plug-in cash register.