<?xml version="1.0" encoding="UTF-8"?>
<!--
Posics Saleculator - Billing System.
Copyright (C) 2009 Posics
This file is part of Posics Saleculator.
-->
<output>
<display>
<line>
<text align="left" length="20">Change Sent To KOT1</text>
<text align="right" length="10">${ticket.printTotal()}</text>
</line>
<line>
<text align="center" length="20">Thank you.</text>
</line>
</display>
<ticket printer = "2">
#if ($ticket.getProperty("Delivery"))
<line size="1">
<text align="right" length="48">${ticket.printProperty("Delivery")}</text>
</line>
#end
<line></line>
<line size="1">
<text align="center" length="48" bold="true">KOT1 - Changed Items</text>
</line>
#if ($ticket.getProperty("KotNumber"))
<line size="1">
<text align="center" length="48" bold="true">${ticket.printProperty("KotNumber")}</text>
</line>
#end
<line></line>
<line>
<text align="left" length="15">Date:</text>
<text>${ticket.printDate()}</text>
</line>
#if ($ticket.getCustomer())
<line>
<text align="left" length="15">Customer:</text>
<text>${ticket.getCustomer().getName()}</text>
</line>
<line>
<text align="left" length="15"></text>
<text>${ticket.getCustomer().getSearchkey()}</text>
</line>
#end
#if ($place)
<line>
<text align="left" length="15">Table:</text>
<text>${place}</text>
</line>
#end
#if ($ticket.getProperty("ReceiptNote"))
<line>
<text>${ticket.printProperty("ReceiptNote")}</text>
</line>
#end
<line></line>
<line>
<text align="left" length="17">Item</text>
<text align="right" length="5"></text>
</line>
<line>
<text>------------------------------------------------</text>
</line>
#foreach ($ticketline in $ticket.getLines())
#if (($ticketline.getProperty("kotnum").equals("KOT1") && $ticketline.getProperty("sendstatus").equals("Cancel"))||($ticketline.getProperty("kotnum").equals("KOT1") && $ticketline.getProperty("sendstatus").equals("No")))
<line>
#if ($ticketline.getProperty("sendstatus").equals("No"))
<text align="left" length="7" bold="true">Add</text>
#else
<text align="left" length="7" bold="true">${ticketline.getProperty("sendstatus")}</text>
#end
<text align="left" length="5" bold="true">${ticketline.printMultiply()}x</text>
#if ($ticketline.isProductCom())
<text align="left" length="34">--${ticketline.printName()}</text>
#else
<text align="left" length="36" bold="true">${ticketline.printName()}</text>
#end
</line>
<!-- Add the following lines only for 2.30 Attributes -->
#if ($ticketline.productAttSetInstId)
<line>
<text align="left" length="48"> ${ticketline.productAttSetInstDesc}</text>
</line>
#end
<!-- Add the previous lines only for 2.30 Attributes -->
#end
#end
<line>
<text>------------------------------------------------</text>
</line>
<line>
<text align="left" length="15">Waiter:</text>
<text>${ticket.printUser()}</text>
</line>
<line>
<text align="left" length="15">Station:</text>
#if ($ticket.getProperty("orderfrom"))
<text>${ticket.getProperty("orderfrom")}</text>
#else
<text>${ticket.printHost()}</text>
#end
</line>
</ticket>
</output>
Leave a Reply