salix/client/item/src/ticket-descriptor/index.html

63 lines
2.5 KiB
HTML
Raw Normal View History

2018-04-10 05:39:43 +00:00
<vn-card margin-medium-v class="vn-descriptor">
<vn-horizontal class="header">
<a translate-attr="{title: 'Return to module index'}" ui-sref="ticket.index">
2018-04-10 05:39:43 +00:00
<vn-icon icon="chevron_left"></vn-icon>
</a>
<vn-icon icon="icon-ticket"></vn-icon>
<a translate-attr="{title: 'Preview'}" ui-sref="ticket.card.summary">
<vn-icon icon="desktop_windows"></vn-icon>
</a>
</vn-horizontal>
2018-05-31 06:57:25 +00:00
<div pad-medium>
<h5>{{::$ctrl.client.name}}</h5>
2018-05-31 06:57:25 +00:00
<vn-label-value label="Id"
value="{{$ctrl.ticket.id}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Client"
class="link"
ng-click="$ctrl.showDescriptor($event, $ctrl.ticket.client.id)"
value="{{$ctrl.ticket.client.name}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="State"
value="{{$ctrl.ticket.tracking.state.name}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Sales person"
value="{{$ctrl.ticket.client.salesPerson.firstName}} {{$ctrl.ticket.client.salesPerson.name}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Shipped"
value="{{$ctrl.ticket.shipped | date: 'dd/MM/yyyy HH:mm' }}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Agency"
value="{{$ctrl.ticket.agencyMode.name}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Warehouse"
value="{{$ctrl.ticket.warehouse.name}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
<vn-label-value label="Alias"
value="{{$ctrl.ticket.nickname}}">
2018-05-31 06:57:25 +00:00
</vn-label-value>
</div>
<vn-horizontal pad-medium-bottom class="footer">
<vn-icon vn-one
vn-tooltip="Client inactive"
icon="icon-disabled"
ng-class="{bright: $ctrl.ticket.client.isActive == false}">
</vn-icon>
<vn-icon vn-one
vn-tooltip="Client Frozen"
icon="icon-frozen"
ng-class="{bright: $ctrl.ticket.client.isFreezed == true}">
</vn-icon>
<vn-icon vn-one
vn-tooltip="Client has debt"
icon="icon-risk"
ng-class="{bright: $ctrl.clientDebt > 0}">
</vn-icon>
<vn-icon vn-one
vn-tooltip="Client not checked"
icon="icon-no036"
ng-class="{bright: $ctrl.ticket.client.isTaxDataChecked == false}">
</vn-icon>
</vn-horizontal>
2018-04-10 05:39:43 +00:00
</vn-card>
<vn-client-descriptor-popover vn-id="descriptor"></vn-client-descriptor-popover>