2020-05-15 15:36:43 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2020-07-04 23:25:24 +02:00
|
|
|
* See LICENSE file for license details.
|
2020-05-15 15:36:43 +02:00
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
2020-07-04 23:25:24 +02:00
|
|
|
* @author D3 Data Development - Max Buhe <support@shopmodule.com>
|
|
|
|
* @link http://www.oxidmodule.com
|
2020-05-15 15:36:43 +02:00
|
|
|
*/
|
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
use D3\PdfDocuments\Application\Model\Constants as Constants;
|
2020-06-04 10:31:38 +02:00
|
|
|
use D3\PdfDocuments\Modules\Application\Controller\d3_overview_controller_pdfdocuments;
|
2020-05-20 10:42:04 +02:00
|
|
|
use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview;
|
2020-05-15 15:36:43 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Metadata version
|
|
|
|
*/
|
2020-08-13 09:39:19 +02:00
|
|
|
$sMetadataVersion = '2.1';
|
2020-05-15 15:36:43 +02:00
|
|
|
|
2020-07-05 14:08:51 +02:00
|
|
|
$logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em">';
|
2020-05-15 15:36:43 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Module information
|
|
|
|
*/
|
|
|
|
$aModule = [
|
2024-08-22 20:08:00 +02:00
|
|
|
'id' => Constants::OXID_MODULE_ID,
|
2020-05-15 15:36:43 +02:00
|
|
|
'title' => [
|
2020-06-13 22:43:57 +02:00
|
|
|
'de' => $logo.' PDF-Dokumente',
|
|
|
|
'en' => $logo.' PDF documents',
|
2020-05-15 15:36:43 +02:00
|
|
|
],
|
2024-08-22 20:08:00 +02:00
|
|
|
'version' => '2.0.0',
|
|
|
|
'author' => $logo.' Data Development (Inh.: Thomas Dartsch)',
|
2020-05-15 15:36:43 +02:00
|
|
|
'email' => 'support@shopmodule.com',
|
2023-09-19 23:32:55 +02:00
|
|
|
'url' => 'https://www.oxidmodule.com/',
|
2020-05-15 15:36:43 +02:00
|
|
|
'extend' => [
|
2020-07-02 10:35:56 +02:00
|
|
|
OrderOverview::class => d3_overview_controller_pdfdocuments::class
|
2020-05-15 15:36:43 +02:00
|
|
|
],
|
2023-06-09 12:21:01 +02:00
|
|
|
'controllers' => [],
|
2023-12-05 10:01:28 +01:00
|
|
|
'thumbnail' => 'picture.svg',
|
2023-06-09 12:21:01 +02:00
|
|
|
'templates' => [
|
2024-08-22 20:08:00 +02:00
|
|
|
//Admin
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/admin/d3orderoverview_pdfform.tpl' => 'views/smarty/admin/orderoverview_pdfform.tpl',
|
2020-05-28 15:15:46 +02:00
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
// Frontend - Flow - Deliverynote
|
2024-09-03 19:06:16 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/deliverynote.tpl' => 'views/smarty/flow/documents/deliverynote/deliverynote.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/deliverynoteNoLogo.tpl' => 'views/smarty/flow/documents/deliverynote/deliverynoteNoLogo.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/delnote_informations.tpl' => 'views/smarty/flow/documents/deliverynote/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/delnote_recipient.tpl' => 'views/smarty/flow/documents/deliverynote/inc/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/delnote_salutation.tpl' => 'views/smarty/flow/documents/deliverynote/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/delnote_conclusion.tpl' => 'views/smarty/flow/documents/deliverynote/inc/conclusion.tpl',
|
2020-05-28 14:58:42 +02:00
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
// Frontend - Flow - Invoice
|
2024-09-03 19:06:16 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice.tpl' => 'views/smarty/flow/documents/invoice/invoice.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoiceNoLogo.tpl' => 'views/smarty/flow/documents/invoice/invoiceNoLogo.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice_informations.tpl' => 'views/smarty/flow/documents/invoice/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice_salutation.tpl' => 'views/smarty/flow/documents/invoice/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice_conclusion.tpl' => 'views/smarty/flow/documents/invoice/inc/conclusion.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice_payinfo.tpl' => 'views/smarty/flow/documents/invoice/inc/payinfo.tpl',
|
2020-05-28 14:58:42 +02:00
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
// Frontend - Flow - Inc - Page
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/d3pdfbase.tpl' => 'views/smarty/flow/documents/inc/page/base.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/d3pdfheader.tpl' => 'views/smarty/flow/documents/inc/page/header.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/d3pdffooter.tpl' => 'views/smarty/flow/documents/inc/page/footer.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/d3pdfreturnaddress.tpl' => 'views/smarty/flow/documents/inc/page/returnaddress.tpl',
|
2020-06-13 22:43:57 +02:00
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
// Frontend - Flow - Inc - Elements
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfaddressarea.tpl' => 'views/smarty/flow/documents/inc/elements/addressarea.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfrecipientaddress.tpl' => 'views/smarty/flow/documents/inc/elements/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfinformations.tpl' => 'views/smarty/flow/documents/inc/elements/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfdeladdress.tpl' => 'views/smarty/flow/documents/inc/elements/deliveryaddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfarticlelist.tpl' => 'views/smarty/flow/documents/inc/elements/articlelist.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdfarticlecostsummary.tpl' => 'views/smarty/flow/documents/inc/elements/articlecostssummary.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/d3pdffoldmarks.tpl' => 'views/smarty/flow/documents/inc/elements/foldmarks.tpl',
|
2020-06-13 22:43:57 +02:00
|
|
|
|
2024-08-22 20:08:00 +02:00
|
|
|
// Frontend - Flow - Inc - Helper
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/helper/d3pdfrulers.tpl' => 'views/smarty/flow/documents/inc/helper/rulers.tpl',
|
2024-08-27 15:44:32 +02:00
|
|
|
|
|
|
|
// Frontend - Flow - Inc - Styles
|
2024-08-27 15:59:20 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/assets/d3pdfstyles.css' => 'assets/out/src/css/pdfStyling.css',
|
2020-05-15 15:36:43 +02:00
|
|
|
],
|
|
|
|
'events' => [],
|
2020-05-20 10:42:04 +02:00
|
|
|
'blocks' => [
|
|
|
|
[
|
|
|
|
'template' => 'order_overview.tpl',
|
|
|
|
'block' => 'admin_order_overview_export',
|
2024-08-26 23:42:41 +02:00
|
|
|
'file' => 'views/smarty/blocks/order_overview.tpl'
|
2020-06-23 09:15:30 +02:00
|
|
|
]
|
2020-06-11 01:26:16 +02:00
|
|
|
],
|
|
|
|
'settings' => [
|
2020-06-23 09:15:30 +02:00
|
|
|
[
|
2024-08-22 20:08:00 +02:00
|
|
|
'group' => Constants::OXID_MODULE_ID.'main',
|
|
|
|
'name' => Constants::OXID_MODULE_ID.'bDev',
|
2020-06-23 09:15:30 +02:00
|
|
|
'type' => 'bool',
|
|
|
|
'value' => false
|
|
|
|
]
|
2020-05-20 10:42:04 +02:00
|
|
|
]
|
2020-05-15 15:36:43 +02:00
|
|
|
];
|