41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
|
<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"
|
||
|
value="{{$ctrl.order.isConfirmed ? 'Confirmed' : 'Not Confirmed'}}">
|
||
|
</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>
|