From 2681060878bbcf39be61b82b65c7b99b19331000 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Mon, 18 May 2020 14:59:58 +0200 Subject: [PATCH] update mehod ticket summary --- modules/ticket/back/methods/ticket/summary.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/modules/ticket/back/methods/ticket/summary.js b/modules/ticket/back/methods/ticket/summary.js index 3a73c85830..2035b4d314 100644 --- a/modules/ticket/back/methods/ticket/summary.js +++ b/modules/ticket/back/methods/ticket/summary.js @@ -69,8 +69,7 @@ module.exports = Self => { } } } - }, - { + }, { relation: 'address', scope: { fields: ['street', 'city', 'provinceFk', 'phone', 'mobile'], @@ -81,8 +80,7 @@ module.exports = Self => { } } } - }, - { + }, { relation: 'notes', scope: { fields: ['id', 'observationTypeFk', 'description'], @@ -91,8 +89,7 @@ module.exports = Self => { fields: ['description'] } } - }, - { + }, { relation: 'state', scope: { fields: ['stateFk'], @@ -101,8 +98,7 @@ module.exports = Self => { fields: ['name'] } } - }, - { + }, { relation: 'invoiceOut', scope: { fields: ['id']