2020-05-15 15:36:43 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This Software is the property of Data Development and is protected
|
|
|
|
* by copyright law - it is NOT Freeware.
|
|
|
|
*
|
|
|
|
* Any unauthorized use of this software without a valid license
|
|
|
|
* is a violation of the license agreement and will be prosecuted by
|
|
|
|
* civil and criminal law.
|
|
|
|
*
|
|
|
|
* http://www.shopmodule.com
|
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
|
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
|
|
|
* @link http://www.oxidmodule.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
use D3\ModCfg\Application\Model\d3utils;
|
2020-06-04 10:31:38 +02:00
|
|
|
use D3\PdfDocuments\Modules\Application\Controller\d3_overview_controller_pdfdocuments;
|
2020-05-15 15:36:43 +02:00
|
|
|
use D3\PdfDocuments\Modules\Application\Model\d3_Order_PdfDocuments as d3_pdfdocs_OrderModel;
|
2020-05-20 10:42:04 +02:00
|
|
|
use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview;
|
2020-05-15 15:36:43 +02:00
|
|
|
use OxidEsales\Eshop\Application\Model as OxidModel;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Metadata version
|
|
|
|
*/
|
|
|
|
$sMetadataVersion = '2.0';
|
|
|
|
|
|
|
|
$logo = (class_exists(d3utils::class) ? d3utils::getInstance()->getD3Logo() : 'D³');
|
|
|
|
|
|
|
|
$sModuleId = 'pdfDocuments';
|
|
|
|
/**
|
|
|
|
* Module information
|
|
|
|
*/
|
|
|
|
$aModule = [
|
|
|
|
'id' => $sModuleId,
|
|
|
|
'title' => [
|
|
|
|
'de' => $logo.' PDF-Dokumente aus HTML-Templates',
|
|
|
|
'en' => $logo.' PDF documents from HTML templates',
|
|
|
|
],
|
|
|
|
'thumbnail' => 'picture.png',
|
|
|
|
'version' => '1.0',
|
|
|
|
'author' => 'D³ Data Development (Inh.: Thomas Dartsch)',
|
|
|
|
'email' => 'support@shopmodule.com',
|
|
|
|
'url' => 'http://www.oxidmodule.com/',
|
|
|
|
'extend' => [
|
|
|
|
OxidModel\Order::class => d3_pdfdocs_OrderModel::class,
|
2020-05-20 10:42:04 +02:00
|
|
|
OrderOverview::class => d3_overview_controller_pdfdocuments::class
|
2020-05-15 15:36:43 +02:00
|
|
|
],
|
|
|
|
'controllers' => [],
|
|
|
|
'templates' => [
|
2020-05-28 15:15:46 +02:00
|
|
|
'd3orderoverview_pdfform.tpl' => 'd3/pdfdocuments/Application/views/tpl/admin/orderoverview_pdfform.tpl',
|
|
|
|
|
|
|
|
'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynote.tpl',
|
2020-06-02 10:03:00 +02:00
|
|
|
'd3deliverynoteNoLogo_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynoteNoLogo.tpl',
|
2020-05-28 15:15:46 +02:00
|
|
|
'd3delnote_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/includingFiles/pdfHeader.tpl',
|
|
|
|
'd3delnote_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/includingFiles/pdfPastThank.tpl',
|
2020-05-28 14:58:42 +02:00
|
|
|
'd3delnote_pdf_style.css' => 'd3/pdfdocuments/out/src/css/deliverynote.css',
|
|
|
|
|
2020-05-28 15:15:46 +02:00
|
|
|
'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoice.tpl',
|
2020-06-02 10:03:00 +02:00
|
|
|
'd3invoiceNoLogo_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoiceNoLogo.tpl',
|
2020-05-28 15:15:46 +02:00
|
|
|
'd3invoice_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/includingFiles/pdfHeader.tpl',
|
|
|
|
'd3invoice_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/includingFiles/pdfPastThank.tpl',
|
2020-05-28 14:58:42 +02:00
|
|
|
|
2020-05-28 15:15:46 +02:00
|
|
|
'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl',
|
|
|
|
'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl',
|
2020-05-28 14:58:42 +02:00
|
|
|
'd3pdfstyle.css' => 'd3/pdfdocuments/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',
|
|
|
|
'file' => 'views/admin/blocks/order_overview.tpl'
|
|
|
|
],
|
|
|
|
]
|
2020-05-15 15:36:43 +02:00
|
|
|
];
|