salix/client/ticket/src/summary/ticket-summary.html

69 lines
3.5 KiB
HTML
Raw Normal View History

2018-03-14 11:12:06 +00:00
<vn-card class="summary">
<vn-vertical pad-medium>
<vn-auto>
2018-04-10 05:48:04 +00:00
<h5 text-center pad-small-v class="tittle">{{$ctrl.summary.id}} - {{$ctrl.summary.client.name}} - {{$ctrl.summary.nickname}}</h5>
2018-03-14 11:12:06 +00:00
</vn-auto>
<vn-horizontal>
2018-04-10 05:48:04 +00:00
<vn-one>
<p><vn-label translate>State</vn-label> {{$ctrl.summary.ticketTracking.state.name}}</p>
<p>
<vn-label translate>Comercial Name</vn-label>
{{$ctrl.summary.client.salesPerson.firstName}}
{{$ctrl.summary.client.salesPerson.name}}
</p>
<p><vn-label translate>Agency</vn-label> {{$ctrl.summary.agencyMode.name}}</p>
<p><vn-label translate>Warehouse</vn-label> {{$ctrl.summary.warehouse.name}}</p>
<p><vn-label translate>Packages</vn-label> {{$ctrl.summary.packages}}</p>
</vn-one>
<vn-one>
<p><vn-label translate>Shipped</vn-label> {{$ctrl.summary.shipped | date: 'dd/MM/yyyy'}}</p>
<p><vn-label translate>Landed</vn-label> {{$ctrl.summary.landed | date: 'dd/MM/yyyy'}}</p>
<p><vn-label translate>Route</vn-label> {{$ctrl.summary.routeFk}}</p>
<p><vn-label translate>Address</vn-label> {{$ctrl.summary.address.street}}</p>
<p><vn-label translate>Phone</vn-label> {{$ctrl.summary.address.phone}}</p>
</vn-one>
<vn-one>
<p ng-repeat="note in $ctrl.summary.notes track by note.id">
<vn-label translate>{{note.observationType.description}}</vn-label>
{{note.description}}
</p>
</vn-one>
<vn-one>
<p><vn-label translate>Subtotal</vn-label> {{0}}</p>
<p><vn-label translate>IVA(n%)</vn-label> {{0}}</p>
<p><vn-label translate>TOTAL</vn-label> {{0}}</p>
</vn-one>
</vn-horizontal>
<vn-horizontal>
<table class="vn-grid">
<thead>
<tr>
<th></th>
<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 $ctrl.summary.sales track by sale.id">
<td>
<!-- <i pointer
class="material-icons"
vn-tooltip="delete expedition"
ng-click="$ctrl.deleteExpedition(expedition)">warning</i> -->
</td>
<td number>{{("000000"+sale.itemFk).slice(-6)}}</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>
2018-03-14 11:12:06 +00:00
</vn-horizontal>
</vn-vertical>
</vn-card>