#1068 claim.descriptor
This commit is contained in:
parent
91d3e75587
commit
b791195b89
|
@ -7,6 +7,15 @@ class Controller {
|
||||||
this.filter = {
|
this.filter = {
|
||||||
include: [
|
include: [
|
||||||
{relation: 'worker', scope: {fields: ['name', 'firstName']}},
|
{relation: 'worker', scope: {fields: ['name', 'firstName']}},
|
||||||
|
{
|
||||||
|
relation: 'ticket',
|
||||||
|
scope: {
|
||||||
|
fields: ['agencyModeFk'],
|
||||||
|
include: {
|
||||||
|
relation: 'agencyMode'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{relation: 'claimState', scope: {fields: ['id', 'description']}},
|
{relation: 'claimState', scope: {fields: ['id', 'description']}},
|
||||||
{
|
{
|
||||||
relation: 'client',
|
relation: 'client',
|
||||||
|
|
|
@ -34,7 +34,10 @@
|
||||||
<vn-label-value label="Attended by"
|
<vn-label-value label="Attended by"
|
||||||
value="{{$ctrl.claim.worker.firstName}} {{$ctrl.claim.worker.name}}">
|
value="{{$ctrl.claim.worker.firstName}} {{$ctrl.claim.worker.name}}">
|
||||||
</vn-label-value>
|
</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}}">
|
value="{{$ctrl.claim.ticketFk}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,6 +26,11 @@ class Controller {
|
||||||
icon: 'person',
|
icon: 'person',
|
||||||
state: `client.card.summary({id: ${value.clientFk}})`,
|
state: `client.card.summary({id: ${value.clientFk}})`,
|
||||||
tooltip: 'Client card'
|
tooltip: 'Client card'
|
||||||
|
},
|
||||||
|
btnTwo: {
|
||||||
|
icon: 'icon-ticket',
|
||||||
|
state: `ticket.card.summary({id: ${this.claim.ticketFk}})`,
|
||||||
|
tooltip: 'Claimed ticket'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#Ordenar alfabeticamente
|
#Ordenar alfabeticamente
|
||||||
Add sale: Añadir linea
|
Add sale: Añadir linea
|
||||||
Client Id: Id cliente
|
Client Id: Id cliente
|
||||||
|
Claimed ticket: Ticket reclamado
|
||||||
Observation: Observación
|
Observation: Observación
|
||||||
Responsible: Responsable
|
Responsible: Responsable
|
||||||
Remove sale: Borrar linea
|
Remove sale: Borrar linea
|
||||||
|
|
Loading…
Reference in New Issue