Print receipt log in Close Cash report

This template can be used to print information about all the receipts in a cash sequence.

Maintenance > Resources
Use the below template in Printer.CloseCash or Printer.PartialCash or Printer.CloseCashMail.

<!-- SALES RECEIPTS START -->

 <line>
            <text bold="true">Receipts</text>
        </line>
        <line>
            <text align ="left" length="10">Receipt</text>
            <text align ="left" length="20">Date</text>
            <text align ="right" length="8">Quantity</text>
            <text align ="right" length="10">Amount</text>
        </line>
        <line>
            <text>------------------------------------------------</text>
        </line>
        #foreach ($line in $payments.getSalesTickets())
        <line>
         <text align ="left" length="10">${line.printTicketId()}</text>
         <text align ="left" length="20">${line.printTicketDate()}</text>
                <text align ="right" length="8">${line.printQuantity()}</text>
         <text align ="right" length="10">${line.printAmount()}</text>
        </line>
        #end
        <line>
            <text>------------------------------------------------</text>
        </line>
<!-- SALES RECEIPTS END -->

Save & restart

0 Comments

Leave a Reply

Arrow-up