2021-07-20 07:09:46 +00:00
|
|
|
const Component = require(`${appPath}/core/component`);
|
|
|
|
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: 'client-debt-statement',
|
|
|
|
components: {
|
|
|
|
'email-header': emailHeader.build(),
|
|
|
|
'email-footer': emailFooter.build(),
|
|
|
|
'attachment': attachment.build()
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {attachments};
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
recipientId: {
|
2022-01-17 11:44:43 +00:00
|
|
|
type: [Number, String],
|
2021-07-20 07:09:46 +00:00
|
|
|
required: true
|
|
|
|
},
|
|
|
|
from: {
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|