salix/print/templates/email/receipt/receipt.js

16 lines
307 B
JavaScript
Raw Permalink Normal View History

const Component = require(`vn-print/core/component`);
const emailBody = new Component('email-body');
module.exports = {
name: 'receipt',
components: {
'email-body': emailBody.build(),
},
props: {
id: {
type: Number,
required: true
}
}
};