21 lines
533 B
JavaScript
Executable File
21 lines
533 B
JavaScript
Executable File
const Component = require(`vn-print/core/component`);
|
|
const reportBody = new Component('report-body')
|
|
const reportFooter = new Component('report-footer');
|
|
|
|
const rptCreditRequest = {
|
|
name: 'credit-request',
|
|
computed: {
|
|
dated: function() {
|
|
const filters = this.$options.filters;
|
|
|
|
return filters.date(new Date(), '%d-%m-%Y');
|
|
}
|
|
},
|
|
components: {
|
|
'report-body': reportBody.build(),
|
|
'report-footer': reportFooter.build()
|
|
}
|
|
};
|
|
|
|
module.exports = rptCreditRequest;
|