This commit is contained in:
parent
3ed04211fd
commit
25f0c0d9e3
|
@ -19,10 +19,26 @@ class Controller extends ModuleCard {
|
||||||
}, {
|
}, {
|
||||||
relation: 'ticket',
|
relation: 'ticket',
|
||||||
scope: {
|
scope: {
|
||||||
fields: ['zoneFk'],
|
fields: ['zoneFk', 'addressFk'],
|
||||||
include: {
|
include: [
|
||||||
relation: 'zone'
|
{
|
||||||
|
relation: 'zone',
|
||||||
|
scope: {
|
||||||
|
fields: ['name']
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
relation: 'address',
|
||||||
|
scope: {
|
||||||
|
fields: ['provinceFk'],
|
||||||
|
include: {
|
||||||
|
relation: 'province',
|
||||||
|
scope: {
|
||||||
|
fields: ['name']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
relation: 'claimState',
|
relation: 'claimState',
|
||||||
|
|
|
@ -55,9 +55,13 @@
|
||||||
<span
|
<span
|
||||||
ng-click="zoneDescriptor.show($event, $ctrl.claim.ticket.zoneFk)"
|
ng-click="zoneDescriptor.show($event, $ctrl.claim.ticket.zoneFk)"
|
||||||
class="link">
|
class="link">
|
||||||
{{$ctrl.claim.ticket.zoneFk}}
|
{{$ctrl.claim.ticket.zone.name}}
|
||||||
</span>
|
</span>
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
|
<vn-label-value
|
||||||
|
label="Province"
|
||||||
|
value="{{$ctrl.claim.ticket.address.province.name}}">
|
||||||
|
</vn-label-value>
|
||||||
<vn-label-value
|
<vn-label-value
|
||||||
label="Ticket">
|
label="Ticket">
|
||||||
<span
|
<span
|
||||||
|
|
Loading…
Reference in New Issue