0
1
Fork 0
hedera-web-mindshore/reports/delivery-note/ui.xml

75 lines
2.2 KiB
XML
Raw Normal View History

2015-11-19 13:57:23 +00:00
<vn>
<vn-group>
2018-02-06 08:57:05 +00:00
<db-form id="ticket" on-ready="onTicketReady">
2015-11-19 13:57:23 +00:00
<db-model property="model" id="ticket-data" conn="conn" batch="batch">
2018-03-27 15:26:17 +00:00
CALL myTicketGet (#ticket)
2015-11-19 13:57:23 +00:00
</db-model>
</db-form>
</vn-group>
<div id="report" class="sheet">
<h2>
<htk-text column="id" form="ticket"/>
</h2>
<div class="header">
2018-02-06 08:57:05 +00:00
<div>
<p>
<t>Preparation</t> <htk-text form="ticket" column="shipped" format="%D"/>
</p>
<p>
<t>Delivery</t> <htk-text form="ticket" column="landed" format="%D"/>
2018-02-06 08:57:05 +00:00
</p>
<p>
<span id="method"></span> <htk-text form="ticket" column="agency"/>
</p>
</div>
<div class="address">
<p>
<htk-text form="ticket" column="nickname"/>
</p>
<p>
<htk-text form="ticket" column="street"/>
</p>
<p>
<htk-text form="ticket" column="postalCode"/>
<htk-text form="ticket" column="city"/>
(<htk-text form="ticket" column="province"/>)
</p>
</div>
</div>
2015-11-19 13:57:23 +00:00
<htk-grid>
<db-model property="model" id="movements" conn="conn" batch="batch">
2018-03-27 15:26:17 +00:00
CALL myTicketGetRows (#ticket)
2015-11-19 13:57:23 +00:00
</db-model>
2018-01-02 13:16:41 +00:00
<htk-column-spin title="_Ref" column="itemFk"/>
<htk-column-spin title="_Amount" column="quantity"/>
2015-11-19 13:57:23 +00:00
<htk-column-text title="_Item" column="concept"/>
2018-01-02 13:16:41 +00:00
<htk-column-text title="_S1" column="size"/>
<htk-column-text title="_Cat" column="category"/>
2015-11-19 13:57:23 +00:00
<htk-column-spin title="_Price" column="price" unit="€" digits="2"/>
2018-08-30 13:26:05 +00:00
<htk-column-spin title="_Disc" column="discount" unit="%" renderer="discountRenderer"/>
2015-11-19 13:57:23 +00:00
<htk-column-spin title="_Subtotal" unit="€" digits="2" renderer="subtotalRenderer"/>
</htk-grid>
2018-01-02 13:16:41 +00:00
<p class="footer important">
<htk-text format="%.2d€">
<db-calc-sum property="param" func="subtotal" model="movements"/>
</htk-text>
</p>
2018-01-02 13:16:41 +00:00
<p class="important">
<t>Total + tax</t>
<htk-text format="%.2d€" form="ticket" column="total"/>
</p>
2018-01-05 12:57:35 +00:00
<htk-grid id="packages" class="packages">
<db-model
property="model"
conn="conn"
batch="batch"
on-status-changed="onPackagesChanged">
2018-03-27 15:26:17 +00:00
CALL myTicketGetPackages (#ticket)
2018-01-05 12:57:35 +00:00
</db-model>
<htk-column-spin title="_Ref" column="id"/>
<htk-column-spin title="_Amount" column="quantity"/>
<htk-column-text title="_Item" column="name"/>
</htk-grid>
2015-11-19 13:57:23 +00:00
</div>
</vn>