View Categories

VAT Update Resources for UAE and KSA

1 min read

Here is the resources you need to update for VAT

Administrator Menu > Maintenance > Resources
Printer.Ticket and Printer.TicketPreview

<!-- TAXES START-->
#if($ticket.getTax()>0)
        <line></line>
 #foreach ($taxinfo in $taxes)
 #set( $taxline = $ticket.getTaxLine($taxinfo))
 <line>
 <text align="left" length="24">${taxline.getTaxInfo()}</text>
 <text align="right" length="12">${taxline.printSubTotal()}</text>
 <text align="right" length="12">${taxline.printTax()}</text>
 </line>
 #end
 <line> </line>
        <line>
            <text align="left" length="16">Subtotal.</text>
            <text align="right" length="32">${ticket.printSubTotal()}</text>
        </line>
        <line>
            <text align="left" length="16">Taxes.</text>
            <text align="right" length="32">${ticket.printTax()}</text>
        </line>
#end
<!-- TAXES END-->

Printer.CloseCash, Printer.PartialCash, Printer.CloseCashMail

<!-- TAXES REPORT START -->
        <line>
            <text bold="true">Taxes Report</text>
        </line>
        <line>
            <text align="right" length="48">Total</text>
        </line>
        <line>
            <text>------------------------------------------------</text>
        </line>
        #foreach ($line in $payments.getSaleLines())
        <line>
            <text align="left" length="38">${line.printTaxName()}</text>
            <text align="right" length="10">${line.printTaxes()}</text>
        </line>
        #end
        <line>
            <text>------------------------------------------------</text>
        </line>
        <line></line>
<!-- TAXES REPORT END -->

Ticket.Lines, add below line before line total

<column name="label.tax" width="80" align="right" value="${ticketline.printTax()}"/>

Save

0 Comments

Leave a Reply

Arrow-up