salix/print/templates/email/claim-pickup-order/claim-pickup-order.js

23 lines
525 B
JavaScript
Executable File

const Component = require(`${appPath}/core/component`);
const emailHeader = new Component('email-header');
const emailFooter = new Component('email-footer');
const attachments = require('./attachments.json');
module.exports = {
name: 'claim-pickup-order',
data() {
return {
attachments
};
},
components: {
'email-header': emailHeader.build(),
'email-footer': emailFooter.build()
},
props: {
claimId: {
required: true
}
}
};