salix/print/templates/email/incoterms-authorization/incoterms-authorization.js

28 lines
723 B
JavaScript
Raw Normal View History

2022-09-26 06:07:45 +00:00
const Component = require(`vn-report/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: {
2022-09-26 06:07:45 +00:00
id: {
2022-06-13 09:03:11 +00:00
type: [Number, String],
required: true
},
companyId: {
type: [Number, String],
required: true
}
}
};