hedera-web/reports/delivery-note/ui.xml

60 lines
1.5 KiB
XML
Executable File

<vn>
<vn-group>
<db-form id="ticket">
<db-model property="model" id="ticket-data" conn="conn" batch="batch">
<custom>
CALL clientTicketGet(#ticket)
</custom>
</db-model>
</db-form>
</vn-group>
<div id="report" class="sheet">
<h2>
<htk-text column="id" form="ticket"/>
</h2>
<div class="header">
<p>
<htk-text form="ticket" column="consignee"/>
</p>
<p>
<htk-text form="ticket" column="date" format="%D"/>
</p>
<p>
<htk-text form="ticket" column="name"/>
</p>
<p>
<htk-text form="ticket" column="zip_code"/>
<htk-text form="ticket" column="city"/>
(<htk-text form="ticket" column="province"/>)
</p>
<p>
<t>Delivery</t> <htk-text form="ticket" column="Agencia"/>
</p>
</div>
<htk-grid>
<db-model property="model" id="movements" conn="conn" batch="batch">
<custom>
CALL clientTicketRowGet(#ticket)
</custom>
</db-model>
<htk-column-spin title="_Ref" column="item"/>
<htk-column-spin title="_Amount" column="amount"/>
<htk-column-text title="_Item" column="concept"/>
<htk-column-text title="_S1" column="Medida"/>
<htk-column-text title="_Cat" column="Categoria"/>
<htk-column-spin title="_Price" column="price" unit="€" digits="2"/>
<htk-column-spin title="_Import" unit="€" digits="2" renderer="subtotalRenderer"/>
</htk-grid>
<div class="footer">
<p>
<t>Total</t>
<htk-text form="ticket" column="total" format="%.2d€"/>
</p>
<p>
<t>Total + VAT</t>
<htk-text form="ticket" column="totalPlusVat" format="%.2d€"/>
</p>
</div>
</div>
</vn>