TavernerPOS - Source Code
Clone:
git clone http://www.librarysmith.co.uk/tavernerPOS
viewgit/viewgit/inc/functions.php:49 Function create_function() is deprecated [8192]Added drawer kick to draw pull, payout, cash drop and draw assignments.
diff --git a/config/printerlayouts/drawer-pull-report.jasper b/config/printerlayouts/drawer-pull-report.jasper
new file mode 100755
index 0000000..6941400
Binary files /dev/null and b/config/printerlayouts/drawer-pull-report.jasper differ
diff --git a/config/printerlayouts/drawer-pull-report.jrxml b/config/printerlayouts/drawer-pull-report.jrxml
new file mode 100755
index 0000000..d3413a1
--- /dev/null
+++ b/config/printerlayouts/drawer-pull-report.jrxml
@@ -0,0 +1,768 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="DrawerPullJReport" pageWidth="136" pageHeight="550" columnWidth="136" leftMargin="0" rightMargin="0" topMargin="1" bottomMargin="1" isIgnorePagination="true">
+ <property name="ireport.scriptlethandling" value="0"/>
+ <property name="ireport.encoding" value="UTF-8"/>
+ <property name="ireport.zoom" value="1.0"/>
+ <property name="ireport.x" value="0"/>
+ <property name="ireport.y" value="0"/>
+ <import value="net.sf.jasperreports.engine.*"/>
+ <import value="java.util.*"/>
+ <import value="net.sf.jasperreports.engine.data.*"/>
+ <parameter name="netSales" class="java.lang.String" isForPrompting="false"/>
+ <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
+ <defaultValueExpression><![CDATA["/home/mshahriar/workspace/floreantpos/src/com/floreantpos/report/"]]></defaultValueExpression>
+ </parameter>
+ <parameter name="subreportParameter" class="net.sf.jasperreports.engine.JasperReport" isForPrompting="false"/>
+ <parameter name="headerLine1" class="java.lang.String" isForPrompting="false"/>
+ <parameter name="totalVoid" class="java.lang.Double" isForPrompting="false"/>
+ <parameter name="user" class="java.lang.String" isForPrompting="false"/>
+ <parameter name="terminal" class="java.lang.String" isForPrompting="false"/>
+ <parameter name="date" class="java.util.Date" isForPrompting="false"/>
+ <queryString>
+ <![CDATA[]]>
+ </queryString>
+ <field name="totalDiscountSales" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalDiscountSales]]></fieldDescription>
+ </field>
+ <field name="creditCardReceiptAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[creditCardReceiptAmount]]></fieldDescription>
+ </field>
+ <field name="giftCertReturnCount" class="java.lang.Integer">
+ <fieldDescription><![CDATA[giftCertReturnCount]]></fieldDescription>
+ </field>
+ <field name="payOutNumber" class="java.lang.Integer">
+ <fieldDescription><![CDATA[payOutNumber]]></fieldDescription>
+ </field>
+ <field name="cashReceiptAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[cashReceiptAmount]]></fieldDescription>
+ </field>
+ <field name="beginCash" class="java.lang.Double">
+ <fieldDescription><![CDATA[beginCash]]></fieldDescription>
+ </field>
+ <field name="totalDiscountRatio" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalDiscountRatio]]></fieldDescription>
+ </field>
+ <field name="chargedTips" class="java.lang.Double">
+ <fieldDescription><![CDATA[chargedTips]]></fieldDescription>
+ </field>
+ <field name="payOutAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[payOutAmount]]></fieldDescription>
+ </field>
+ <field name="totalDiscountPartySize" class="java.lang.Integer">
+ <fieldDescription><![CDATA[totalDiscountPartySize]]></fieldDescription>
+ </field>
+ <field name="cashTips" class="java.lang.Double">
+ <fieldDescription><![CDATA[cashTips]]></fieldDescription>
+ </field>
+ <field name="totalDiscountPercentage" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalDiscountPercentage]]></fieldDescription>
+ </field>
+ <field name="creditCardReceiptNumber" class="java.lang.Integer">
+ <fieldDescription><![CDATA[creditCardReceiptNumber]]></fieldDescription>
+ </field>
+ <field name="drawerBleedNumber" class="java.lang.Integer">
+ <fieldDescription><![CDATA[drawerBleedNumber]]></fieldDescription>
+ </field>
+ <field name="cashToDeposit" class="java.lang.Double">
+ <fieldDescription><![CDATA[cashToDeposit]]></fieldDescription>
+ </field>
+ <field name="grossReceipts" class="java.lang.Double">
+ <fieldDescription><![CDATA[grossReceipts]]></fieldDescription>
+ </field>
+ <field name="giftCertChangeAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[giftCertChangeAmount]]></fieldDescription>
+ </field>
+ <field name="totalVoid" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalVoid]]></fieldDescription>
+ </field>
+ <field name="drawerAccountable" class="java.lang.Double">
+ <fieldDescription><![CDATA[drawerAccountable]]></fieldDescription>
+ </field>
+ <field name="tipsDifferential" class="java.lang.Double">
+ <fieldDescription><![CDATA[tipsDifferential]]></fieldDescription>
+ </field>
+ <field name="totalDiscountAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalDiscountAmount]]></fieldDescription>
+ </field>
+ <field name="receiptDifferential" class="java.lang.Double">
+ <fieldDescription><![CDATA[receiptDifferential]]></fieldDescription>
+ </field>
+ <field name="tipsPaid" class="java.lang.Double">
+ <fieldDescription><![CDATA[tipsPaid]]></fieldDescription>
+ </field>
+ <field name="giftCertReturnAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[giftCertReturnAmount]]></fieldDescription>
+ </field>
+ <field name="variance" class="java.lang.Double">
+ <fieldDescription><![CDATA[variance]]></fieldDescription>
+ </field>
+ <field name="salesTax" class="java.lang.Double">
+ <fieldDescription><![CDATA[salesTax]]></fieldDescription>
+ </field>
+ <field name="netSales" class="java.lang.Double">
+ <fieldDescription><![CDATA[netSales]]></fieldDescription>
+ </field>
+ <field name="totalRevenue" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalRevenue]]></fieldDescription>
+ </field>
+ <field name="terminal" class="com.floreantpos.model.Terminal">
+ <fieldDescription><![CDATA[terminal]]></fieldDescription>
+ </field>
+ <field name="debitCardReceiptAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[debitCardReceiptAmount]]></fieldDescription>
+ </field>
+ <field name="totalVoidWst" class="java.lang.Double">
+ <fieldDescription><![CDATA[totalVoidWst]]></fieldDescription>
+ </field>
+ <field name="totalDiscountGuest" class="java.lang.Integer">
+ <fieldDescription><![CDATA[totalDiscountGuest]]></fieldDescription>
+ </field>
+ <field name="reg" class="java.lang.String">
+ <fieldDescription><![CDATA[reg]]></fieldDescription>
+ </field>
+ <field name="class" class="java.lang.Class">
+ <fieldDescription><![CDATA[class]]></fieldDescription>
+ </field>
+ <field name="id" class="java.lang.Integer">
+ <fieldDescription><![CDATA[id]]></fieldDescription>
+ </field>
+ <field name="debitCardReceiptNumber" class="java.lang.Integer">
+ <fieldDescription><![CDATA[debitCardReceiptNumber]]></fieldDescription>
+ </field>
+ <field name="drawerBleedAmount" class="java.lang.Double">
+ <fieldDescription><![CDATA[drawerBleedAmount]]></fieldDescription>
+ </field>
+ <field name="cashTax" class="java.lang.Double">
+ <fieldDescription><![CDATA[cashTax]]></fieldDescription>
+ </field>
+ <field name="ticketCount" class="java.lang.Integer">
+ <fieldDescription><![CDATA[ticketCount]]></fieldDescription>
+ </field>
+ <field name="totalDiscountCount" class="java.lang.Integer">
+ <fieldDescription><![CDATA[totalDiscountCount]]></fieldDescription>
+ </field>
+ <field name="totalDiscountCheckSize" class="java.lang.Integer">
+ <fieldDescription><![CDATA[totalDiscountCheckSize]]></fieldDescription>
+ </field>
+ <field name="cashReceiptNumber" class="java.lang.Integer">
+ <fieldDescription><![CDATA[cashReceiptNumber]]></fieldDescription>
+ </field>
+ <field name="cashBack" class="java.lang.Double">
+ <fieldDescription><![CDATA[cashBack]]></fieldDescription>
+ </field>
+ <field name="reportTime" class="java.util.Date">
+ <fieldDescription><![CDATA[reportTime]]></fieldDescription>
+ </field>
+ <field name="voidTickets" class="java.util.Set">
+ <fieldDescription><![CDATA[voidTickets]]></fieldDescription>
+ </field>
+ <background>
+ <band splitType="Stretch"/>
+ </background>
+ <title>
+ <band height="78" splitType="Stretch">
+ <textField isBlankWhenNull="true">
+ <reportElement key="textField-12" x="0" y="0" width="134" height="18" isRemoveLineWhenBlank="true"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center" verticalAlignment="Middle">
+ <font size="11" isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine1}]]></textFieldExpression>
+ </textField>
+ <textField isBlankWhenNull="true">
+ <reportElement key="textField-12" x="0" y="19" width="134" height="18" isRemoveLineWhenBlank="true"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center" verticalAlignment="Middle">
+ <font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[$P{terminal}]]></textFieldExpression>
+ </textField>
+ <textField isBlankWhenNull="true">
+ <reportElement key="textField-12" x="0" y="55" width="134" height="18" isRemoveLineWhenBlank="true"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center" verticalAlignment="Middle">
+ <font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <textFieldExpression class="java.util.Date"><![CDATA[$P{date}]]></textFieldExpression>
+ </textField>
+ <textField isBlankWhenNull="true">
+ <reportElement key="textField-12" x="0" y="37" width="134" height="18" isRemoveLineWhenBlank="true"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center" verticalAlignment="Middle">
+ <font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[$P{user}]]></textFieldExpression>
+ </textField>
+ </band>
+ </title>
+ <pageHeader>
+ <band splitType="Stretch"/>
+ </pageHeader>
+ <columnHeader>
+ <band splitType="Stretch"/>
+ </columnHeader>
+ <detail>
+ <band height="498" splitType="Stretch">
+ <staticText>
+ <reportElement key="staticText-1" x="0" y="7" width="135" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center">
+ <font isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <text><![CDATA[SALES BALANCE]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-2" x="0" y="27" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[ NET SALES]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-3" x="0" y="72" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+CHARGED TIPS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-4" x="0" y="57" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[=TOTAL REVENUES]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-5" x="0" y="42" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+SALS TAX]]></text>
+ </staticText>
+ <line>
+ <reportElement key="line-1" x="0" y="88" width="135" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineStyle="Solid"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement key="staticText-6" x="-1" y="90" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[=GROSS RECEIPTS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-7" x="0" y="112" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-CASH RECEIPTS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-9" x="0" y="142" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-DEBIT CARDS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-10" x="0" y="127" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-CREDIT CARDS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-8" x="0" y="157" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-GIFT RETURNS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-12" x="0" y="172" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+GIFT CERT. CHANGE]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-14" x="0" y="187" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+CASH BACK]]></text>
+ </staticText>
+ <line>
+ <reportElement key="line-3" x="0" y="202" width="135" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineStyle="Solid"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement key="staticText-15" x="-1" y="204" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[=RECEIPT DIFFERENTIAL]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-16" x="0" y="226" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+CHARGED TIPS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-17" x="0" y="241" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-TIPS PAID]]></text>
+ </staticText>
+ <line>
+ <reportElement key="line-4" x="0" y="256" width="135" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineStyle="Solid"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement key="staticText-18" x="-1" y="258" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[=TIPS DIFFERENTIAL]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-19" x="0" y="437" width="135" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center">
+ <font isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <text><![CDATA[EXCEPTIONS]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-20" x="0" y="302" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[ CASH]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-21" x="0" y="347" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-CASH BACK]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-22" x="0" y="332" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-PAY OUT]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-23" x="0" y="317" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-TIPS PAID]]></text>
+ </staticText>
+ <line>
+ <reportElement key="line-5" x="0" y="392" width="135" height="1"/>
+ <graphicElement>
+ <pen lineWidth="0.5" lineStyle="Solid"/>
+ </graphicElement>
+ </line>
+ <staticText>
+ <reportElement key="staticText-24" x="-1" y="362" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[+BEGIN CASH]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-25" x="0" y="394" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[=DRAWER ACCOUNTABLE]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-26" x="0" y="377" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[-DRAWER BLEED]]></text>
+ </staticText>
+ <staticText>
+ <reportElement key="staticText-27" x="0" y="409" width="76" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement verticalAlignment="Middle">
+ <font size="7"/>
+ </textElement>
+ <text><![CDATA[>CASH TO DEPOSIT]]></text>
+ </staticText>
+ <subreport>
+ <reportElement x="0" y="456" width="136" height="38"/>
+ <subreportParameter name="totalVoid">
+ <subreportParameterExpression><![CDATA[$P{totalVoid}]]></subreportParameterExpression>
+ </subreportParameter>
+ <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{voidTickets})]]></dataSourceExpression>
+ <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{subreportParameter}]]></subreportExpression>
+ </subreport>
+ <textField>
+ <reportElement x="87" y="27" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{netSales})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="42" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{salesTax})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="57" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{totalRevenue})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="72" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{chargedTips})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="90" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{grossReceipts})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="112" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{cashReceiptAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="127" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{creditCardReceiptAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="142" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{debitCardReceiptAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="172" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{giftCertChangeAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="157" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{giftCertReturnAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="187" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{cashBack})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="204" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{receiptDifferential})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="226" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{chargedTips})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="241" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{tipsPaid})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="258" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{tipsDifferential})]]></textFieldExpression>
+ </textField>
+ <staticText>
+ <reportElement key="staticText-1" x="0" y="280" width="136" height="15"/>
+ <box>
+ <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ <bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
+ <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
+ </box>
+ <textElement textAlignment="Center">
+ <font isBold="true" pdfFontName="Helvetica-Bold"/>
+ </textElement>
+ <text><![CDATA[CASH BALANCE]]></text>
+ </staticText>
+ <textField>
+ <reportElement x="87" y="302" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{cashReceiptAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="317" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{tipsPaid})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="332" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{payOutAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="347" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{cashBack})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="362" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{beginCash})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="377" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{drawerBleedAmount})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="394" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{drawerAccountable})]]></textFieldExpression>
+ </textField>
+ <textField>
+ <reportElement x="87" y="409" width="47" height="15"/>
+ <textElement textAlignment="Right">
+ <font size="9"/>
+ </textElement>
+ <textFieldExpression class="java.lang.String"><![CDATA[new java.text.DecimalFormat("0.00").format($F{cashToDeposit})]]></textFieldExpression>
+ </textField>
+ </band>
+ </detail>
+ <columnFooter>
+ <band splitType="Stretch"/>
+ </columnFooter>
+ <pageFooter>
+ <band splitType="Stretch"/>
+ </pageFooter>
+ <summary>
+ <band splitType="Stretch"/>
+ </summary>
+</jasperReport>
diff --git a/config/printerlayouts/generic-receipt.jasper b/config/printerlayouts/generic-receipt.jasper
new file mode 100755
index 0000000..15022a9
Binary files /dev/null and b/config/printerlayouts/generic-receipt.jasper differ
diff --git a/config/printerlayouts/generic-receipt.jrxml b/config/printerlayouts/generic-receipt.jrxml
old mode 100644
new mode 100755
index ac8be37..e28e30e
--- a/config/printerlayouts/generic-receipt.jrxml
+++ b/config/printerlayouts/generic-receipt.jrxml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="GenericReport" pageWidth="226" pageHeight="92" whenNoDataType="BlankPage" columnWidth="216" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5" isFloatColumnFooter="true" isIgnorePagination="true">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="GenericReport" pageWidth="136" pageHeight="92" whenNoDataType="BlankPage" columnWidth="126" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5" isFloatColumnFooter="true" isIgnorePagination="true">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.0"/>
@@ -19,7 +19,7 @@
<title>
<band height="26" splitType="Stretch">
<textField isBlankWhenNull="true">
- <reportElement key="textField-12" x="0" y="0" width="216" height="25"/>
+ <reportElement key="textField-12" x="0" y="0" width="126" height="25"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -42,7 +42,7 @@
<detail>
<band height="20" splitType="Stretch">
<textField isStretchWithOverflow="true">
- <reportElement x="0" y="0" width="216" height="20"/>
+ <reportElement x="0" y="0" width="126" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$P{data}]]></textFieldExpression>
</textField>
diff --git a/config/printerlayouts/refund-receipt.jasper b/config/printerlayouts/refund-receipt.jasper
new file mode 100755
index 0000000..68b615c
Binary files /dev/null and b/config/printerlayouts/refund-receipt.jasper differ
diff --git a/config/printerlayouts/refund-receipt.jrxml b/config/printerlayouts/refund-receipt.jrxml
old mode 100644
new mode 100755
index 162cac3..199693d
--- a/config/printerlayouts/refund-receipt.jrxml
+++ b/config/printerlayouts/refund-receipt.jrxml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="TicketReceiptReport" pageWidth="164" pageHeight="324" whenNoDataType="BlankPage" columnWidth="148" leftMargin="8" rightMargin="8" topMargin="0" bottomMargin="14" isFloatColumnFooter="true" isIgnorePagination="true">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="TicketReceiptReport" pageWidth="136" pageHeight="324" whenNoDataType="BlankPage" columnWidth="136" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="14" isFloatColumnFooter="true" isIgnorePagination="true">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
- <property name="ireport.y" value="94"/>
+ <property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
@@ -196,7 +196,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine5}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-12" x="0" y="0" width="148" height="18" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-12" x="0" y="0" width="136" height="18" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -209,7 +209,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine1}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-13" x="0" y="18" width="148" height="14" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-13" x="0" y="18" width="136" height="14" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -222,7 +222,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine2}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-14" x="0" y="32" width="148" height="14" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-14" x="0" y="32" width="136" height="14" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -235,7 +235,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine3}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-15" x="0" y="46" width="148" height="14" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-15" x="0" y="46" width="136" height="14" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -248,7 +248,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine4}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-16" x="0" y="60" width="148" height="14" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-16" x="0" y="60" width="136" height="14" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -261,7 +261,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{headerLine5}]]></textFieldExpression>
</textField>
<line>
- <reportElement key="line-1" x="0" y="99" width="148" height="1" isRemoveLineWhenBlank="true">
+ <reportElement key="line-1" x="0" y="99" width="136" height="1" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{showHeaderSeparator}!=null && $P{showHeaderSeparator}==true]]></printWhenExpression>
</reportElement>
<graphicElement>
@@ -269,27 +269,27 @@
</graphicElement>
</line>
<line>
- <reportElement key="line-1" positionType="Float" x="0" y="142" width="148" height="1"/>
+ <reportElement key="line-1" positionType="Float" x="0" y="142" width="136" height="1"/>
<graphicElement>
<pen lineWidth="1.0" lineStyle="Dashed"/>
</graphicElement>
</line>
<textField>
- <reportElement key="staticText-2" positionType="Float" x="0" y="145" width="72" height="15"/>
+ <reportElement key="staticText-2" positionType="Float" x="0" y="145" width="60" height="15"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9" isBold="false" isUnderline="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{itemText}]]></textFieldExpression>
</textField>
<textField>
- <reportElement key="staticText-1" positionType="Float" x="75" y="145" width="19" height="15"/>
+ <reportElement key="staticText-1" positionType="Float" x="75" y="145" width="7" height="15"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{quantityText}]]></textFieldExpression>
</textField>
<textField>
- <reportElement key="staticText-4" positionType="Float" x="98" y="145" width="50" height="15">
+ <reportElement key="staticText-4" positionType="Float" x="98" y="145" width="38" height="15">
<printWhenExpression><![CDATA[$P{showSubtotal}==true]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -298,7 +298,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{subTotalText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-16" x="0" y="82" width="148" height="14" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-16" x="0" y="82" width="124" height="14" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -311,32 +311,32 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{receiptType}]]></textFieldExpression>
</textField>
<line>
- <reportElement positionType="Float" x="0" y="162" width="60" height="1"/>
+ <reportElement positionType="Float" x="0" y="162" width="48" height="1"/>
<graphicElement>
<pen lineStyle="Dashed"/>
</graphicElement>
</line>
<line>
- <reportElement positionType="Float" x="76" y="162" width="19" height="1"/>
+ <reportElement positionType="Float" x="76" y="162" width="7" height="1"/>
<graphicElement>
<pen lineStyle="Dashed"/>
</graphicElement>
</line>
<line>
- <reportElement positionType="Float" x="112" y="162" width="36" height="1"/>
+ <reportElement positionType="Float" x="112" y="162" width="24" height="1"/>
<graphicElement>
<pen lineStyle="Dashed"/>
</graphicElement>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement stretchType="RelativeToBandHeight" x="0" y="103" width="148" height="12" isRemoveLineWhenBlank="true"/>
+ <reportElement stretchType="RelativeToBandHeight" x="0" y="103" width="136" height="12" isRemoveLineWhenBlank="true"/>
<textElement markup="html">
<font fontName="Monospaced" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{ticketHeader}]]></textFieldExpression>
</textField>
<componentElement>
- <reportElement positionType="Float" x="1" y="115" width="146" height="20" isRemoveLineWhenBlank="true"/>
+ <reportElement positionType="Float" x="1" y="115" width="134" height="20" isRemoveLineWhenBlank="true"/>
<jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code128" drawText="false" checksumRequired="false">
<jr:codeExpression><![CDATA[$P{barcode}]]></jr:codeExpression>
</jr:barbecue>
@@ -354,7 +354,7 @@
<detail>
<band height="14" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="0" y="0" width="76" height="12" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="0" y="0" width="64" height="12" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -367,7 +367,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$F{itemName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="0" width="50" height="12" isRemoveLineWhenBlank="true">
+ <reportElement key="textField" x="98" y="0" width="38" height="12" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{showSubtotal}==true]]></printWhenExpression>
</reportElement>
<box>
@@ -382,7 +382,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$F{itemSubtotal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="77" y="0" width="19" height="12"/>
+ <reportElement key="textField" x="77" y="0" width="7" height="12"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -408,7 +408,7 @@
<summary>
<band height="205" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-8" x="5" y="58" width="87" height="13">
+ <reportElement key="staticText-8" x="5" y="58" width="75" height="13">
<printWhenExpression><![CDATA[$P{tipAmount}!=null]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -417,21 +417,21 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{tipsText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-5" x="5" y="6" width="87" height="13"/>
+ <reportElement key="staticText-5" x="5" y="6" width="75" height="13"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{totalText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-7" x="0" y="91" width="92" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="staticText-7" x="0" y="91" width="80" height="13" isRemoveLineWhenBlank="true"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{netAmountText}]]></textFieldExpression>
</textField>
<line>
- <reportElement key="line-2" x="0" y="0" width="148" height="1">
+ <reportElement key="line-2" x="0" y="0" width="136" height="1">
<printWhenExpression><![CDATA[$P{showFooter}==true]]></printWhenExpression>
</reportElement>
<graphicElement>
@@ -439,7 +439,7 @@
</graphicElement>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-1" x="98" y="131" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-1" x="98" y="131" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -451,7 +451,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{refundAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-6" x="5" y="32" width="87" height="13">
+ <reportElement key="staticText-6" x="5" y="32" width="75" height="13">
<printWhenExpression><![CDATA[$P{taxAmount}!=null]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -460,7 +460,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{taxText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="6" width="50" height="13"/>
+ <reportElement key="textField" x="98" y="6" width="38" height="13"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -473,7 +473,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{grandSubtotal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="91" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="98" y="91" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -486,7 +486,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{netAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="32" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="98" y="32" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -499,14 +499,14 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{taxAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-9" x="0" y="131" width="92" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="staticText-9" x="0" y="131" width="80" height="13" isRemoveLineWhenBlank="true"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{refundAmountText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" isPrintRepeatedValues="false" x="98" y="58" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" isPrintRepeatedValues="false" x="98" y="58" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -519,7 +519,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{tipAmount}]]></textFieldExpression>
</textField>
<line>
- <reportElement key="line-2" x="0" y="86" width="148" height="1" isRemoveLineWhenBlank="true">
+ <reportElement key="line-2" x="0" y="86" width="136" height="1" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{showFooter}==true]]></printWhenExpression>
</reportElement>
<graphicElement>
@@ -527,7 +527,7 @@
</graphicElement>
</line>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="104" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="98" y="104" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -540,14 +540,14 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{paidAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-7" x="0" y="104" width="92" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="staticText-7" x="0" y="104" width="80" height="13" isRemoveLineWhenBlank="true"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{paidAmountText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-8" x="5" y="45" width="87" height="13">
+ <reportElement key="staticText-8" x="5" y="45" width="75" height="13">
<printWhenExpression><![CDATA[$P{serviceCharge}!=null]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -556,7 +556,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{serviceChargeText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="45" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="98" y="45" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -569,7 +569,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{serviceCharge}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-6" x="5" y="19" width="87" height="13">
+ <reportElement key="staticText-6" x="5" y="19" width="75" height="13">
<printWhenExpression><![CDATA[$P{discountAmount}!=null]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -578,7 +578,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{discountText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" x="98" y="19" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" x="98" y="19" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -591,7 +591,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{discountAmount}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-1" positionType="Float" x="0" y="188" width="148" height="12" isRemoveLineWhenBlank="true">
+ <reportElement key="textField-1" positionType="Float" x="0" y="188" width="136" height="12" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{showFooter}==true]]></printWhenExpression>
</reportElement>
<box>
@@ -605,7 +605,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{footerMessage}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-8" x="5" y="71" width="87" height="13" isRemoveLineWhenBlank="true">
+ <reportElement key="staticText-8" x="5" y="71" width="75" height="13" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{tipAmount}!=null]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
@@ -614,7 +614,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{deliveryChargeText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField" isPrintRepeatedValues="false" x="98" y="71" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField" isPrintRepeatedValues="false" x="98" y="71" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -627,7 +627,7 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{deliveryCharge}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-9" x="0" y="168" width="148" height="13" isRemoveLineWhenBlank="true">
+ <reportElement key="staticText-9" x="0" y="168" width="136" height="13" isRemoveLineWhenBlank="true">
<printWhenExpression><![CDATA[$P{cardPayment}==true]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
@@ -636,14 +636,14 @@
<textFieldExpression class="java.lang.String"><![CDATA[$P{copyType}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="staticText-9" x="0" y="144" width="92" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="staticText-9" x="0" y="144" width="80" height="13" isRemoveLineWhenBlank="true"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font fontName="Monospaced" size="9" isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{cashRefundText}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="textField-1" x="98" y="144" width="50" height="13" isRemoveLineWhenBlank="true"/>
+ <reportElement key="textField-1" x="98" y="144" width="38" height="13" isRemoveLineWhenBlank="true"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
diff --git a/src/com/floreantpos/actions/DrawerAssignmentAction.java b/src/com/floreantpos/actions/DrawerAssignmentAction.java
old mode 100644
new mode 100755
index ab09cd9..9b3d86e
--- a/src/com/floreantpos/actions/DrawerAssignmentAction.java
+++ b/src/com/floreantpos/actions/DrawerAssignmentAction.java
@@ -21,6 +21,7 @@ import com.floreantpos.print.PosPrintService;
import com.floreantpos.swing.UserListDialog;
import com.floreantpos.ui.dialog.NumberSelectionDialog2;
import com.floreantpos.ui.dialog.POSMessageDialog;
+import com.floreantpos.util.DrawerUtil;
public class DrawerAssignmentAction extends PosAction {
@@ -95,11 +96,12 @@ public class DrawerAssignmentAction extends PosAction {
session.save(history);
tx.commit();
-
+ DrawerUtil.kickDrawer();
POSMessageDialog.showMessage(Messages.getString("DrawerAssignmentAction.8") + user.getFullName()); //$NON-NLS-1$
putValue(Action.NAME, Messages.getString("DrawerAssignmentAction.9")); //$NON-NLS-1$
+
} catch (Exception e) {
if (tx != null) {
tx.rollback();
@@ -116,7 +118,7 @@ public class DrawerAssignmentAction extends PosAction {
private void performDrawerClose(Terminal terminal) throws Exception {
try {
User user = terminal.getAssignedUser();
-
+ DrawerUtil.kickDrawer();
DrawerPullReport report = DrawerpullReportService.buildDrawerPullReport();
report.setAssignedUser(user);
@@ -142,6 +144,7 @@ public class DrawerAssignmentAction extends PosAction {
putValue(Action.NAME, Messages.getString("DrawerAssignmentAction.11")); //$NON-NLS-1$
+
} catch (Exception e) {
throw e;
}
diff --git a/src/com/floreantpos/report/template/drawer-pull-report.jasper b/src/com/floreantpos/report/template/drawer-pull-report.jasper
old mode 100644
new mode 100755
diff --git a/src/com/floreantpos/report/template/drawer-pull-report.jrxml b/src/com/floreantpos/report/template/drawer-pull-report.jrxml
old mode 100644
new mode 100755
diff --git a/src/com/floreantpos/ui/dialog/CashDropDialog.java b/src/com/floreantpos/ui/dialog/CashDropDialog.java
old mode 100644
new mode 100755
index 4cdd91d..04a6cb7
--- a/src/com/floreantpos/ui/dialog/CashDropDialog.java
+++ b/src/com/floreantpos/ui/dialog/CashDropDialog.java
@@ -29,6 +29,7 @@ import com.floreantpos.main.Application;
import com.floreantpos.model.CashDropTransaction;
import com.floreantpos.model.Terminal;
import com.floreantpos.model.dao.CashDropTransactionDAO;
+import com.floreantpos.util.DrawerUtil;
import com.floreantpos.util.NumberUtil;
/**
@@ -317,6 +318,7 @@ public class CashDropDialog extends POSDialog {
Rectangle cellRect = tableCashDrops.getCellRect(index, 0, false);
tableCashDrops.scrollRectToVisible(cellRect);
selectionModel.setLeadSelectionIndex(index);
+ DrawerUtil.kickDrawer();
}
public void addCashDrop(CashDropTransaction t) {
@@ -327,6 +329,7 @@ public class CashDropDialog extends POSDialog {
Rectangle cellRect = tableCashDrops.getCellRect(size, 0, false);
tableCashDrops.scrollRectToVisible(cellRect);
selectionModel.setLeadSelectionIndex(size);
+ DrawerUtil.kickDrawer();
}
public void removeCashDrop(CashDropTransaction t) {
@@ -334,7 +337,9 @@ public class CashDropDialog extends POSDialog {
if (index >= 0) {
cashDropList.remove(index);
fireTableRowsDeleted(index, index);
+ DrawerUtil.kickDrawer();
}
+
}
diff --git a/src/com/floreantpos/ui/dialog/PayoutDialog.java b/src/com/floreantpos/ui/dialog/PayoutDialog.java
old mode 100644
new mode 100755
index 961af0c..9d64305
--- a/src/com/floreantpos/ui/dialog/PayoutDialog.java
+++ b/src/com/floreantpos/ui/dialog/PayoutDialog.java
@@ -19,6 +19,7 @@ import com.floreantpos.model.Terminal;
import com.floreantpos.model.TransactionType;
import com.floreantpos.model.dao.ActionHistoryDAO;
import com.floreantpos.model.dao.PayOutTransactionDAO;
+import com.floreantpos.util.DrawerUtil;
import com.floreantpos.util.NumberUtil;
/**
@@ -113,6 +114,7 @@ public class PayoutDialog extends POSDialog {
PayOutTransactionDAO dao = new PayOutTransactionDAO();
dao.saveTransaction(payOutTransaction, terminal);
setCanceled(false);
+ DrawerUtil.kickDrawer();
// PAYOUT ACTION
String actionMessage = ""; //$NON-NLS-1$
- Details
- Last Updated: Monday, 04 April 2016 02:04
- Hits: 40682864