salix/print/templates/email/sepa-core/sepa-core.js

24 lines
494 B
JavaScript
Executable File

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