- Add
display: []
for configuring company details that are rendered
r = Receipts::Receipt.new(
company: {
name: "Example, LLC",
address: "123 Fake Street\nNew York City, NY 10012",
phone: "(555) 867-5309",
email: "[email protected]",
iban: "123456789",
logo: File.expand_path("./examples/images/logo.png"),
display: [:address, :phone, :email, :iban]
},
# ...
)
- Add
column_widths:
option to specify line item column widths #35
- Allow specifiying other page sizes - @excid3
- Add
logo_height:
option to specify the height of the logo image
- Add
Receipts.default_font
- @excid3
- New, consistent layouts between Receipts, Invoices, and Statements - @excid3
- PDFs can now be completely customized - @excid3
- Add line_items to Receipts - @excid3
- Update design to give more room for longer product names, addresses, etc - @excid3
- [FIX] Use
URI.parse().open
instead - @excid3 @reckerswartz
- Add I18n notes to the readme - @excid3 @reckerswartz
- Add standardrb formatting - @excid3
- Add GitHub Actions for standardrb and tests - @excid3
- [NEW] Add Statements - @anquinn
- [FIX] Fixes typo introduced in 1.0.2
- [NEW] Add ability to specify file-like objects for logo
- [FIX] Make tables full width