salix/client/ticket/src/sale-checked/index.html

50 lines
2.0 KiB
HTML
Raw Normal View History

2018-07-17 06:44:31 +00:00
<vn-crud-model
vn-id="model"
url="/ticket/api/sales"
filter="::$ctrl.filter"
link="{ticketFk: $ctrl.$stateParams.id}"
limit="20"
data="sales">
</vn-crud-model>
2018-03-26 13:10:51 +00:00
<vn-vertical>
<vn-card pad-large>
<vn-vertical>
<vn-title>Sale checked</vn-title>
2018-07-17 06:44:31 +00:00
<vn-table model="model">
<vn-thead>
<vn-tr>
<vn-th field="isChecked" center>Is checked</vn-th>
<vn-th field="itemFk" number>Item</vn-th>
<vn-th field="concept" default-order="ASC">Description</vn-th>
<vn-th field="quantity" number>Quantity</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="sale in sales">
<vn-td center>
<vn-check
vn-one field="sale.isChecked.isChecked"
disabled="true">
</vn-check>
</vn-td>
<vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">
{{::sale.itemFk}}
</vn-td>
<vn-td><vn-fetched-tags sale="sale"/></vn-td>
<vn-td number>{{::sale.quantity}}</vn-td>
</vn-tr>
</vn-tbody>
<vn-empty-rows ng-if="model.data.length === 0" translate>
No results
</vn-empty-rows>
</vn-table>
</vn-vertical>
2018-07-17 06:44:31 +00:00
<vn-pagination
model="model"
scroll-selector="ui-view">
</vn-pagination>
2018-03-26 13:10:51 +00:00
</vn-card>
2018-07-17 06:44:31 +00:00
</vn-vertical>
2018-05-29 12:33:29 +00:00
<vn-item-descriptor-popover vn-id="descriptor"></vn-item-descriptor-popover>