Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MatCRL committed Jan 6, 2025
1 parent 0f8ee00 commit 81be419
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/br_danfe/danfe_lib/nfe_lib/dup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ def render
@xml.collect('xmlns', 'dup') do |det|
next unless det_count < 12

if det_count < 6
y = @y_position - 0.015
else
x = 0.75 unless det_count == 6
x = 0.75 unless det_count != 6

y = @y_position + 0.185
end
y = if det_count < 6
@y_position - 0.015
else
@y_position + 0.185
end

render_dup(det, x, y + 0.3)
x += 3.261666667
Expand Down

0 comments on commit 81be419

Please sign in to comment.