diff --git a/modules/claim/front/card/index.js b/modules/claim/front/card/index.js index 76cbaa78e..22209ee5c 100644 --- a/modules/claim/front/card/index.js +++ b/modules/claim/front/card/index.js @@ -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', diff --git a/modules/claim/front/descriptor/index.html b/modules/claim/front/descriptor/index.html index 59b51247c..7f492e6b0 100644 --- a/modules/claim/front/descriptor/index.html +++ b/modules/claim/front/descriptor/index.html @@ -34,7 +34,10 @@ - + + diff --git a/modules/claim/front/descriptor/index.js b/modules/claim/front/descriptor/index.js index 4ef8a5b77..abbdcf43f 100644 --- a/modules/claim/front/descriptor/index.js +++ b/modules/claim/front/descriptor/index.js @@ -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' } }; } diff --git a/modules/claim/front/locale/es.yml b/modules/claim/front/locale/es.yml index 654f20fa1..5c10c79ad 100644 --- a/modules/claim/front/locale/es.yml +++ b/modules/claim/front/locale/es.yml @@ -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