Click or drag to resize

ICashRegisterDoXReport Method

Perform X-report printing operation at the cafe session opening.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
CashRegisterResult DoXReport(
	XReportTask task,
	IUser cashier,
	IViewManager viewManager
)

Parameters

task
Type: Resto.Front.Api.Data.Device.TasksXReportTask
XReportTaskTask to process.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
The cashier performing the operation.
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 opening cafe session.
See Also