You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

90 lines
4.7 KiB

  1. <?php
  2. /**
  3. * See LICENSE file for license details.
  4. *
  5. * @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
  6. * @author D3 Data Development - Max Buhe <support@shopmodule.com>
  7. * @link http://www.oxidmodule.com
  8. */
  9. use D3\PdfDocuments\Modules\Application\Controller\d3_overview_controller_pdfdocuments;
  10. use OxidEsales\Eshop\Application\Controller\Admin\OrderOverview;
  11. /**
  12. * Metadata version
  13. */
  14. $sMetadataVersion = '2.1';
  15. $logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em">';
  16. $sModuleId = 'd3PdfDocuments';
  17. /**
  18. * Module information
  19. */
  20. $aModule = [
  21. 'id' => $sModuleId,
  22. 'title' => [
  23. 'de' => $logo.' PDF-Dokumente',
  24. 'en' => $logo.' PDF documents',
  25. ],
  26. 'version' => '1.0.1.0',
  27. 'author' => 'D&sup3; Data Development (Inh.: Thomas Dartsch)',
  28. 'email' => 'support@shopmodule.com',
  29. 'url' => 'http://www.oxidmodule.com/',
  30. 'extend' => [
  31. OrderOverview::class => d3_overview_controller_pdfdocuments::class
  32. ],
  33. 'controllers' => [],
  34. 'templates' => [
  35. 'd3orderoverview_pdfform.tpl' => 'd3/pdfdocuments/Application/views/tpl/admin/orderoverview_pdfform.tpl',
  36. 'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynote.tpl',
  37. 'd3deliverynoteNoLogo_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynoteNoLogo.tpl',
  38. 'd3delnote_pdf_informations.tpl'=> 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/inc/informations.tpl',
  39. 'd3delnote_pdf_recipient.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/inc/recipientAddress.tpl',
  40. 'd3delnote_pdf_salutation.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/inc/salutation.tpl',
  41. 'd3delnote_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/inc/conclusion.tpl',
  42. 'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoice.tpl',
  43. 'd3invoiceNoLogo_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoiceNoLogo.tpl',
  44. 'd3invoice_pdf_informations.tpl'=> 'd3/pdfdocuments/Application/views/tpl/documents/invoice/inc/informations.tpl',
  45. 'd3invoice_pdf_salutation.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/inc/salutation.tpl',
  46. 'd3invoice_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/inc/conclusion.tpl',
  47. 'd3invoice_pdf_payinfo.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/inc/payinfo.tpl',
  48. 'd3pdfbase.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/page/base.tpl',
  49. 'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/page/header.tpl',
  50. 'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/page/footer.tpl',
  51. 'd3pdfreturnaddress.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/page/returnaddress.tpl',
  52. 'd3pdfaddressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/addressarea.tpl',
  53. 'd3pdfrecipientaddress.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/recipientAddress.tpl',
  54. 'd3pdfinformations.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/informations.tpl',
  55. 'd3pdfdeladdress.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/deliveryaddress.tpl',
  56. 'd3pdfarticlelist.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/articlelist.tpl',
  57. 'd3pdfarticlecostsummary.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/articlecostssummary.tpl',
  58. 'd3pdffoldmarks.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/elements/foldmarks.tpl',
  59. 'd3pdfstyles.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css',
  60. 'd3pdfrulers.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/helper/rulers.tpl',
  61. ],
  62. 'events' => [],
  63. 'blocks' => [
  64. [
  65. 'template' => 'order_overview.tpl',
  66. 'block' => 'admin_order_overview_export',
  67. 'file' => 'Application/views/admin/blocks/order_overview.tpl'
  68. ]
  69. ],
  70. 'settings' => [
  71. [
  72. 'group' => $sModuleId.'main',
  73. 'name' => $sModuleId.'bDev',
  74. 'type' => 'bool',
  75. 'value' => false
  76. ]
  77. ]
  78. ];