2015-09-03 23:28:07 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Invoices</t></h1>
|
|
|
|
</div>
|
2015-09-03 23:28:07 +00:00
|
|
|
<div id="form" class="invoices">
|
2016-12-23 08:57:49 +00:00
|
|
|
<div class="card">
|
2015-09-11 09:37:16 +00:00
|
|
|
<div>
|
|
|
|
<htk-grid show-header="false">
|
2015-11-19 13:57:23 +00:00
|
|
|
<db-model property="model" id="tickets">
|
|
|
|
<custom>
|
|
|
|
SELECT invoice_id, serial_num, issued, amount
|
|
|
|
FROM invoice_view
|
|
|
|
ORDER BY issued DESC
|
|
|
|
LIMIT 100
|
|
|
|
</custom>
|
2015-09-11 09:37:16 +00:00
|
|
|
</db-model>
|
|
|
|
<htk-column-text title="_Serial" column="serial_num"/>
|
|
|
|
<htk-column-date title="_Date" column="issued" format="_%e %b %Y"/>
|
|
|
|
<htk-column-spin title="_Import" column="amount" unit="€" digits="2"/>
|
|
|
|
<htk-column-button
|
|
|
|
column="invoice_id"
|
2016-09-26 09:28:47 +00:00
|
|
|
icon="download"
|
2015-09-11 09:37:16 +00:00
|
|
|
tip="_Download PDF"
|
|
|
|
on-clicked="onDownloadClick"/>
|
|
|
|
</htk-grid>
|
|
|
|
</div>
|
2015-09-03 23:28:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|