Sha256: 6203ed497d665284c3b63f69f85a06d29a1104c9cf1583454b2b8d2a6e0c353b
Contents?: true
Size: 842 Bytes
Versions: 23
Compression:
Stored size: 842 Bytes
Contents
# frozen_string_literal: true module BrInvoicesPdf module Nfce module Renderer module Header extend Util::BaseRenderer extend BaseRenderer module_function # :reek:FeatureEnvy def execute(pdf, data) pdf_setup(pdf) do add_header_config(pdf, data) end pdf.move_down(5) end def add_header_config(pdf, _data) pdf.font('Helvetica', style: :bold) msg = 'DANFE NFC-e - Documento Auxiliar de Nota Fiscal Eletrônica para consumidor final' pdf.text(msg, align: :center) pdf.font('Helvetica', style: :normal, align: :center) pdf.text('Não permite aproveiamento de crédito de ICMS', align: :center) end private_class_method :add_header_config end end end end
Version data entries
23 entries across 23 versions & 1 rubygems