Make 'pagebreak' optional in pdf layout exporter (#4561)
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
{% set showCustomerSummary = showCustomerSummary ?? true %}
|
{% set showCustomerSummary = showCustomerSummary ?? true %}
|
||||||
{% set showTotalSummary = showTotalSummary ?? true %}
|
{% set showTotalSummary = showTotalSummary ?? true %}
|
||||||
{% set showDateTimeShort = showDateTimeShort ?? false %}
|
{% set showDateTimeShort = showDateTimeShort ?? false %}
|
||||||
|
{% set showPageBreak = showPageBreak ?? true %}
|
||||||
{% set now = create_date('now', app.user) %}
|
{% set now = create_date('now', app.user) %}
|
||||||
{% set decimal = decimal ?? false %}
|
{% set decimal = decimal ?? false %}
|
||||||
{# this is only triggered, if a user exports from his personal timesheet screen #}
|
{# this is only triggered, if a user exports from his personal timesheet screen #}
|
||||||
@@ -220,7 +221,9 @@ mpdf-->
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<pagebreak>
|
{% if showPageBreak %}
|
||||||
|
<pagebreak>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block items %}
|
{% block items %}
|
||||||
{% block items_header %}
|
{% block items_header %}
|
||||||
|
|||||||
Reference in New Issue
Block a user