Make 'pagebreak' optional in pdf layout exporter (#4561)

This commit is contained in:
Ronald Derksen
2024-01-13 14:44:31 +01:00
committed by GitHub
parent 6531e7fe52
commit 5acd33dd64

View File

@@ -8,6 +8,7 @@
{% set showCustomerSummary = showCustomerSummary ?? true %}
{% set showTotalSummary = showTotalSummary ?? true %}
{% set showDateTimeShort = showDateTimeShort ?? false %}
{% set showPageBreak = showPageBreak ?? true %}
{% set now = create_date('now', app.user) %}
{% set decimal = decimal ?? false %}
{# this is only triggered, if a user exports from his personal timesheet screen #}
@@ -220,7 +221,9 @@ mpdf-->
</tbody>
</table>
<pagebreak>
{% if showPageBreak %}
<pagebreak>
{% endif %}
{% endblock %}
{% block items %}
{% block items_header %}