salix/modules/ticket/front/data/step-two/index.html

37 lines
1.7 KiB
HTML
Raw Normal View History

<form name="form">
<vn-card pad-large>
<vn-horizontal>
<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 (PPU)</th>
<th number translate>New price (PPU)</th>
<th number translate>Price difference</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="sale in $ctrl.ticket.sale.items track by sale.id">
<td number>{{("000000"+sale.itemFk).slice(-6)}}</td>
2018-11-06 09:49:38 +00:00
<td><vn-fetched-tags max-length="6" item="sale.item"/></td>
<td number>{{::sale.quantity}}</td>
<td number>{{::sale.price | currency: '€': 2}}</td>
<td number>{{::sale.component.newPrice | currency: '€': 2}}</td>
<td number>{{::sale.component.difference | currency: '€': 2}}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"></td>
2019-01-25 11:52:12 +00:00
<td number><strong>{{$ctrl.totalPrice | currency: '€': 2}}</strong></td>
<td number><strong>{{$ctrl.totalNewPrice | currency: '€': 2}}</strong></td>
<td number><strong>{{$ctrl.totalPriceDifference | currency: '€': 2}}</strong></td>
</tr>
</tfoot>
</table>
</vn-horizontal>
</vn-card>
</form>