Sha256: b1745d3d22bf562a61bb670bc6c41508bfa148485c38c3d58783c32efe827225
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
module BrDanfe module DanfeNfceLib class Footer def initialize(pdf, xml) @pdf = pdf @xml = xml end def render tot_trib = @xml['ICMSTot/vTotTrib'].present? ? BrDanfe::Helper.numerify(@xml['ICMSTot/vTotTrib']) : '0,00' @pdf.text "Tributos Totais Incidentes (Lei Federal 12.741/2012): R$ #{tot_trib}", size: 5, align: :center end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
br_danfe-0.12.0 | lib/br_danfe/danfe_nfce_lib/footer.rb |