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',
|
2024-09-04 21:53:57 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/informations.tpl' => 'views/smarty/flow/documents/deliverynote/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/recipientAddress.tpl' => 'views/smarty/flow/documents/deliverynote/inc/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/salutation.tpl' => 'views/smarty/flow/documents/deliverynote/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/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',
|
2024-09-04 21:53:57 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/informations.tpl' => 'views/smarty/flow/documents/invoice/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/salutation.tpl' => 'views/smarty/flow/documents/invoice/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/conclusion.tpl' => 'views/smarty/flow/documents/invoice/inc/conclusion.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/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
|
2024-09-04 21:53:57 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/base.tpl' => 'views/smarty/flow/documents/inc/page/base.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/header.tpl' => 'views/smarty/flow/documents/inc/page/header.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/footer.tpl' => 'views/smarty/flow/documents/inc/page/footer.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/returnaddress.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
|
2024-09-04 21:53:57 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/addressarea.tpl' => 'views/smarty/flow/documents/inc/elements/addressarea.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/recipientAddress.tpl' => 'views/smarty/flow/documents/inc/elements/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/informations.tpl' => 'views/smarty/flow/documents/inc/elements/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/deliveryaddress.tpl' => 'views/smarty/flow/documents/inc/elements/deliveryaddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/articlelist.tpl' => 'views/smarty/flow/documents/inc/elements/articlelist.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/articlecostssummary.tpl' => 'views/smarty/flow/documents/inc/elements/articlecostssummary.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/foldmarks.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
|
2024-09-04 21:53:57 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/helper/rulers.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
|
2024-09-06 18:24:42 +02:00
|
|
|
],
|
|
|
|
[
|
|
|
|
'group' => Constants::OXID_MODULE_ID.'main',
|
|
|
|
'name' => Constants::OXID_MODULE_ID.'_sAlternativePdfLogoName',
|
|
|
|
'type' => 'str',
|
|
|
|
'value' => ''
|
2020-06-23 09:15:30 +02:00
|
|
|
]
|
2020-05-20 10:42:04 +02:00
|
|
|
]
|
2020-05-15 15:36:43 +02:00
|
|
|
];
|