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
|
|
|
|
|
|
|
/**
|
|
|
|
* 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' => [
|
2024-09-10 12:08:03 +02:00
|
|
|
'de' => '(D3) PDF-Dokumente',
|
|
|
|
'en' => '(D3) PDF documents',
|
2020-05-15 15:36:43 +02:00
|
|
|
],
|
2024-10-04 10:39:52 +02:00
|
|
|
'version' => '2.0.1.1',
|
2024-09-10 12:08:03 +02:00
|
|
|
'author' => 'D3 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-10 09:15:51 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/deliverynote.tpl' => 'views/smarty/documents/deliverynote/deliverynote.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/deliverynoteNoLogo.tpl' => 'views/smarty/documents/deliverynote/deliverynoteNoLogo.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/informations.tpl' => 'views/smarty/documents/deliverynote/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/recipientAddress.tpl' => 'views/smarty/documents/deliverynote/inc/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/salutation.tpl' => 'views/smarty/documents/deliverynote/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/deliverynote/conclusion.tpl' => 'views/smarty/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-10 09:15:51 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoice.tpl' => 'views/smarty/documents/invoice/invoice.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/invoiceNoLogo.tpl' => 'views/smarty/documents/invoice/invoiceNoLogo.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/informations.tpl' => 'views/smarty/documents/invoice/inc/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/salutation.tpl' => 'views/smarty/documents/invoice/inc/salutation.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/conclusion.tpl' => 'views/smarty/documents/invoice/inc/conclusion.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/invoice/payinfo.tpl' => 'views/smarty/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-10 09:15:51 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/base.tpl' => 'views/smarty/documents/inc/page/base.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/header.tpl' => 'views/smarty/documents/inc/page/header.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/footer.tpl' => 'views/smarty/documents/inc/page/footer.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/page/returnaddress.tpl' => 'views/smarty/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-10 09:15:51 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/addressarea.tpl' => 'views/smarty/documents/inc/elements/addressarea.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/recipientAddress.tpl' => 'views/smarty/documents/inc/elements/recipientAddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/informations.tpl' => 'views/smarty/documents/inc/elements/informations.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/deliveryaddress.tpl' => 'views/smarty/documents/inc/elements/deliveryaddress.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/articlelist.tpl' => 'views/smarty/documents/inc/elements/articlelist.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/articlecostssummary.tpl' => 'views/smarty/documents/inc/elements/articlecostssummary.tpl',
|
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/elements/foldmarks.tpl' => 'views/smarty/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-10 09:15:51 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/documents/inc/helper/rulers.tpl' => 'views/smarty/documents/inc/helper/rulers.tpl',
|
2024-08-27 15:44:32 +02:00
|
|
|
|
|
|
|
// Frontend - Flow - Inc - Styles
|
2024-09-09 14:48:01 +02:00
|
|
|
'@' . Constants::OXID_MODULE_ID . '/assets/d3pdfstyles.css.tpl' => 'views/smarty/assets/pdfStyling.css.tpl',
|
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
|
|
|
];
|