#1068 claim.descriptor

This commit is contained in:
Gerard 2019-01-30 08:44:15 +01:00
parent 91d3e75587
commit b791195b89
4 changed files with 19 additions and 1 deletions

View File

@ -7,6 +7,15 @@ class Controller {
this.filter = {
include: [
{relation: 'worker', scope: {fields: ['name', 'firstName']}},
{
relation: 'ticket',
scope: {
fields: ['agencyModeFk'],
include: {
relation: 'agencyMode'
}
}
},
{relation: 'claimState', scope: {fields: ['id', 'description']}},
{
relation: 'client',

View File

@ -34,7 +34,10 @@
<vn-label-value label="Attended by"
value="{{$ctrl.claim.worker.firstName}} {{$ctrl.claim.worker.name}}">
</vn-label-value>
<vn-label-value label="Ticket" ui-sref="ticket.card.summary({id: $ctrl.claim.ticketFk})" class="link"
<vn-label-value label="Agency"
value="{{$ctrl.claim.ticket.agencyMode.name}}">
</vn-label-value>
<vn-label-value label="Ticket"
value="{{$ctrl.claim.ticketFk}}">
</vn-label-value>
</div>

View File

@ -26,6 +26,11 @@ class Controller {
icon: 'person',
state: `client.card.summary({id: ${value.clientFk}})`,
tooltip: 'Client card'
},
btnTwo: {
icon: 'icon-ticket',
state: `ticket.card.summary({id: ${this.claim.ticketFk}})`,
tooltip: 'Claimed ticket'
}
};
}

View File

@ -1,6 +1,7 @@
#Ordenar alfabeticamente
Add sale: Añadir linea
Client Id: Id cliente
Claimed ticket: Ticket reclamado
Observation: Observación
Responsible: Responsable
Remove sale: Borrar linea