2020-04-30 10:48:52 +00:00
|
|
|
<vn-descriptor-content module="claim">
|
|
|
|
<slot-menu>
|
|
|
|
<ul class="vn-list">
|
|
|
|
<li>
|
|
|
|
<a class="vn-item"
|
|
|
|
ui-sref="ticket.create({clientFk: $ctrl.client.id})"
|
|
|
|
translate>
|
|
|
|
Show Pickup order
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="vn-item"
|
|
|
|
ng-click="confirmPickupOrder.show()"
|
|
|
|
translate>
|
|
|
|
Send Pickup order
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li vn-acl="salesAssistant">
|
|
|
|
<div class="vn-item"
|
|
|
|
ng-click="confirmDeleteClaim.show()"
|
|
|
|
translate>
|
|
|
|
Delete claim
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</slot-menu>
|
|
|
|
<slot-body>
|
2019-01-21 14:21:24 +00:00
|
|
|
<div class="attributes">
|
2018-08-24 11:16:11 +00:00
|
|
|
<h5>{{$ctrl.claim.id}}</h5>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Client"
|
|
|
|
value="{{::$ctrl.claim.client.name}}">
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<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>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Created"
|
|
|
|
value="{{$ctrl.claim.created | date: 'dd/MM/yyyy HH:mm'}}">
|
2018-12-13 07:31:05 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +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>
|
2020-04-30 10:48:52 +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>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Agency"
|
|
|
|
value="{{$ctrl.claim.ticket.agencyMode.name}}">
|
2019-01-30 07:44:15 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Ticket"
|
|
|
|
value="{{$ctrl.claim.ticketFk}}">
|
2018-12-13 07:31:05 +00:00
|
|
|
</vn-label-value>
|
2019-01-21 14:21:24 +00:00
|
|
|
</div>
|
2020-04-30 10:48:52 +00:00
|
|
|
<div class="quicklinks">
|
|
|
|
<div ng-transclude="btnOne">
|
|
|
|
<vn-quick-link
|
|
|
|
tooltip="Client ticket list"
|
|
|
|
state="['client.card.summary', {id: $ctrl.claim.clientFk}]"
|
|
|
|
icon="person">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnTwo">
|
|
|
|
<vn-quick-link
|
|
|
|
tooltip="Claimed ticket"
|
|
|
|
state="['ticket.card.summary', {id: $ctrl.claim.ticketFk}]"
|
|
|
|
icon="icon-ticket">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnThree"></div>
|
|
|
|
</div>
|
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|
2019-01-25 14:08:11 +00:00
|
|
|
<vn-confirm
|
2019-02-12 06:42:19 +00:00
|
|
|
vn-id="confirm-pickup-order"
|
2020-04-30 10:48:52 +00:00
|
|
|
on-accept="$ctrl.sendPickupOrder()"
|
2019-02-12 06:42:19 +00:00
|
|
|
question="Send Pickup order"
|
|
|
|
message="Are you sure you want to send it?">
|
2019-06-14 07:29:23 +00:00
|
|
|
</vn-confirm>
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="confirm-delete-claim"
|
2020-04-30 10:48:52 +00:00
|
|
|
on-accept="$ctrl.deleteClaim()"
|
2019-06-14 07:29:23 +00:00
|
|
|
question="Delete claim"
|
2019-07-01 09:56:16 +00:00
|
|
|
message="Are you sure you want to delete this claim?">
|
|
|
|
</vn-confirm>
|
|
|
|
|