<?xml version="1.0" encoding="UTF-8"?>
<!--
Posics Saleculator - Billing System.
Copyright (C) 2009 Posics
This file is part of Posics Saleculator.
-->
<output>
<ticket>
<image>Printer.Ticket.Logo</image>
<line></line>
<line>
<text align="center" length="48">STOCK MAINTENANCE</text>
</line>
<line></line>
<line>
<text>Date: ${inventoryrecord.printDate()}</text>
</line>
<line>
<text>Reason: ${inventoryrecord.printReason()}</text>
</line>
<line>
<text>Location: ${inventoryrecord.printLocation()}</text>
</line>
#if (${inventoryrecord.printSupplier()})
<line>
<text>Supplier: ${inventoryrecord.printSupplier()}</text>
</line>
#end
<line size="1">
#if ($inventoryrecord.isInput())
<text align="center" length="48">In</text>
#else
<text align="center" length="48">Out</text>
#end
</line>
<line></line>
<line>
<text align="left" length="23">Item</text>
<text align="right" length="10">Price</text>
<text align="right" length="5"></text>
<text align="right" length="10">Value</text>
</line>
<line>
<text>------------------------------------------------</text>
</line>
#foreach ($inventoryline in $inventoryrecord.getLines())
<line>
<text align="left" length="23">${inventoryline.printName()}</text>
<text align="right" length="10">${inventoryline.printPrice()}</text>
<text align="right" length="5">x${inventoryline.printMultiply()}</text>
<text align="right" length="10">${inventoryline.printSubValue()}</text>
</line>
#if ($inventoryline.productAttSetInstId)
<line>
<text align="left" length="48"> ${inventoryline.productAttSetInstDesc}</text>
</line>
#end
#end
<line>
<text>------------------------------------------------</text>
</line>
<line></line>
<line>
<text align="center" length="48">Thank you for your visit.</text>
</line>
</ticket>
</output>
Leave a Reply