enlarge column width even moregoi pdf

This commit is contained in:
viehlieb 2023-10-20 10:38:58 +02:00
parent 505cf8c2f3
commit de6643722a

View file

@ -231,7 +231,7 @@ class GroupOrderInvoicePdf < RenderPdf
table.cells.border_color = '666666'
table.row(0).columns(0..6).style(background_color: 'cccccc', font_style: :bold)
table.rows(0..-1).columns(2..6).width = 80
table.rows(0..-1).column(0).width = 160
table.rows(0..-1).column(0).width = 170
table.rows(0..-1).column(1).width = 40
table.rows(0..-1).column(4).width = 60
table.rows(0..-1).column(5).width = 90
@ -287,7 +287,7 @@ class GroupOrderInvoicePdf < RenderPdf
table.row(0..-1).columns(0).border_width = 0
table.row(0..-1).columns(1).border_width = 0 if marge <= 0
table.rows(0..-1).columns(2..6).width = 80
table.rows(0..-1).column(0).width = 100
table.rows(0..-1).column(0).width = 110
table.rows(0..-1).column(1).width = 100
table.rows(0..-1).column(4).width = 60
table.rows(0..-1).column(5).width = 90