Stav 23.06.2026

This commit is contained in:
2026-06-23 15:20:56 +02:00
commit 6d91e83e8c
5670 changed files with 1145969 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
{{ printer.reset }}
{%- if pager %}
{{ pager|box('*', printer.max_characters, 'Pager:') }}
{%- endif %}
{%- if order_note %}
{% set text = 'Poznamka: ' + order_note %}
{% for i in range(0, text|length, printer.max_characters) %}
{{ text[i:i + printer.max_characters] }}
{% endfor %}
{%- endif %}
{{ printer.bigfont_on }}Stol: {{ table_name|truncate(printer.max_characters - 6) }}{{ printer.bigfont_off }}
{{ cashier_name|truncate(printer.max_characters) }}
{{ created_at.strftime('%d.%m.%Y,%H:%M') }} => {{ printer_name|truncate(printer.max_characters - 21) }}
{{ '-'|repeat(printer.max_characters) }}
{% if is_storno %}
{% if is_bill_cancel %}
{{ "STORNO STAREHO UCTU"|box('*', printer.max_characters) }}
{% else %}
{{ "S T O R N O"|box('*', printer.max_characters) }}
{% endif %}
{% endif %}
{% for item in items %}
{% if item.print_course_header %}
{% set chod = '******** Chod: ' + item.course_name|string|trim + ' ********' %}
{{ chod|center(printer.max_characters) }}
{% endif %}
{% if item.print_guest_header %}
{% set host = '---- Host: ' + item.guest_name|string|trim + ' ----' %}
{{ host|center(printer.max_characters) }}
{% endif %}
{{ item.description }}
{% for line in item.order_lines %}
{{ line }}
{% endfor %}
{% endfor %}
{{ printer.bigfont_on }}
Stol: {{ table_name|truncate(printer.max_characters - 6) }}{{ printer.bigfont_off }}
Casnik: {{ user|truncate(printer.max_characters - 8) }}
{% if locator_number %}
{{ '*'|repeat(printer.max_characters) }}
Cislo objednavky: {{ locator_number }}
{{ '*'|repeat(printer.max_characters) }}
{% endif %}
Bon: {{ bon_count }}
{{ cashier_name|truncate(printer.max_characters) }}
{% if pager %}
{{ pager|box('*', printer.max_characters, 'Pager:') }}
{% endif %}
{{ printer.crlf }}
{{ printer.fullcut }}