PDF memory optimizations (#2736)

This commit is contained in:
Kevin Papst
2021-11-14 02:51:52 +01:00
committed by GitHub
parent 6e6c60b29a
commit a483184372
5 changed files with 21 additions and 4 deletions

View File

@@ -102,6 +102,7 @@ mpdf-->
</thead>
<tbody>
{% for id, entry in model.calculator.entries %}
<!-- CONTENT_PART -->
{% set duration = entry.duration|duration(isDecimal) %}
{% if entry.fixedRate %}
{% set rate = entry.fixedRate %}

View File

@@ -109,6 +109,7 @@ mpdf-->
</thead>
<tbody>
{% for entry in model.calculator.entries %}
<!-- CONTENT_PART -->
{% set duration = entry.duration|duration(isDecimal) %}
{% if entry.fixedRate is not null %}
{% set rate = entry.fixedRate %}