hedera-web/forms/ecomerce/invoices/ui.xml

25 lines
627 B
XML

<vn>
<div id="title">
<h1><t>Invoices</t></h1>
</div>
<div id="form" class="hedera-invoices">
<htk-grid
class="box vn-w-sm"
show-header="false">
<db-model property="model" id="invoices">
SELECT id, ref, issued, amount, hasPdf
FROM myInvoice
ORDER BY issued DESC
LIMIT 100
</db-model>
<htk-column-text title="_Serial" column="ref"/>
<htk-column-date title="_Date" column="issued" format="_%e %b %Y"/>
<htk-column-spin title="_Import" column="amount" unit="€" digits="2"/>
<htk-column-button
icon="download"
tip="_Download PDF"
on-clicked="onDownloadClick"/>
</htk-grid>
</div>
</vn>