2018-07-18 12:21:58 +00:00
|
|
|
<vn-card margin-medium-v class="vn-descriptor">
|
|
|
|
<vn-horizontal class="header">
|
|
|
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="order.index">
|
|
|
|
<vn-icon icon="chevron_left"></vn-icon>
|
|
|
|
</a>
|
|
|
|
<vn-icon icon="shopping_cart"></vn-icon>
|
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="order.card.summary">
|
|
|
|
<vn-icon icon="desktop_windows"></vn-icon>
|
|
|
|
</a>
|
|
|
|
</vn-horizontal>
|
|
|
|
<div pad-medium>
|
|
|
|
<vn-label-value label="ID"
|
|
|
|
value="{{$ctrl.order.id}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Client"
|
|
|
|
value="{{$ctrl.order.client.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="State"
|
2018-07-18 12:44:14 +00:00
|
|
|
value="{{$ctrl.order.isConfirmed ? $ctrl.translate.instant('Confirmed') : $ctrl.translate.instant('Not confirmed')}}">
|
2018-07-18 12:21:58 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Sales person"
|
|
|
|
value="{{$ctrl.order.client.salesPerson.firstName}} {{$ctrl.order.client.salesPerson.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Landed"
|
|
|
|
value="{{$ctrl.order.landed | date: 'dd/MM/yyyy HH:mm' }}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Agency"
|
|
|
|
value="{{$ctrl.order.agencyMode.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Alias"
|
|
|
|
value="{{$ctrl.order.address.nickname}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Items"
|
|
|
|
value="{{$ctrl.order.rows.length}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Total"
|
|
|
|
value="{{$ctrl.order.total || 0 | currency: ' €': 2}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</div>
|
|
|
|
</vn-card>
|