Skip to content

Commit

Permalink
Merge pull request #477 from hedudelgado/MNOE-600-logo-size-invoice
Browse files Browse the repository at this point in the history
[MNOE-600] Fix size logo on invoice
  • Loading branch information
alexnoox authored Sep 19, 2017
2 parents 1a3a134 + 145bfb8 commit 4ebe177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/pdf/mno_enterprise/invoice_pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def add_page_header
@pdf.repeat :all do
@pdf.bounding_box([0, @pdf.bounds.top+@format[:header_size]], width: 540, height: @format[:footer_size]) do
@pdf.float do
@pdf.image image_path('mno_enterprise/main-logo.png'), scale: 0.5
@pdf.image image_path('mno_enterprise/main-logo.png'), :fit => [135, (@format[:footer_size])]
end
@pdf.move_down 52
@pdf.font_size(20) { @pdf.text "Monthly Invoice - #{@data[:period_month]}", style: :bold, align: :right }
Expand Down

0 comments on commit 4ebe177

Please sign in to comment.