2018-03-26 12:55:10 +00:00
|
|
|
<mg-ajax path="/ticket/api/sales/filter" options="vnIndexNonAuto"></mg-ajax>
|
2018-03-22 17:02:48 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-card pad-large>
|
2018-03-23 15:50:11 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-title>Sale</vn-title>
|
|
|
|
<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>Price</th>
|
|
|
|
<th number translate>Discount</th>
|
|
|
|
<th number translate>Amount</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="sale in index.model.instances track by sale.id">
|
|
|
|
<td number>{{::sale.itemFk}}</td>
|
|
|
|
<td><vn-fetched-tags sale="sale"/></td>
|
|
|
|
<td number>{{::sale.quantity}}</td>
|
|
|
|
<td number>{{::sale.price | currency:'€':2}}</td>
|
|
|
|
<td number>{{::sale.discount}} %</td>
|
|
|
|
<td number>{{::sale.quantity * sale.price | currency:'€':2}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</vn-vertical>
|
2018-03-22 17:02:48 +00:00
|
|
|
</vn-card>
|
|
|
|
</vn-vertical>
|