app/jobs/billing/issue_print_doc.rb in billing-0.1.1 vs app/jobs/billing/issue_print_doc.rb in billing-0.1.2a

- old
+ new

@@ -23,10 +23,10 @@ return unless bill.printable? s.notify "Print Doc Start" s.print bill.origin.print_header s.print "\r\n ****** \r\n" - s.print "#{bill.name}".truncate(30) + s.print bill.name s.print "\r\n------------------------------\r\n" bill.charges.each do |charge| text = "#{charge.qty ? charge.qty : 1} x #{charge.name}" s.print "\r\n#{text.truncate(22).ljust(22)} #{charge.price.to_s.rjust(7)}\r\n" \ No newline at end of file