Skip to content

Commit 140d05f

Browse files
committed
Alterado campo para extrair o horário de saída.
1 parent 13aa1b5 commit 140d05f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ruby_danfe/danfe_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def render_titulo
8888
@pdf.ibox 0.85, 1.14, 11.42, 10.28, "UF", @xml['enderDest/UF']
8989
@pdf.ibox 0.85, 5.33, 12.56, 10.28, "INSCRIÇÃO ESTADUAL", @xml['dest/IE']
9090
@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}
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/dhSaiEnt']) , {:align => :right}
9292
end
9393

9494
def render_faturas

0 commit comments

Comments
 (0)