Add full address to the ticket
Full address is added to the ticket as earlier it was showing venue name only
This commit is contained in:
parent
8dd5a14b23
commit
99e5af3217
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ class TicketPdf < Prawn::Document
|
||||||
draw_text @conference.organization.name.to_s, at: [@mid_horizontal + 30, cursor - 50], size: 12
|
draw_text @conference.organization.name.to_s, at: [@mid_horizontal + 30, cursor - 50], size: 12
|
||||||
if @conference.venue
|
if @conference.venue
|
||||||
draw_text @conference.venue.name, at: [@mid_horizontal + 30, cursor - 70]
|
draw_text @conference.venue.name, at: [@mid_horizontal + 30, cursor - 70]
|
||||||
|
draw_text @conference.venue.street, at: [@mid_horizontal + 30, cursor - 90]
|
||||||
|
draw_text @conference.venue.city, at: [@mid_horizontal + 30, cursor - 110]
|
||||||
end
|
end
|
||||||
move_up 130
|
move_up 130
|
||||||
move_down @mid_vertical
|
move_down @mid_vertical
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue