Removed unused components
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-11-10 13:34:23 +01:00
parent 303020a731
commit 800d98a5b5
14 changed files with 4 additions and 38 deletions

View File

@ -1,7 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
name: 'balance-compensation',
@ -24,9 +22,7 @@ module.exports = {
}
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
'report-body': reportBody.build()
},
props: {
id: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -22,7 +21,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -29,7 +28,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -66,7 +65,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -41,7 +40,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -27,7 +26,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
const db = require(`vn-print/core/database`);
@ -102,7 +101,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: [

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -18,7 +17,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,7 +1,6 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
name: 'invoice-incoterms',
@ -29,8 +28,7 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
'report-header': reportHeader.build()
},
props: {
reference: {

View File

@ -1,7 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
const qrcode = require('qrcode');
module.exports = {
@ -51,9 +49,7 @@ module.exports = {
}
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
'report-body': reportBody.build()
},
props: {
id: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -60,7 +59,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -22,7 +21,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,6 +1,5 @@
const Component = require(`vn-print/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
@ -46,7 +45,6 @@ module.exports = {
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
},
props: {

View File

@ -1,7 +1,5 @@
const Component = require(`${appPath}/core/component`);
const reportBody = new Component('report-body');
const reportHeader = new Component('report-header');
const reportFooter = new Component('report-footer');
module.exports = {
name: 'vehicle-event-expired',
@ -17,9 +15,7 @@ module.exports = {
},
},
components: {
'report-body': reportBody.build(),
'report-header': reportHeader.build(),
'report-footer': reportFooter.build()
'report-body': reportBody.build()
},
props: {
eventIds: {