2018-11-27 14:02:54 +00:00
|
|
|
<vn-crud-model auto-load="false"
|
2018-07-17 06:44:31 +00:00
|
|
|
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>
|
2018-05-07 06:33:45 +00:00
|
|
|
<vn-vertical>
|
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>
|
2018-09-06 06:04:43 +00:00
|
|
|
<vn-td number>
|
|
|
|
<span
|
|
|
|
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
|
2019-02-10 21:52:35 +00:00
|
|
|
class="link">
|
2019-02-20 11:12:16 +00:00
|
|
|
{{::sale.itemFk | zeroFill:6}}
|
2018-09-06 06:04:43 +00:00
|
|
|
</span>
|
2018-07-17 06:44:31 +00:00
|
|
|
</vn-td>
|
2019-02-20 11:12:16 +00:00
|
|
|
<vn-td expand>
|
|
|
|
<vn-fetched-tags
|
|
|
|
max-length="6"
|
|
|
|
item="::sale.item"
|
|
|
|
title="::sale.concept">
|
|
|
|
</vn-fetched-tags>
|
|
|
|
</vn-td>
|
2018-07-17 06:44:31 +00:00
|
|
|
<vn-td number>{{::sale.quantity}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
2018-05-07 06:33:45 +00:00
|
|
|
</vn-vertical>
|
2019-01-20 17:48:03 +00:00
|
|
|
<vn-pagination model="model"></vn-pagination>
|
2018-03-26 13:10:51 +00:00
|
|
|
</vn-card>
|
2018-07-17 06:44:31 +00:00
|
|
|
</vn-vertical>
|
2018-09-04 09:49:00 +00:00
|
|
|
<vn-item-descriptor-popover vn-id="descriptor"
|
|
|
|
quicklinks="$ctrl.quicklinks">
|
|
|
|
</vn-item-descriptor-popover>
|