2022-09-22 07:42:04 +00:00
|
|
|
const Component = require(`vn-print/core/component`);
|
2021-07-19 08:16:15 +00:00
|
|
|
const emailHeader = new Component('email-header');
|
|
|
|
const emailFooter = new Component('email-footer');
|
|
|
|
const attachment = new Component('attachment');
|
|
|
|
const attachments = require('./attachments.json');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
name: 'credit-request',
|
|
|
|
components: {
|
|
|
|
'email-header': emailHeader.build(),
|
|
|
|
'email-footer': emailFooter.build(),
|
|
|
|
'attachment': attachment.build()
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {attachments};
|
|
|
|
},
|
|
|
|
};
|