diff --git a/.github/workflows/desktop.build.yml b/.github/workflows/desktop.build.yml index bd0c3bcc34..e523fb3f93 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.16 - release_name: Release v1.0.16 + tag_name: v1.0.17 + release_name: Release v1.0.17 draft: false prerelease: false diff --git a/src/common/EscPComandos.py b/src/common/EscPComandos.py index 1c6fe77ce6..8bc6787ecb 100644 --- a/src/common/EscPComandos.py +++ b/src/common/EscPComandos.py @@ -558,10 +558,7 @@ def printRemito(self, escpos: EscposIO, **kwargs): printer.ln() # Imprimir total - dsTotal = pad("TOTAL:", self.desc_cols_ext - 1, " ", "l") - importeTotal = pad(f"{round(importeTotal,2):,.2f}",self.price_cols, " ", "r") - - escpos.writelines(f'{dsTotal}{self.signo}{importeTotal}', bold=True, align='left', height=2, width=2) + escpos.writelines(f'TOTAL: {self.signo}{round(importeTotal,2):,.2f}', bold=True, align='center', height=2, width=2, double_height=True, double_width=True) printer.ln(); # Imprimir pagos "Simple"