2020-05-06 12:38:09 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="claim"
|
2022-04-11 06:02:05 +00:00
|
|
|
description="$ctrl.claim.client.name"
|
|
|
|
summary="$ctrl.$.summary">
|
2020-04-30 10:48:52 +00:00
|
|
|
<slot-menu>
|
2020-05-22 13:20:55 +00:00
|
|
|
<vn-item
|
|
|
|
ng-click="$ctrl.showPickupOrder()"
|
2020-05-06 12:38:09 +00:00
|
|
|
translate>
|
|
|
|
Show Pickup order
|
2020-05-22 13:20:55 +00:00
|
|
|
</vn-item>
|
2020-05-06 12:38:09 +00:00
|
|
|
<vn-item
|
|
|
|
ng-click="confirmPickupOrder.show()"
|
2022-09-22 07:17:14 +00:00
|
|
|
vn-acl="salesPerson"
|
|
|
|
vn-acl-action="remove"
|
2020-05-06 12:38:09 +00:00
|
|
|
translate>
|
|
|
|
Send Pickup order
|
|
|
|
</vn-item>
|
|
|
|
<vn-item
|
2020-10-26 11:16:57 +00:00
|
|
|
vn-acl="claimManager"
|
2020-05-06 12:38:09 +00:00
|
|
|
vn-acl-action="remove"
|
|
|
|
ng-click="confirmDeleteClaim.show()"
|
|
|
|
name="deleteClaim"
|
|
|
|
translate>
|
|
|
|
Delete claim
|
|
|
|
</vn-item>
|
2020-04-30 10:48:52 +00:00
|
|
|
</slot-menu>
|
|
|
|
<slot-body>
|
2019-01-21 14:21:24 +00:00
|
|
|
<div class="attributes">
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
2022-12-23 11:38:05 +00:00
|
|
|
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
|
2022-12-23 11:38:05 +00:00
|
|
|
label="Created"
|
2020-04-30 10:48:52 +00:00
|
|
|
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
|
2020-09-03 13:11:16 +00:00
|
|
|
label="Salesperson">
|
2022-12-23 11:38:05 +00:00
|
|
|
<span
|
2020-09-03 13:11:16 +00:00
|
|
|
ng-click="workerDescriptor.show($event, $ctrl.claim.client.salesPersonFk)"
|
|
|
|
class="link">
|
|
|
|
{{$ctrl.claim.client.salesPersonUser.name}}
|
|
|
|
</span>
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
2020-09-03 13:11:16 +00:00
|
|
|
label="Attended by">
|
2022-12-23 11:38:05 +00:00
|
|
|
<span
|
2020-09-03 13:11:16 +00:00
|
|
|
ng-click="workerDescriptor.show($event, $ctrl.claim.worker.userFk)"
|
|
|
|
class="link">
|
|
|
|
{{$ctrl.claim.worker.user.name}}
|
|
|
|
</span>
|
2018-08-24 11:16:11 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
2022-12-23 11:38:05 +00:00
|
|
|
label="Zone">
|
|
|
|
<span
|
|
|
|
ng-click="zoneDescriptor.show($event, $ctrl.claim.ticket.zoneFk)"
|
|
|
|
class="link">
|
2023-01-26 13:16:30 +00:00
|
|
|
{{$ctrl.claim.ticket.zone.name}}
|
2022-12-23 11:38:05 +00:00
|
|
|
</span>
|
2019-01-30 07:44:15 +00:00
|
|
|
</vn-label-value>
|
2023-01-26 13:16:30 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Province"
|
|
|
|
value="{{$ctrl.claim.ticket.address.province.name}}">
|
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
2020-09-03 13:11:16 +00:00
|
|
|
label="Ticket">
|
2022-12-23 11:38:05 +00:00
|
|
|
<span
|
2020-09-03 13:11:16 +00:00
|
|
|
ng-click="ticketDescriptor.show($event, $ctrl.claim.ticketFk)"
|
|
|
|
class="link">
|
|
|
|
{{$ctrl.claim.ticketFk}}
|
|
|
|
</span>
|
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>
|
2023-03-09 13:34:06 +00:00
|
|
|
<div ng-transclude="btnThree">
|
|
|
|
<vn-quick-link
|
2023-03-10 07:17:10 +00:00
|
|
|
tooltip="Sale tracking"
|
2023-03-09 13:34:06 +00:00
|
|
|
state="['ticket.card.saleTracking', {id: $ctrl.claim.ticketFk}]"
|
|
|
|
icon="assignment">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnFour">
|
|
|
|
<vn-quick-link
|
|
|
|
tooltip="Ticket tracking"
|
|
|
|
state="['ticket.card.tracking.index', {id: $ctrl.claim.ticketFk}]"
|
|
|
|
icon="icon-eye">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
2020-04-30 10:48:52 +00:00
|
|
|
</div>
|
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|
2019-01-25 14:08:11 +00:00
|
|
|
<vn-confirm
|
2020-05-06 12:38:09 +00:00
|
|
|
vn-id="confirmPickupOrder"
|
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
|
2020-05-06 12:38:09 +00:00
|
|
|
vn-id="confirmDeleteClaim"
|
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?">
|
2020-09-03 13:11:16 +00:00
|
|
|
</vn-confirm>
|
2022-12-23 11:38:05 +00:00
|
|
|
<vn-worker-descriptor-popover
|
2020-09-03 13:11:16 +00:00
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|
2022-12-23 11:38:05 +00:00
|
|
|
<vn-ticket-descriptor-popover
|
2020-09-03 13:11:16 +00:00
|
|
|
vn-id="ticketDescriptor">
|
2022-04-11 06:02:05 +00:00
|
|
|
</vn-ticket-descriptor-popover>
|
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-claim-summary claim="$ctrl.claim"></vn-claim-summary>
|
2022-12-23 11:38:05 +00:00
|
|
|
</vn-popup>
|
|
|
|
<vn-zone-descriptor-popover
|
|
|
|
vn-id="zoneDescriptor">
|
|
|
|
</vn-zone-descriptor-popover>
|