public class StatisticsFormatter extends Object
Constructor and Description |
---|
StatisticsFormatter(PaymentsModel oPaymentsModel)
Create a new RegisterStatisticsFormatter instance
|
Modifier and Type | Method and Description |
---|---|
List<AccountingLineFormatter> |
getAccountingLinesByModifier(int modifierMask)
Retrieve the number of sold produkts for the given modifierMask
grouped by products.
|
List<AccountingLineFormatter> |
getAccountingLinesByProduct(int accountingLevelMask)
Retrieve the number of sold produkts for the given accountingLevelMask
grouped by products.
|
String |
printCountCloseCash()
The number of times the count dialog has been called from count cash.
|
String |
printCountCurrentCash()
The number of times the count dialog has been called from current cash.
|
String |
printCountOpenDrawer()
The number of times the drawer has been opened using the Open button (precisely:
the sales.print method has been used with a resource the name of which contains
the string 'drawer')
|
String |
printCountPayments()
The number of times the Payments dialog has been called and the drawer has
been opened during saving an entry.
|
String |
printCountReprints()
The number of label tickets that have been reprinted.
|
String |
printQuantityByAccounting(int accountingLevelMask)
Retrieve the number of sold produkts for the given accountingLevelMask.
|
public StatisticsFormatter(PaymentsModel oPaymentsModel)
oPaymentsModel
- The PaymentsModel to get the data frompublic String printCountOpenDrawer()
public String printCountCloseCash()
public String printCountCurrentCash()
public String printCountPayments()
public String printCountReprints()
public List<AccountingLineFormatter> getAccountingLinesByProduct(int accountingLevelMask)
accountingLevelMask
- public String printQuantityByAccounting(int accountingLevelMask)
accountingLevelMask
- public List<AccountingLineFormatter> getAccountingLinesByModifier(int modifierMask)
modifierMask
- Copyright © 2021. All rights reserved.