2018-08-27 09:41:25 +00:00
|
|
|
<vn-card margin-medium-v class="vn-descriptor">
|
2018-08-24 11:16:11 +00:00
|
|
|
<vn-horizontal class="header">
|
2018-08-27 09:48:37 +00:00
|
|
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="claim.index">
|
2018-08-24 11:16:11 +00:00
|
|
|
<vn-icon icon="chevron_left"></vn-icon>
|
|
|
|
</a>
|
|
|
|
<vn-icon icon=""></vn-icon>
|
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="claim.card.summary({id: $ctrl.claim.id})">
|
|
|
|
<vn-icon icon="desktop_windows"></vn-icon>
|
|
|
|
</a>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-auto pad-medium>
|
|
|
|
<h5>{{$ctrl.claim.id}}</h5>
|
|
|
|
<vn-label-value label="Client"
|
|
|
|
value="{{::$ctrl.claim.client.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="State"
|
|
|
|
value="{{::$ctrl.claim.claimState.description}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Created"
|
|
|
|
value="{{$ctrl.claim.created | dateTime: 'dd/MM/yyyy'}}">
|
|
|
|
</vn-label-value>
|
2018-08-30 07:19:09 +00:00
|
|
|
<vn-label-value label="Salesperson"
|
2018-08-24 11:16:11 +00:00
|
|
|
value="{{$ctrl.claim.client.salesPerson.firstName}} {{$ctrl.claim.client.salesPerson.name}}">
|
|
|
|
</vn-label-value>
|
2018-08-30 07:19:09 +00:00
|
|
|
<vn-label-value label="Attended by"
|
2018-08-24 11:16:11 +00:00
|
|
|
value="{{$ctrl.claim.worker.firstName}} {{$ctrl.claim.worker.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
|
|
|
|
</vn-auto>
|
|
|
|
</vn-vertical>
|
|
|
|
<vn-horizontal pad-small class="quicklinks">
|
|
|
|
<vn-button ng-if="$ctrl.quicklinks.btnOne" pad-small-right
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnOne.tooltip}}"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnOne.icon}}"
|
|
|
|
ng-click="$ctrl.quicklinkGo($ctrl.quicklinks.btnOne.state, $ctrl.quicklinks.btnOne.params)">
|
|
|
|
</vn-button>
|
|
|
|
|
|
|
|
<vn-button ng-if="$ctrl.quicklinks.btnTwo" pad-small-right
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnTwo.tooltip}}"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnTwo.icon}}"
|
|
|
|
ng-click="$ctrl.quicklinkGo($ctrl.quicklinks.btnTwo.state, $ctrl.quicklinks.btnTwo.params)">
|
|
|
|
</vn-button>
|
|
|
|
|
|
|
|
<vn-button ng-if="$ctrl.quicklinks.btnThree" pad-small-right
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnThree.tooltip}}"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnThree.icon}}"
|
|
|
|
ng-click="$ctrl.quicklinkGo($ctrl.quicklinks.btnThree.state, $ctrl.quicklinks.btnThree.params)">
|
|
|
|
</vn-button>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|