From 26ba8b2463db2905e4f879917afc2847888d4ba0 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Mon, 8 Apr 2019 16:53:37 +0200 Subject: [PATCH] #1312 InvoiceOut.descriptor --- modules/invoiceOut/front/card/index.js | 2 +- modules/invoiceOut/front/descriptor-popover/index.js | 6 ++++++ modules/invoiceOut/front/descriptor/index.html | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/modules/invoiceOut/front/card/index.js b/modules/invoiceOut/front/card/index.js index a36de8750..b67d28530 100644 --- a/modules/invoiceOut/front/card/index.js +++ b/modules/invoiceOut/front/card/index.js @@ -23,7 +23,7 @@ export default class Controller { }, { relation: 'client', scope: { - fields: ['id', 'socialName'] + fields: ['id', 'socialName', 'name'] } } ] diff --git a/modules/invoiceOut/front/descriptor-popover/index.js b/modules/invoiceOut/front/descriptor-popover/index.js index be55303ad..c6f52e1a6 100644 --- a/modules/invoiceOut/front/descriptor-popover/index.js +++ b/modules/invoiceOut/front/descriptor-popover/index.js @@ -48,6 +48,12 @@ class Controller extends Component { scope: { fields: ['id', 'code'] } + }, + { + relation: 'client', + scope: { + fields: ['id', 'name'] + } } ] }; diff --git a/modules/invoiceOut/front/descriptor/index.html b/modules/invoiceOut/front/descriptor/index.html index a37199635..65d4816fe 100644 --- a/modules/invoiceOut/front/descriptor/index.html +++ b/modules/invoiceOut/front/descriptor/index.html @@ -13,11 +13,11 @@ - + + value="{{$ctrl.invoiceOut.client.name}}">