update mehod ticket summary
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2020-05-18 14:59:58 +02:00
parent 369d8d59d8
commit 2681060878
1 changed files with 4 additions and 8 deletions

View File

@ -69,8 +69,7 @@ module.exports = Self => {
} }
} }
} }
}, }, {
{
relation: 'address', relation: 'address',
scope: { scope: {
fields: ['street', 'city', 'provinceFk', 'phone', 'mobile'], fields: ['street', 'city', 'provinceFk', 'phone', 'mobile'],
@ -81,8 +80,7 @@ module.exports = Self => {
} }
} }
} }
}, }, {
{
relation: 'notes', relation: 'notes',
scope: { scope: {
fields: ['id', 'observationTypeFk', 'description'], fields: ['id', 'observationTypeFk', 'description'],
@ -91,8 +89,7 @@ module.exports = Self => {
fields: ['description'] fields: ['description']
} }
} }
}, }, {
{
relation: 'state', relation: 'state',
scope: { scope: {
fields: ['stateFk'], fields: ['stateFk'],
@ -101,8 +98,7 @@ module.exports = Self => {
fields: ['name'] fields: ['name']
} }
} }
}, }, {
{
relation: 'invoiceOut', relation: 'invoiceOut',
scope: { scope: {
fields: ['id'] fields: ['id']