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

18 lines
424 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: {
2019-11-04 12:55:20 +00:00
type: String,
2019-10-31 11:43:04 +00:00
required: true
}
}
2019-09-06 09:06:44 +00:00
};