Allow to generate multiple labels at once (multiple pages in 1 PDF file).

This commit is contained in:
Jan Böhmer 2020-04-21 00:00:29 +02:00
parent 4c5820ee22
commit e89cc4bb01
12 changed files with 389 additions and 228 deletions

View file

@ -11,6 +11,11 @@
</style>
</head>
<body>
{{ lines | raw }}
{% for element in elements %}
{% include "LabelSystem/labels/label_page.html.twig" %}
{% if not loop.last %}
<div style="page-break-after: always;"></div>
{% endif %}
{% endfor %}
</body>
</html>

View file

@ -0,0 +1 @@
{{ element.lines | raw }}