24 lines
635 B
JavaScript
24 lines
635 B
JavaScript
|
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: 'incoterms-authorization',
|
||
|
data() {
|
||
|
return {attachments};
|
||
|
},
|
||
|
components: {
|
||
|
'email-header': emailHeader.build(),
|
||
|
'email-footer': emailFooter.build(),
|
||
|
'attachment': attachment.build()
|
||
|
},
|
||
|
props: {
|
||
|
ticketId: {
|
||
|
type: [Number, String],
|
||
|
required: true
|
||
|
}
|
||
|
}
|
||
|
};
|