5120-reports_loopback #1389

Merged
joan merged 8 commits from 5120-reports_loopback into dev 2023-03-16 06:34:52 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 19fcf5d536 - Show all commits

View File

@ -6,7 +6,7 @@ module.exports = {
mixins: [vnReport], mixins: [vnReport],
async serverPrefetch() { async serverPrefetch() {
this.receipt = await app.models.Receipt.findOne({ this.receipt = await app.models.Receipt.findOne({
fields: ['amountPaid', 'payed', 'clientFk', 'companyFk'], fields: ['amountPaid', 'payed', 'clientFk', 'companyFk', 'description'],
include: [ include: [
{ {
relation: 'client', relation: 'client',