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

30 lines
725 B
JavaScript
Raw Normal View History

2022-09-22 07:17:14 +00:00
const Component = require(`vn-print/core/component`);
2019-10-29 06:46:44 +00:00
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()
},
2022-07-25 12:49:39 +00:00
created() {
this.instructions = this.$t('description.instructions', [this.claimId, this.ticketId]);
},
data() {
return {
instructions: String
};
},
props: {
2022-09-22 07:17:14 +00:00
id: {
2022-01-17 11:44:43 +00:00
type: [Number, String],
required: true
2022-07-25 12:49:39 +00:00
},
ticketId: {
type: [Number, String],
required: true
}
}
2019-10-29 06:46:44 +00:00
};