Skip to content

Commit a21f2e0

Browse files
authored
fix overlap (#238)
1 parent ecd3503 commit a21f2e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/br_danfe/danfe_lib/nfe_lib/det_body.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def render(has_issqn)
2323
private
2424

2525
def table_height_on_first_page(has_issqn)
26-
has_issqn ? 6.35.cm : 7.72.cm
26+
base_height = has_issqn ? 6.35.cm : 7.72.cm
27+
(base_height - @y_position_with_entrega.cm)
2728
end
2829

2930
def create_table

0 commit comments

Comments
 (0)