diff --git a/Application/views/tpl/admin/orderoverview_pdfform.tpl b/Application/views/tpl/admin/orderoverview_pdfform.tpl
new file mode 100644
index 0000000..f5a8f67
--- /dev/null
+++ b/Application/views/tpl/admin/orderoverview_pdfform.tpl
@@ -0,0 +1,44 @@
+[{if $edit && $oView->canExport()}]
+
+
+[{/if}]
diff --git a/Application/views/tpl/deliverynote/deliverynote.tpl b/Application/views/tpl/documents/deliverynote/deliverynote.tpl
similarity index 100%
rename from Application/views/tpl/deliverynote/deliverynote.tpl
rename to Application/views/tpl/documents/deliverynote/deliverynote.tpl
diff --git a/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl b/Application/views/tpl/documents/deliverynote/includingFiles/pdfHeader.tpl
similarity index 100%
rename from Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl
rename to Application/views/tpl/documents/deliverynote/includingFiles/pdfHeader.tpl
diff --git a/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl b/Application/views/tpl/documents/deliverynote/includingFiles/pdfPastThank.tpl
similarity index 100%
rename from Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl
rename to Application/views/tpl/documents/deliverynote/includingFiles/pdfPastThank.tpl
diff --git a/Application/views/tpl/inc/footer.tpl b/Application/views/tpl/documents/inc/footer.tpl
similarity index 100%
rename from Application/views/tpl/inc/footer.tpl
rename to Application/views/tpl/documents/inc/footer.tpl
diff --git a/Application/views/tpl/inc/header.tpl b/Application/views/tpl/documents/inc/header.tpl
similarity index 100%
rename from Application/views/tpl/inc/header.tpl
rename to Application/views/tpl/documents/inc/header.tpl
diff --git a/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl b/Application/views/tpl/documents/invoice/includingFiles/pdfHeader.tpl
similarity index 100%
rename from Application/views/tpl/invoice/includingFiles/pdfHeader.tpl
rename to Application/views/tpl/documents/invoice/includingFiles/pdfHeader.tpl
diff --git a/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl b/Application/views/tpl/documents/invoice/includingFiles/pdfPastThank.tpl
similarity index 100%
rename from Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl
rename to Application/views/tpl/documents/invoice/includingFiles/pdfPastThank.tpl
diff --git a/Application/views/tpl/invoice/invoice.tpl b/Application/views/tpl/documents/invoice/invoice.tpl
similarity index 100%
rename from Application/views/tpl/invoice/invoice.tpl
rename to Application/views/tpl/documents/invoice/invoice.tpl
diff --git a/metadata.php b/metadata.php
index 974ccab..b445bfd 100644
--- a/metadata.php
+++ b/metadata.php
@@ -49,17 +49,19 @@ $aModule = [
],
'controllers' => [],
'templates' => [
- 'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/deliverynote.tpl',
- 'd3delnote_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl',
- 'd3delnote_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl',
+ 'd3orderoverview_pdfform.tpl' => 'd3/pdfdocuments/Application/views/tpl/admin/orderoverview_pdfform.tpl',
+
+ 'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynote.tpl',
+ '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',
'd3delnote_pdf_style.css' => 'd3/pdfdocuments/out/src/css/deliverynote.css',
- 'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/invoice.tpl',
- 'd3invoice_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl',
- 'd3invoice_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl',
+ 'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoice.tpl',
+ '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',
- 'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/inc/header.tpl',
- 'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/inc/footer.tpl',
+ 'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl',
+ 'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl',
'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css'
],
'events' => [],
diff --git a/views/admin/blocks/order_overview.tpl b/views/admin/blocks/order_overview.tpl
index 45f29b5..1d14794 100644
--- a/views/admin/blocks/order_overview.tpl
+++ b/views/admin/blocks/order_overview.tpl
@@ -1,49 +1,3 @@
[{$smarty.block.parent}]
-[{if $edit && $oView->canExport()}]
-
-
-[{/if}]
+[{include file="d3orderoverview_pdfform.tpl"}]
\ No newline at end of file