diff --git a/.github/workflows/desktop.build.yml b/.github/workflows/desktop.build.yml index e523fb3f93..cea5c285ae 100644 --- a/.github/workflows/desktop.build.yml +++ b/.github/workflows/desktop.build.yml @@ -135,8 +135,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v1.0.17 - release_name: Release v1.0.17 + tag_name: v1.0.18 + release_name: Release v1.0.18 draft: false prerelease: false diff --git a/src/common/EscPComandos.py b/src/common/EscPComandos.py index 8bc6787ecb..f6b01475b4 100644 --- a/src/common/EscPComandos.py +++ b/src/common/EscPComandos.py @@ -685,6 +685,8 @@ def print_plato(plato): printer.text("\n") printer.set(font='b', bold=False, height=2, width=2, align='left', double_height=False, double_width=False) printer.text(f" OBS: {plato['observacion']}\n") + + printer.text("\n") if 'observacion' in comanda: printer.set(font='a', bold=True, height=2, width=2, align='center', double_height=True, double_width=True) @@ -693,14 +695,14 @@ def print_plato(plato): printer.text("\n\n") if 'entradas' in comanda: - printer.set(font='a', bold=True, height=2, width=2, align='left', double_height=True, double_width=True) + printer.set(font='a', bold=True, height=2, width=2, align='center', double_height=True, double_width=True) printer.text(u"** ** ENTRADA ** **\n\n") for entrada in comanda['entradas']: print_plato(entrada) printer.text("\n\n") if 'platos' in comanda: - printer.set(font='a', bold=True, height=2, width=2, align='left', double_height=True, double_width=True) + printer.set(font='a', bold=True, height=2, width=2, align='center', double_height=True, double_width=True) printer.text(u"----- PRINCIPAL -----\n\n") for plato in comanda['platos']: print_plato(plato)