X-Git-Url: https://www.nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/6f0407b6532f52cb0726b2b7fe0070e1709dd5dc..30fb53b63f1ae9d393bb66ffd5d14153e0350109:/lib/nos_oignons/receipt.rb diff --git a/lib/nos_oignons/receipt.rb b/lib/nos_oignons/receipt.rb index 81971c7..c42333f 100644 --- a/lib/nos_oignons/receipt.rb +++ b/lib/nos_oignons/receipt.rb @@ -61,7 +61,7 @@ module NosOignons end end pdf.bounding_box([WINDOW_LEFT - pdf.bounds.absolute_left, pdf.bounds.absolute_top - WINDOW_TOP], :width => WINDOW_WIDTH, :height => WINDOW_BOTTOM - WINDOW_TOP) do - pdf.text member.name + "\n" + member.address, :valign => :bottom + pdf.text member.name + "\n" + (member.address || ''), :valign => :bottom end end