#1312 InvoiceOut.descriptor
gitea/salix/dev Something is wrong with the build of this commit Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-04-08 16:53:37 +02:00
parent e2f243454a
commit 26ba8b2463
3 changed files with 10 additions and 4 deletions

View File

@ -23,7 +23,7 @@ export default class Controller {
}, {
relation: 'client',
scope: {
fields: ['id', 'socialName']
fields: ['id', 'socialName', 'name']
}
}
]

View File

@ -48,6 +48,12 @@ class Controller extends Component {
scope: {
fields: ['id', 'code']
}
},
{
relation: 'client',
scope: {
fields: ['id', 'name']
}
}
]
};

View File

@ -13,11 +13,11 @@
<vn-label-value label="Date"
value="{{$ctrl.invoiceOut.issued | dateTime: 'dd/MM/yyyy'}}">
</vn-label-value>
<vn-label-value label="Agency"
value="{{$ctrl.invoiceOut.amount}}">
<vn-label-value label="Import"
value="{{$ctrl.invoiceOut.amount | currency: 'EUR': 2}}">
</vn-label-value>
<vn-label-value label="Client"
value="{{$ctrl.invoiceOut.clientFk}} - {{$ctrl.invoiceOut.client.socialName}}">
value="{{$ctrl.invoiceOut.client.name}}">
</vn-label-value>
<vn-label-value label="Company"
value="{{$ctrl.invoiceOut.company.code}}">