salix/print/templates/email/weekly-hour-record/weekly-hour-record.js

24 lines
478 B
JavaScript
Raw Permalink Normal View History

const Component = require(`vn-print/core/component`);
const emailBody = new Component('email-body');
module.exports = {
name: 'weekly-hour-record',
components: {
'email-body': emailBody.build()
},
props: {
week: {
type: Number,
required: true
},
year: {
type: Number,
required: true
},
url: {
type: String,
required: true
}
}
};