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.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
CashRegisterResult DoZReport(
	ICafeSession cafeSession,
	IUser cashier,
	bool printEklzReport,
	IViewManager viewManager
)

Parameters

cafeSession
Type: Resto.Front.Api.Data.DeviceICafeSession
The cafe session to be closed.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
The cashier performing the operation.
printEklzReport
Type: SystemBoolean
True, if need to print a cafe session settlement status report.
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