salix/modules/invoiceIn/front/index/index.html

77 lines
3.0 KiB
HTML
Raw Normal View History

2021-02-10 14:03:11 +00:00
<vn-auto-search
model="model">
</vn-auto-search>
<vn-data-viewer
model="model"
class="vn-w-lg">
<vn-card>
<vn-table model="model">
<vn-thead>
<vn-tr>
<vn-th field="id">ID</vn-th>
<vn-th field="supplierFk">Supplier</vn-th>
<vn-th field="supplierRef">Supplier ref.</vn-th>
<vn-th field="serialNumber">Serial number</vn-th>
<vn-th field="serial">Serial</vn-th>
<vn-th field="account">Account</vn-th>
<vn-th field="issued" expand>Issued</vn-th>
<vn-th field="isBooked" center>Is booked</vn-th>
2021-03-02 13:59:02 +00:00
<vn-th field="awbCode" vn-tooltip="Air Waybill">AWB</vn-th>
2021-02-11 14:06:41 +00:00
<vn-th field="amount" filter-enabled="false">Amount</vn-th>
2021-02-10 14:03:11 +00:00
<vn-th></vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
2021-04-12 10:43:17 +00:00
<a
ng-repeat="invoiceIn in model.data"
class="clickable vn-tr search-result"
ui-sref="invoiceIn.card.summary({id: {{::invoiceIn.id}}})">
2021-02-10 14:03:11 +00:00
<vn-td>{{::invoiceIn.id}}</vn-td>
<vn-td>
<span
2021-04-12 10:43:17 +00:00
class="link"
2021-02-10 14:03:11 +00:00
vn-click-stop="supplierDescriptor.show($event, invoiceIn.supplierFk)">
{{::invoiceIn.supplierName}}
</span>
2021-04-12 10:43:17 +00:00
</vn-td>
2021-02-10 14:03:11 +00:00
<vn-td>{{::invoiceIn.supplierRef | dashIfEmpty}}</vn-td>
2021-04-12 10:43:17 +00:00
<vn-td>{{::invoiceIn.serialNumber}}</vn-td>
<vn-td>{{::invoiceIn.serial}}</vn-td>
<vn-td>{{::invoiceIn.account}}</vn-td>
2021-02-10 14:03:11 +00:00
<vn-td expand>{{::invoiceIn.issued | date:'dd/MM/yyyy' | dashIfEmpty}}</vn-td>
<vn-td center>
<vn-check disabled="true"
ng-model="invoiceIn.isBooked">
</vn-check>
2021-04-12 10:43:17 +00:00
</vn-td>
2021-03-02 13:59:02 +00:00
<vn-td>{{::invoiceIn.awbCode}}</vn-td>
2021-02-10 14:03:11 +00:00
<vn-td>{{::invoiceIn.amount | currency:'EUR'}}</vn-td>
<vn-td shrink>
<vn-icon-button
2021-03-02 13:59:02 +00:00
vn-click-stop="$ctrl.preview(invoiceIn)"
vn-tooltip="Preview"
icon="preview">
</vn-icon-button>
2021-04-01 12:00:34 +00:00
</vn-td>
<vn-td shrink>
2021-06-18 11:29:59 +00:00
<!-- <vn-icon-button
2021-03-02 13:59:02 +00:00
ng-show="invoiceIn.dmsFk"
vn-click-stop="$ctrl.openPdf(invoiceIn.dmsFk)"
2021-02-10 14:03:11 +00:00
icon="cloud_download"
title="Download PDF"
vn-tooltip="Download PDF">
2021-06-18 11:29:59 +00:00
</vn-icon-button> -->
2021-02-10 14:03:11 +00:00
</vn-td>
</a>
</vn-tbody>
</vn-table>
</vn-card>
</vn-data-viewer>
2021-06-18 11:29:59 +00:00
<vn-supplier-descriptor-popover
vn-id="supplierDescriptor">
</vn-supplier-descriptor-popover>
2021-02-10 14:03:11 +00:00
<vn-popup vn-id="summary">
<vn-invoice-in-summary
invoice-in="$ctrl.selectedInvoiceIn">
2021-02-10 14:03:11 +00:00
</vn-invoice-in-summary>
</vn-popup>