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:
rahul 2017-09-12 18:10:16 +05:30 committed by Stella Rouzi
parent 8dd5a14b23
commit 99e5af3217

View file

@ -53,6 +53,8 @@ class TicketPdf < Prawn::Document
draw_text @conference.organization.name.to_s, at: [@mid_horizontal + 30, cursor - 50], size: 12
if @conference.venue
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
move_up 130
move_down @mid_vertical