Sha256: 1469147ff647f48974e77e8d255f1136f5034a60845ec9f26389a95292145b69
Contents?: true
Size: 1.15 KB
Versions: 25
Compression:
Stored size: 1.15 KB
Contents
module BrDanfe module DanfeLib class Icmstot Y = 13.77 + SPACE_BETWEEN_GROUPS def initialize(pdf, xml) @pdf = pdf @xml = xml @ltitle = Y - 0.42 @l1 = Y @l2 = Y + LINE_HEIGHT end def render @pdf.ititle 0.42, 5.60, 0.75, @ltitle, "ICMSTot.title" @pdf.lnumeric LINE_HEIGHT, 3.56, 0.75, @l1, @xml, "ICMSTot/vBC" @pdf.lnumeric LINE_HEIGHT, 4.06, 4.31, @l1, @xml, "ICMSTot/vICMS" @pdf.lnumeric LINE_HEIGHT, 4.06, 8.37, @l1, @xml, "ICMSTot/vBCST" @pdf.lnumeric LINE_HEIGHT, 4.06, 12.43, @l1, @xml, "ICMSTot/vST" @pdf.lnumeric LINE_HEIGHT, 3.82, 16.49, @l1, @xml, "ICMSTot/vProd" @pdf.lnumeric LINE_HEIGHT, 2.55, 0.75, @l2, @xml, "ICMSTot/vFrete" @pdf.lnumeric LINE_HEIGHT, 3.05, 3.30, @l2, @xml, "ICMSTot/vSeg" @pdf.lnumeric LINE_HEIGHT, 3.04, 6.35, @l2, @xml, "ICMSTot/vDesc" @pdf.lnumeric LINE_HEIGHT, 3.04, 9.39, @l2, @xml, "ICMSTot/vOutro" @pdf.lnumeric LINE_HEIGHT, 4.06, 12.43, @l2, @xml, "ICMSTot/vIPI" @pdf.lnumeric LINE_HEIGHT, 3.82, 16.49, @l2, @xml, "ICMSTot/vNF", style: :bold end end end end
Version data entries
25 entries across 25 versions & 1 rubygems