salix/print/templates/email/claim-pickup-order/claim-pickup-order.js

30 lines
720 B
JavaScript
Executable File

const Component = require(`vn-print/core/component`);
const emailHeader = new Component('email-header');
const emailFooter = new Component('email-footer');
module.exports = {
name: 'claim-pickup-order',
components: {
'email-header': emailHeader.build(),
'email-footer': emailFooter.build()
},
created() {
this.instructions = this.$t('description.instructions', [this.id, this.ticketId]);
},
data() {
return {
instructions: String
};
},
props: {
id: {
type: [Number, String],
required: true
},
ticketId: {
type: [Number, String],
required: true
}
}
};