2018-04-03 14:10:39 +00:00
|
|
|
<mg-ajax path="/ticket/api/sales/filter" options="vnIndexNonAuto" actions="$ctrl.setVolumes()"></mg-ajax>
|
|
|
|
<vn-vertical>
|
2018-03-22 14:01:36 +00:00
|
|
|
<vn-card pad-large>
|
2018-04-03 14:10:39 +00:00
|
|
|
<vn-vertical>
|
2018-03-22 14:01:36 +00:00
|
|
|
<vn-title>Volumes</vn-title>
|
2018-04-03 14:10:39 +00:00
|
|
|
<table class="vn-grid">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th number translate>Item</th>
|
|
|
|
<th translate style="text-align:center">Description</th>
|
|
|
|
<th number translate>Quantity</th>
|
|
|
|
<th number translate>m³ per unit</th>
|
|
|
|
<th number translate>m³ per quantity</th>
|
|
|
|
<th number translate>total m³</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-05-11 06:35:28 +00:00
|
|
|
<tr ng-repeat="sale in index.model.instances track by sale.id" class="list list-element">
|
2018-04-03 14:10:39 +00:00
|
|
|
<td number>{{::sale.itemFk}}</td>
|
|
|
|
<td><vn-fetched-tags sale="sale"/></td>
|
|
|
|
<td number>{{::sale.quantity}}</td>
|
2018-04-13 14:03:43 +00:00
|
|
|
<td number>{{::sale.volume.m3_uni | number:3}}</td>
|
|
|
|
<td number>{{::sale.volume.volumeTimesQuantity | number:3}}</td>
|
|
|
|
<td number>{{::sale.volume.m3_total | number:3}}</td>
|
2018-04-03 14:10:39 +00:00
|
|
|
</tr>
|
2018-05-07 06:33:45 +00:00
|
|
|
<tr ng-if="index.model.count === 0" class="list list-element">
|
|
|
|
<td colspan="6" style="text-align: center" translate>No results</td>
|
|
|
|
</tr>
|
2018-04-03 14:10:39 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</vn-vertical>
|
2018-03-22 14:01:36 +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-04-03 14:10:39 +00:00
|
|
|
</vn-vertical>
|