salix/print/templates/email/delivery-note/delivery-note.js

18 lines
434 B
JavaScript
Raw Normal View History

2019-10-31 11:43:04 +00:00
const Component = require(`${appPath}/core/component`);
2019-10-29 06:46:44 +00:00
const emailHeader = new Component('email-header');
const emailFooter = new Component('email-footer');
2019-09-06 09:06:44 +00:00
module.exports = {
name: 'delivery-note',
components: {
2019-10-29 06:46:44 +00:00
'email-header': emailHeader.build(),
'email-footer': emailFooter.build()
2019-09-06 09:06:44 +00:00
},
2019-10-31 11:43:04 +00:00
props: {
ticketId: {
2022-01-17 11:44:43 +00:00
type: [Number, String],
2019-10-31 11:43:04 +00:00
required: true
}
}
2019-09-06 09:06:44 +00:00
};