2018-03-26 13:10:51 +00:00
|
|
|
<mg-ajax path="/ticket/api/sales/filter" options="vnIndexNonAuto"></mg-ajax>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-card pad-large>
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-title>Sale checked</vn-title>
|
|
|
|
<table class="vn-grid">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th style="text-align:center" translate>Is checked</th>
|
|
|
|
<th number translate>Item</th>
|
2018-05-29 11:51:39 +00:00
|
|
|
<th translate>Description</th>
|
2018-05-07 06:33:45 +00:00
|
|
|
<th number translate>Quantity</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-05-11 06:35:28 +00:00
|
|
|
<tr ng-repeat="sale in index.model.instances track by sale.id">
|
2018-05-07 06:33:45 +00:00
|
|
|
<td style="text-align:center!important">
|
|
|
|
<vn-check style="text-align:center!important"
|
|
|
|
vn-one field="sale.isChecked.isChecked"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</td>
|
|
|
|
<td number>{{::sale.itemFk}}</td>
|
|
|
|
<td><vn-fetched-tags sale="sale"/></td>
|
|
|
|
<td number>{{::sale.quantity}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="index.model.count === 0" class="list list-element">
|
|
|
|
<td colspan="4" style="text-align: center" translate>No results</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</vn-vertical>
|
2018-03-26 13:10:51 +00:00
|
|
|
</vn-card>
|
2018-05-11 06:35:28 +00:00
|
|
|
<vn-paging vn-one margin-large-top index="index" total="index.model.count"></vn-paging>
|
|
|
|
<!-- <vn-auto-paging vn-one margin-large-top index="index" total="index.model.count" items="$ctrl.instances"></vn-auto-paging> -->
|
2018-03-26 13:10:51 +00:00
|
|
|
</vn-vertical>
|