lib/receipt/pdf.rb in receipt-0.1.1 vs lib/receipt/pdf.rb in receipt-0.1.2
- old
+ new
@@ -97,10 +97,10 @@
def header
pad(10) do
text(t(:receipt).upcase, align: :center, style: :bold, size: 20)
move_up 20
- text("#{t(:number)}: <b>#{id}</b>", inline_format: true)
+ text("#{t(:receipt_number)}: <b>#{id}</b>", inline_format: true)
move_up 15
text("#{t(:amount)}: <b>#{formated_amount}</b>",
inline_format: true, align: :right)
pad(10) { stroke_horizontal_rule }