Skip to content

Commit

Permalink
[MNOE-600] Add fit logo within header
Browse files Browse the repository at this point in the history
  • Loading branch information
hedudelgado committed Sep 18, 2017
1 parent f2f973e commit 145bfb8
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.25
@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 145bfb8

Please sign in to comment.