Skip to content

Commit

Permalink
Use medium sized logo to make pdfs smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed Mar 18, 2024
1 parent 9df1dcd commit 08ca219
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Empty file removed app/assets/images/.keep
Empty file.
Binary file modified app/assets/images/logo_12ul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/logo_12ul_medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/notes/_pdf.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ruby:
logo = Base64.encode64 Rails.application.assets['logo_12ul.png'].to_s
logo = Base64.encode64 Rails.application.assets['logo_12ul_medium.png'].to_s
contact = note.contact
address = contact.address
net_total = note.costs.map{ |c| c.price * c.amount }.sum
Expand Down

0 comments on commit 08ca219

Please sign in to comment.