5120-reports_loopback #1389
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue