diff --git a/views/twig/documents/deliverynote/inc/informations.html.twig b/views/twig/documents/deliverynote/inc/informations.html.twig
index d7bed08..bac0831 100644
--- a/views/twig/documents/deliverynote/inc/informations.html.twig
+++ b/views/twig/documents/deliverynote/inc/informations.html.twig
@@ -3,7 +3,7 @@
{% block pdfDocumentInformations %}
{% set dateFormat = 'D3_PDFDOCUMENTS_DATE_FORMAT'|translate %}
- {{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ smarty.now|date_format(dateFormat) }}
+ {{ translate({ ident: "D3_PDFDOCUMENTS_DATE", suffix: "COLON" }) }} {{ "now"|date_format(dateFormat) }}
{% endblock %}
diff --git a/views/twig/documents/inc/helper/rulers.html.twig b/views/twig/documents/inc/helper/rulers.html.twig
index 26318f2..df0f366 100644
--- a/views/twig/documents/inc/helper/rulers.html.twig
+++ b/views/twig/documents/inc/helper/rulers.html.twig
@@ -22,15 +22,15 @@
{# horizontal #}
-{% for rulerItemsHorizontal in 10..600 %}
-
+{% for rulerItemsHorizontal in range(10, 600, 10) %}
+
{{ loop.index0 }}
{% endfor %}
{# vertical #}
-{% for rulerItemsVertical in 0..600 %}
-
+{% for rulerItemsVertical in range(0, 600, 10) %}
+
{{ loop.index0 }}
{% endfor %}
diff --git a/views/twig/documents/invoice/invoice.html.twig b/views/twig/documents/invoice/invoice.html.twig
index b7402a2..fcf1093 100644
--- a/views/twig/documents/invoice/invoice.html.twig
+++ b/views/twig/documents/invoice/invoice.html.twig
@@ -14,6 +14,7 @@
{% endset %}
{% set pdfBlock_content %}
+{# {% include "@d3PdfDocuments/documents/inc/helper/rulers.html.twig" with {pagePadding: pagePadding} %}#}
{% include "@d3PdfDocuments/documents/inc/elements/foldmarks.html.twig" with {pagePadding: pagePadding} %}
{% block pdfAddressArea %}