lib/ish/invoice.rb in ish_models-0.0.33.285 vs lib/ish/invoice.rb in ish_models-0.0.33.286
- old
+ new
@@ -92,10 +92,10 @@
[ 'Description', 'Per Unit', '# of Units', 'Subtotal' ]
]
total = 0
leadset.subscriptions.each do |i|
subtotal = (i.price.amount_cents * i.quantity).to_f/100
- lineitems_with_header.push([ i.price.product.name, i.price.to_s, i.quantity, subtotal ])
+ lineitems_with_header.push([ i.price.product.name, i.price.name_simple, i.quantity, subtotal ])
total += subtotal
end
pdf.move_down 20