public class KitchenLineFormatter extends TicketLineFormatter
contentLogger, debugLogger, line, logger
Constructor and Description |
---|
KitchenLineFormatter(TicketLine line)
Create a instance of KitchenLineFormatter
|
Modifier and Type | Method and Description |
---|---|
String |
getCompanyData(String element)
Retrieve elements from the CompanyData.xml ressource.
|
Integer |
getTotalPerProductOrdered()
Get the total number of lines referring to the same product as the
current line.
|
String |
printCourse()
Print the course number.
|
void |
refreshCompanyData()
Reread the company data resource.
|
createSurfAccount, getAmount, getBarcode, getCategoryVisibleId, getComment, getDescription, getDescriptionWithComment, getDiscount, getGrossPriceSell, getItemsPrinted, getModifiers, getOrderPrinted, getParentTicket, getPlace, getPriceSell, getPriceSellTax, getPrivComment, getProduct, getPubComment, getReference, getReservationStart, getSubTotal, getTax, getTaxes, getTaxName, getTaxRate, getTotal, getTotalOrig, hasAccountingLevels, hasModifiers, isCoupon, isProductCom, isScaleProduct, log, logLine, printAmount, printBarcode, printComment, printCreatedAt, printDescription, printDescriptionWithComment, printDiscount, printDiscountPercent, printNextReservationStart, printPlace, printPriceSell, printPriceSellTax, printPrivComment, printPubComment, printReference, printReservationDate, printReservationDate, printReservationEnd, printReservationStart, printReservationStart, printsAmount, printsDiscount, printSeat, printsPriceSell, printsPriceSellTax, printsSubTotal, printStatus, printsTotal, printSubTotal, printTaxRate, printTotal, printUpdatedAt, setItemsPrinted, setOrderPrinted, setStatusOrdered, setStatusPreparing, setStatusServing
public KitchenLineFormatter(TicketLine line)
line
- public String printCourse()
public Integer getTotalPerProductOrdered()
public String getCompanyData(String element)
element
- public void refreshCompanyData()
Copyright © 2021. All rights reserved.