diff --git a/print/templates/reports/balance-compensation/balance-compensation.js b/print/templates/reports/balance-compensation/balance-compensation.js index 73ea88489..98a9cf577 100644 --- a/print/templates/reports/balance-compensation/balance-compensation.js +++ b/print/templates/reports/balance-compensation/balance-compensation.js @@ -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: { diff --git a/print/templates/reports/campaign-metrics/campaign-metrics.js b/print/templates/reports/campaign-metrics/campaign-metrics.js index 592eaad95..14a4b6a9b 100755 --- a/print/templates/reports/campaign-metrics/campaign-metrics.js +++ b/print/templates/reports/campaign-metrics/campaign-metrics.js @@ -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: { diff --git a/print/templates/reports/claim-pickup-order/claim-pickup-order.js b/print/templates/reports/claim-pickup-order/claim-pickup-order.js index 20177fa74..5c7002e47 100755 --- a/print/templates/reports/claim-pickup-order/claim-pickup-order.js +++ b/print/templates/reports/claim-pickup-order/claim-pickup-order.js @@ -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: { diff --git a/print/templates/reports/client-debt-statement/client-debt-statement.js b/print/templates/reports/client-debt-statement/client-debt-statement.js index d99f76ec6..45b97518f 100755 --- a/print/templates/reports/client-debt-statement/client-debt-statement.js +++ b/print/templates/reports/client-debt-statement/client-debt-statement.js @@ -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: { diff --git a/print/templates/reports/driver-route/driver-route.js b/print/templates/reports/driver-route/driver-route.js index 080d3c816..1b2e8871a 100755 --- a/print/templates/reports/driver-route/driver-route.js +++ b/print/templates/reports/driver-route/driver-route.js @@ -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: { diff --git a/print/templates/reports/exportation/exportation.js b/print/templates/reports/exportation/exportation.js index 01ca2399f..9f39aa1a1 100755 --- a/print/templates/reports/exportation/exportation.js +++ b/print/templates/reports/exportation/exportation.js @@ -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: { diff --git a/print/templates/reports/extra-community/extra-community.js b/print/templates/reports/extra-community/extra-community.js index 1b10f129e..4dfe6e278 100755 --- a/print/templates/reports/extra-community/extra-community.js +++ b/print/templates/reports/extra-community/extra-community.js @@ -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: [ diff --git a/print/templates/reports/incoterms-authorization/incoterms-authorization.js b/print/templates/reports/incoterms-authorization/incoterms-authorization.js index 399cb5202..bfe675985 100755 --- a/print/templates/reports/incoterms-authorization/incoterms-authorization.js +++ b/print/templates/reports/incoterms-authorization/incoterms-authorization.js @@ -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: { diff --git a/print/templates/reports/invoice-incoterms/invoice-incoterms.js b/print/templates/reports/invoice-incoterms/invoice-incoterms.js index a7ec29bdb..3afc50376 100755 --- a/print/templates/reports/invoice-incoterms/invoice-incoterms.js +++ b/print/templates/reports/invoice-incoterms/invoice-incoterms.js @@ -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: { diff --git a/print/templates/reports/item-label/item-label.js b/print/templates/reports/item-label/item-label.js index 94383aef9..6341bd11a 100755 --- a/print/templates/reports/item-label/item-label.js +++ b/print/templates/reports/item-label/item-label.js @@ -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: { diff --git a/print/templates/reports/letter-debtor/letter-debtor.js b/print/templates/reports/letter-debtor/letter-debtor.js index 82dae0f2c..749fde4ed 100755 --- a/print/templates/reports/letter-debtor/letter-debtor.js +++ b/print/templates/reports/letter-debtor/letter-debtor.js @@ -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: { diff --git a/print/templates/reports/receipt/receipt.js b/print/templates/reports/receipt/receipt.js index 19dfa6065..9a9ccd452 100755 --- a/print/templates/reports/receipt/receipt.js +++ b/print/templates/reports/receipt/receipt.js @@ -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: { diff --git a/print/templates/reports/supplier-campaign-metrics/supplier-campaign-metrics.js b/print/templates/reports/supplier-campaign-metrics/supplier-campaign-metrics.js index 2abb56567..f6fb4bd4e 100755 --- a/print/templates/reports/supplier-campaign-metrics/supplier-campaign-metrics.js +++ b/print/templates/reports/supplier-campaign-metrics/supplier-campaign-metrics.js @@ -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: { diff --git a/print/templates/reports/vehicle-event-expired/vehicle-event-expired.js b/print/templates/reports/vehicle-event-expired/vehicle-event-expired.js index f0b711022..278caeabf 100755 --- a/print/templates/reports/vehicle-event-expired/vehicle-event-expired.js +++ b/print/templates/reports/vehicle-event-expired/vehicle-event-expired.js @@ -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: {