X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/a0cdfa366e3688112df52d1865ebac2b631776fe..76f86b5fd3f52363a3ce219310062270ee4eb52a:/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