const vnReport = require('../../../core/mixins/vn-report.js'); module.exports = { name: 'claim-pickup-order', mixins: [vnReport], async serverPrefetch() { this.client = await this.findOneFromDef('client', [this.id]); this.checkMainEntity(this.client); this.sales = await this.rawSqlFromDef('sales', [this.id]); }, props: { id: { type: Number, required: true, description: 'The claim id' } }, };