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

61 lines
2.7 KiB
HTML
Raw Normal View History

2019-01-20 17:48:03 +00:00
<vn-card 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"
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 | dateTime: 'dd/MM/yyyy'}}">
2018-12-13 07:31:05 +00:00
</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>
2018-12-13 07:31:05 +00:00
<vn-label-value label="Ticket" ui-sref="ticket.card.summary({id: $ctrl.claim.ticketFk})" class="link"
value="{{$ctrl.claim.ticketFk}}">
</vn-label-value>
2018-08-24 11:16:11 +00:00
</vn-auto>
</vn-vertical>
<vn-horizontal pad-small class="quicklinks">
2018-10-03 06:00:19 +00:00
<a ng-if="$ctrl.quicklinks.btnOne" pad-small-right
2018-08-24 11:16:11 +00:00
vn-tooltip="{{::$ctrl.quicklinks.btnOne.tooltip}}"
2018-10-03 06:00:19 +00:00
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" pad-small-right
2018-08-24 11:16:11 +00:00
vn-tooltip="{{::$ctrl.quicklinks.btnTwo.tooltip}}"
2018-10-03 06:00:19 +00:00
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" pad-small-right
2018-08-24 11:16:11 +00:00
vn-tooltip="{{::$ctrl.quicklinks.btnThree.tooltip}}"
2018-10-03 06:00:19 +00:00
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>
2018-08-24 11:16:11 +00:00
</vn-horizontal>
</vn-card>