enlarge column width even moregoi pdf
This commit is contained in:
parent
505cf8c2f3
commit
de6643722a
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ class GroupOrderInvoicePdf < RenderPdf
|
||||||
table.cells.border_color = '666666'
|
table.cells.border_color = '666666'
|
||||||
table.row(0).columns(0..6).style(background_color: 'cccccc', font_style: :bold)
|
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).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(1).width = 40
|
||||||
table.rows(0..-1).column(4).width = 60
|
table.rows(0..-1).column(4).width = 60
|
||||||
table.rows(0..-1).column(5).width = 90
|
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(0).border_width = 0
|
||||||
table.row(0..-1).columns(1).border_width = 0 if marge <= 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).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(1).width = 100
|
||||||
table.rows(0..-1).column(4).width = 60
|
table.rows(0..-1).column(4).width = 60
|
||||||
table.rows(0..-1).column(5).width = 90
|
table.rows(0..-1).column(5).width = 90
|
||||||
|
|
Loading…
Reference in a new issue