Click or drag to resize

ICashRegisterDoZReport Method

Perform Z-report printing operation at the cafe session closing.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
CashRegisterResult DoZReport(
	ICafeSession cafeSession,
	ZReportTask task,
	IUser cashier,
	IViewManager viewManager
)

Parameters

cafeSession
Type: Resto.Front.Api.Data.DeviceICafeSession
The cafe session to be closed.
task
Type: Resto.Front.Api.Data.Device.TasksZReportTask
ZReportTaskTask to process.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
Cashier.
viewManager
Type: Resto.Front.Api.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns.

Return Value

Type: CashRegisterResult
State of the cash register: sums, vat, sale number and other.
Exceptions
ExceptionCondition
DeviceExceptionException to notify that device actions was not successful.
Remarks
Called at the cafe session closing.
See Also