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}}">