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

73 lines
1.9 KiB
XML
Raw Normal View History

2015-11-19 13:57:23 +00:00
<vn>
<vn-group>
<db-form id="ticket">
<db-model property="model" id="ticket-data" conn="conn" batch="batch">
<custom>
2018-01-02 13:16:41 +00:00
CALL myTicketGet (#ticket)
2015-11-19 13:57:23 +00:00
</custom>
</db-model>
</db-form>
</vn-group>
<div id="report" class="sheet">
<h2>
<htk-text column="id" form="ticket"/>
</h2>
<div class="header">
<p>
2018-01-02 13:16:41 +00:00
<htk-text form="ticket" column="nickname"/>
</p>
<p>
2018-01-02 13:16:41 +00:00
<htk-text form="ticket" column="landed" format="%D"/>
</p>
<p>
2018-01-02 13:16:41 +00:00
<htk-text form="ticket" column="street"/>
</p>
<p>
2018-01-02 13:16:41 +00:00
<htk-text form="ticket" column="postalCode"/>
<htk-text form="ticket" column="city"/>
2018-01-02 13:16:41 +00:00
(<htk-text form="ticket" column="province"/>) aaa
</p>
<p>
2018-01-02 13:16:41 +00:00
<t>Delivery</t> <htk-text form="ticket" column="agency"/>
</p>
</div>
2015-11-19 13:57:23 +00:00
<htk-grid>
<db-model property="model" id="movements" conn="conn" batch="batch">
<custom>
2018-01-02 13:16:41 +00:00
CALL myTicketGetRows (#ticket)
2015-11-19 13:57:23 +00:00
</custom>
</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"/>
<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">
<custom>
CALL myTicketGetPackages (#ticket)
</custom>
</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>