Correção do QRCODE holerite

This commit is contained in:
2026-06-18 20:21:58 -03:00
parent 13d6c243c3
commit 6d246cadb8
3 changed files with 24 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ module Pdf
# Bloco de assinaturas lado a lado: motorista (esquerda) e administrador
# (direita). Garante espaço criando nova página se o rodapé estiver perto.
def assinaturas(motorista: nil)
@pdf.start_new_page if @pdf.cursor < 120
@pdf.start_new_page if @pdf.cursor < 100
@pdf.move_down 36
metade = (@pdf.bounds.width - 40) / 2.0