From 8901ee018c283021c4cb050e4168e82774956180 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Tue, 26 May 2020 15:45:07 +0200 Subject: [PATCH] change folder structure to composer module --- .../views/tpl/deliverynote/deliverynote.tpl | 0 .../deliverynote/includingFiles/pdfFooter.tpl | 0 .../deliverynote/includingFiles/pdfHeader.tpl | 0 .../includingFiles/pdfPastThank.tpl | 0 .../deliverynote/includingFiles/pdfToping.tpl | 0 .../tpl/invoice/includingFiles/pdfFooter.tpl | 0 .../tpl/invoice/includingFiles/pdfHeader.tpl | 0 .../invoice/includingFiles/pdfPastThank.tpl | 0 .../tpl/invoice/includingFiles/pdfTopping.tpl | 0 .../views/tpl/invoice/invoice.tpl | 0 .../tpl/invoiceCorrection/deliverynote.tpl | 0 .../includingFiles/pdfFooter.tpl | 0 .../includingFiles/pdfHeader.tpl | 0 .../includingFiles/pdfPastThank.tpl | 0 .../includingFiles/pdfToping.tpl | 0 .../views/tpl/offers/deliverynote.tpl | 0 .../tpl/offers/includingFiles/pdfFooter.tpl | 0 .../tpl/offers/includingFiles/pdfHeader.tpl | 0 .../offers/includingFiles/pdfPastThank.tpl | 0 .../tpl/offers/includingFiles/pdfToping.tpl | 0 .../tpl/orderConfirmation/deliverynote.tpl | 0 .../includingFiles/pdfFooter.tpl | 0 .../includingFiles/pdfHeader.tpl | 0 .../includingFiles/pdfPastThank.tpl | 0 .../includingFiles/pdfToping.tpl | 0 .../Application/Model/albatros.php | 0 .../Model/d3_Order_PdfDocuments.php | 0 .../Application/Model/deliverynotePdf.php | 0 .../Application/Model/invoicePdf.php | 0 .../Application/Model/pdfDocuments.php | 0 .../d3_overview_controller_pdfdocuments.php | 0 .../out/src/deliverynote.css | 0 .../Modules => Modules}/out/src/offers.css | 0 .../out/src/pdfInvoiceCorrection.css | 0 .../out/src/pdfStyling.css | 0 composer.json | 39 +++++++++++++++++++ .../src/metadata.php => metadata.php | 0 .../admin/blocks/order_overview.tpl | 0 .../admin/de/auftragsbestaetigung_lang.php | 0 39 files changed, 39 insertions(+) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/deliverynote/deliverynote.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/deliverynote/includingFiles/pdfFooter.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/deliverynote/includingFiles/pdfHeader.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/deliverynote/includingFiles/pdfToping.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoice/includingFiles/pdfFooter.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoice/includingFiles/pdfHeader.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoice/includingFiles/pdfPastThank.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoice/includingFiles/pdfTopping.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoice/invoice.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoiceCorrection/deliverynote.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoiceCorrection/includingFiles/pdfFooter.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoiceCorrection/includingFiles/pdfHeader.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoiceCorrection/includingFiles/pdfPastThank.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/invoiceCorrection/includingFiles/pdfToping.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/offers/deliverynote.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/offers/includingFiles/pdfFooter.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/offers/includingFiles/pdfHeader.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/offers/includingFiles/pdfPastThank.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/offers/includingFiles/pdfToping.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/orderConfirmation/deliverynote.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/orderConfirmation/includingFiles/pdfFooter.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/orderConfirmation/includingFiles/pdfHeader.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/orderConfirmation/includingFiles/pdfPastThank.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Application => Application}/views/tpl/orderConfirmation/includingFiles/pdfToping.tpl (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/Model/albatros.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/Model/d3_Order_PdfDocuments.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/Model/deliverynotePdf.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/Model/invoicePdf.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/Model/pdfDocuments.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/Application/controllers/d3_overview_controller_pdfdocuments.php (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/out/src/deliverynote.css (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/out/src/offers.css (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/out/src/pdfInvoiceCorrection.css (100%) rename {source/modules/d3/pdfdocuments/src/Modules => Modules}/out/src/pdfStyling.css (100%) create mode 100644 composer.json rename source/modules/d3/pdfdocuments/src/metadata.php => metadata.php (100%) rename {source/modules/d3/pdfdocuments/src/views => views}/admin/blocks/order_overview.tpl (100%) rename {source/modules/d3/pdfdocuments/src/views => views}/admin/de/auftragsbestaetigung_lang.php (100%) diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/deliverynote.tpl b/Application/views/tpl/deliverynote/deliverynote.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/deliverynote.tpl rename to Application/views/tpl/deliverynote/deliverynote.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfFooter.tpl b/Application/views/tpl/deliverynote/includingFiles/pdfFooter.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfFooter.tpl rename to Application/views/tpl/deliverynote/includingFiles/pdfFooter.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl b/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl rename to Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl b/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl rename to Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfToping.tpl b/Application/views/tpl/deliverynote/includingFiles/pdfToping.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/deliverynote/includingFiles/pdfToping.tpl rename to Application/views/tpl/deliverynote/includingFiles/pdfToping.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfFooter.tpl b/Application/views/tpl/invoice/includingFiles/pdfFooter.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfFooter.tpl rename to Application/views/tpl/invoice/includingFiles/pdfFooter.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl b/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl rename to Application/views/tpl/invoice/includingFiles/pdfHeader.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl b/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl rename to Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfTopping.tpl b/Application/views/tpl/invoice/includingFiles/pdfTopping.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/includingFiles/pdfTopping.tpl rename to Application/views/tpl/invoice/includingFiles/pdfTopping.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/invoice.tpl b/Application/views/tpl/invoice/invoice.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoice/invoice.tpl rename to Application/views/tpl/invoice/invoice.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/deliverynote.tpl b/Application/views/tpl/invoiceCorrection/deliverynote.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/deliverynote.tpl rename to Application/views/tpl/invoiceCorrection/deliverynote.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfFooter.tpl b/Application/views/tpl/invoiceCorrection/includingFiles/pdfFooter.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfFooter.tpl rename to Application/views/tpl/invoiceCorrection/includingFiles/pdfFooter.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfHeader.tpl b/Application/views/tpl/invoiceCorrection/includingFiles/pdfHeader.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfHeader.tpl rename to Application/views/tpl/invoiceCorrection/includingFiles/pdfHeader.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfPastThank.tpl b/Application/views/tpl/invoiceCorrection/includingFiles/pdfPastThank.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfPastThank.tpl rename to Application/views/tpl/invoiceCorrection/includingFiles/pdfPastThank.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfToping.tpl b/Application/views/tpl/invoiceCorrection/includingFiles/pdfToping.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/invoiceCorrection/includingFiles/pdfToping.tpl rename to Application/views/tpl/invoiceCorrection/includingFiles/pdfToping.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/deliverynote.tpl b/Application/views/tpl/offers/deliverynote.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/deliverynote.tpl rename to Application/views/tpl/offers/deliverynote.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfFooter.tpl b/Application/views/tpl/offers/includingFiles/pdfFooter.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfFooter.tpl rename to Application/views/tpl/offers/includingFiles/pdfFooter.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfHeader.tpl b/Application/views/tpl/offers/includingFiles/pdfHeader.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfHeader.tpl rename to Application/views/tpl/offers/includingFiles/pdfHeader.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfPastThank.tpl b/Application/views/tpl/offers/includingFiles/pdfPastThank.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfPastThank.tpl rename to Application/views/tpl/offers/includingFiles/pdfPastThank.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfToping.tpl b/Application/views/tpl/offers/includingFiles/pdfToping.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/offers/includingFiles/pdfToping.tpl rename to Application/views/tpl/offers/includingFiles/pdfToping.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/deliverynote.tpl b/Application/views/tpl/orderConfirmation/deliverynote.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/deliverynote.tpl rename to Application/views/tpl/orderConfirmation/deliverynote.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfFooter.tpl b/Application/views/tpl/orderConfirmation/includingFiles/pdfFooter.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfFooter.tpl rename to Application/views/tpl/orderConfirmation/includingFiles/pdfFooter.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfHeader.tpl b/Application/views/tpl/orderConfirmation/includingFiles/pdfHeader.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfHeader.tpl rename to Application/views/tpl/orderConfirmation/includingFiles/pdfHeader.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfPastThank.tpl b/Application/views/tpl/orderConfirmation/includingFiles/pdfPastThank.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfPastThank.tpl rename to Application/views/tpl/orderConfirmation/includingFiles/pdfPastThank.tpl diff --git a/source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfToping.tpl b/Application/views/tpl/orderConfirmation/includingFiles/pdfToping.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/Application/views/tpl/orderConfirmation/includingFiles/pdfToping.tpl rename to Application/views/tpl/orderConfirmation/includingFiles/pdfToping.tpl diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/Model/albatros.php b/Modules/Application/Model/albatros.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/Model/albatros.php rename to Modules/Application/Model/albatros.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/Model/d3_Order_PdfDocuments.php b/Modules/Application/Model/d3_Order_PdfDocuments.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/Model/d3_Order_PdfDocuments.php rename to Modules/Application/Model/d3_Order_PdfDocuments.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/Model/deliverynotePdf.php b/Modules/Application/Model/deliverynotePdf.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/Model/deliverynotePdf.php rename to Modules/Application/Model/deliverynotePdf.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/Model/invoicePdf.php b/Modules/Application/Model/invoicePdf.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/Model/invoicePdf.php rename to Modules/Application/Model/invoicePdf.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/Model/pdfDocuments.php b/Modules/Application/Model/pdfDocuments.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/Model/pdfDocuments.php rename to Modules/Application/Model/pdfDocuments.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/Application/controllers/d3_overview_controller_pdfdocuments.php b/Modules/Application/controllers/d3_overview_controller_pdfdocuments.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/Application/controllers/d3_overview_controller_pdfdocuments.php rename to Modules/Application/controllers/d3_overview_controller_pdfdocuments.php diff --git a/source/modules/d3/pdfdocuments/src/Modules/out/src/deliverynote.css b/Modules/out/src/deliverynote.css similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/out/src/deliverynote.css rename to Modules/out/src/deliverynote.css diff --git a/source/modules/d3/pdfdocuments/src/Modules/out/src/offers.css b/Modules/out/src/offers.css similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/out/src/offers.css rename to Modules/out/src/offers.css diff --git a/source/modules/d3/pdfdocuments/src/Modules/out/src/pdfInvoiceCorrection.css b/Modules/out/src/pdfInvoiceCorrection.css similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/out/src/pdfInvoiceCorrection.css rename to Modules/out/src/pdfInvoiceCorrection.css diff --git a/source/modules/d3/pdfdocuments/src/Modules/out/src/pdfStyling.css b/Modules/out/src/pdfStyling.css similarity index 100% rename from source/modules/d3/pdfdocuments/src/Modules/out/src/pdfStyling.css rename to Modules/out/src/pdfStyling.css diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..337a22c --- /dev/null +++ b/composer.json @@ -0,0 +1,39 @@ +{ + "name": "d3/pdfdocuments", + "description": "PDF-Dokumentgenerator", + "type": "oxideshop-module", + "keywords": [ + "oxid", + "modules", + "eShop", + "d3", + "PDF" + ], + "authors": [ + { + "name": "D3 Data Development (Inh. Thomas Dartsch)", + "email": "info@shopmodule.com", + "homepage": "http://www.d3data.de", + "role": "Owner" + } + ], + "homepage": "https://www.oxidmodule.com/", + "license": [ + "proprietary" + ], + "extra": { + "oxideshop": { + "blacklist-filter": [ + "composer.json" + ], + "target-directory": "d3/pdfdocuments" + } + }, + "require": { + }, + "autoload": { + "psr-4": { + "D3\\PdfDocuments\\": "../../../source/modules/d3/pdfdocuments" + } + } +} diff --git a/source/modules/d3/pdfdocuments/src/metadata.php b/metadata.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/metadata.php rename to metadata.php diff --git a/source/modules/d3/pdfdocuments/src/views/admin/blocks/order_overview.tpl b/views/admin/blocks/order_overview.tpl similarity index 100% rename from source/modules/d3/pdfdocuments/src/views/admin/blocks/order_overview.tpl rename to views/admin/blocks/order_overview.tpl diff --git a/source/modules/d3/pdfdocuments/src/views/admin/de/auftragsbestaetigung_lang.php b/views/admin/de/auftragsbestaetigung_lang.php similarity index 100% rename from source/modules/d3/pdfdocuments/src/views/admin/de/auftragsbestaetigung_lang.php rename to views/admin/de/auftragsbestaetigung_lang.php