We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13aa1b5 commit 140d05fCopy full SHA for 140d05f
1 file changed
lib/ruby_danfe/danfe_generator.rb
@@ -88,7 +88,7 @@ def render_titulo
88
@pdf.ibox 0.85, 1.14, 11.42, 10.28, "UF", @xml['enderDest/UF']
89
@pdf.ibox 0.85, 5.33, 12.56, 10.28, "INSCRIÇÃO ESTADUAL", @xml['dest/IE']
90
@pdf.ibox 0.85, 2.92, 17.90, 10.28, "HORA DE SAÍDA", Helper.format_time(@xml['ide/hSaiEnt']), {:align => :right}
91
- @pdf.ibox 0.85, 2.92, 17.90, 10.28, "HORA DE SAÍDA", (not @xml['ide/hSaiEnt'].empty?) ? Helper.format_time(@xml['ide/hSaiEnt']) : Helper.extract_time_from_date(@xml['ide/dhEmi']) , {:align => :right}
+ @pdf.ibox 0.85, 2.92, 17.90, 10.28, "HORA DE SAÍDA", (not @xml['ide/hSaiEnt'].empty?) ? Helper.format_time(@xml['ide/hSaiEnt']) : Helper.extract_time_from_date(@xml['ide/dhSaiEnt']) , {:align => :right}
92
end
93
94
def render_faturas
0 commit comments