salix/modules/claim/front/descriptor/index.html

63 lines
2.2 KiB
HTML
Raw Normal View History

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)"
on-open="$ctrl.onMoreOpen()">
2019-01-25 14:08:11 +00:00
</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"
value="{{$ctrl.claim.created | date: '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>
2019-10-18 19:36:30 +00:00
<vn-quick-links
links="$ctrl.quicklinks">
</vn-quick-links>
2019-01-21 14:21:24 +00:00
</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?">
</vn-confirm>
<vn-confirm
vn-id="confirm-delete-claim"
on-response="$ctrl.deleteClaim(response)"
question="Delete claim"
message="Are you sure you want to delete this claim?">
</vn-confirm>