2019-01-21 14:21:24 +00:00
|
|
|
<div class="vn-descriptor">
|
|
|
|
<div 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>
|
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="claim.card.summary({id: $ctrl.claim.id})">
|
|
|
|
<vn-icon icon="desktop_windows"></vn-icon>
|
|
|
|
</a>
|
2019-01-25 14:08:11 +00:00
|
|
|
<vn-icon-menu
|
|
|
|
vn-id="more-button"
|
|
|
|
icon="more_vert"
|
|
|
|
show-filter="false"
|
|
|
|
value-field="callback"
|
|
|
|
translate-fields="['name']"
|
|
|
|
data="$ctrl.moreOptions"
|
|
|
|
on-change="$ctrl.onMoreChange(value)">
|
|
|
|
</vn-icon-menu>
|
2019-01-21 14:21:24 +00:00
|
|
|
</div>
|
|
|
|
<div class="body">
|
|
|
|
<div class="attributes">
|
2018-08-24 11:16:11 +00:00
|
|
|
<h5>{{$ctrl.claim.id}}</h5>
|
|
|
|
<vn-label-value label="Client"
|
|
|
|
value="{{::$ctrl.claim.client.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="State"
|
2018-09-19 05:41:07 +00:00
|
|
|
value="{{$ctrl.claim.claimState.description}}">
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Created"
|
2019-04-25 12:51:22 +00:00
|
|
|
value="{{$ctrl.claim.created | dateTime: 'dd/MM/yyyy HH:mm'}}">
|
2018-12-13 07:31:05 +00:00
|
|
|
</vn-label-value>
|
2018-08-30 07:19:09 +00:00
|
|
|
<vn-label-value label="Salesperson"
|
2019-01-30 15:03:29 +00:00
|
|
|
value="{{$ctrl.claim.client.salesPerson.user.nickname}}">
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
2018-08-30 07:19:09 +00:00
|
|
|
<vn-label-value label="Attended by"
|
2019-01-30 15:03:29 +00:00
|
|
|
value="{{$ctrl.claim.worker.user.nickname}}">
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
2019-01-30 07:44:15 +00:00
|
|
|
<vn-label-value label="Agency"
|
|
|
|
value="{{$ctrl.claim.ticket.agencyMode.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Ticket"
|
2018-12-13 07:31:05 +00:00
|
|
|
value="{{$ctrl.claim.ticketFk}}">
|
|
|
|
</vn-label-value>
|
2019-01-21 14:21:24 +00:00
|
|
|
</div>
|
|
|
|
<div class="quicklinks">
|
|
|
|
<a ng-if="$ctrl.quicklinks.btnOne"
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnOne.tooltip}}"
|
|
|
|
ui-sref="{{::$ctrl.quicklinks.btnOne.state}}" target="_blank">
|
|
|
|
<vn-icon
|
|
|
|
class="mdl-button mdl-js-button mdl-button--colored"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnOne.icon}}">
|
|
|
|
</vn-icon>
|
|
|
|
</a>
|
|
|
|
<a ng-if="$ctrl.quicklinks.btnTwo"
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnTwo.tooltip}}"
|
|
|
|
ui-sref="{{::$ctrl.quicklinks.btnTwo.state}}" target="_blank">
|
|
|
|
<vn-icon
|
|
|
|
class="mdl-button mdl-js-button mdl-button--colored"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnTwo.icon}}">
|
|
|
|
</vn-icon>
|
|
|
|
</a>
|
|
|
|
<a ng-if="$ctrl.quicklinks.btnThree"
|
|
|
|
vn-tooltip="{{::$ctrl.quicklinks.btnThree.tooltip}}"
|
|
|
|
ui-sref="{{::$ctrl.quicklinks.btnThree.state}}" target="_blank">
|
|
|
|
<vn-icon
|
|
|
|
class="mdl-button mdl-js-button mdl-button--colored"
|
|
|
|
icon="{{::$ctrl.quicklinks.btnThree.icon}}">
|
|
|
|
</vn-icon>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-25 14:08:11 +00:00
|
|
|
<vn-confirm
|
2019-02-12 06:42:19 +00:00
|
|
|
vn-id="confirm-pickup-order"
|
|
|
|
on-response="$ctrl.sendPickupOrder(response)"
|
|
|
|
question="Send Pickup order"
|
|
|
|
message="Are you sure you want to send it?">
|
2019-01-25 14:08:11 +00:00
|
|
|
</vn-confirm>
|