Sha256: a566915dfc0922a469839c96d8c5153a93cd4c3f89334cc655baea856ddf0ac4

Contents?: true

Size: 702 Bytes

Versions: 2

Compression:

Stored size: 702 Bytes

Contents

# To get a simple text, use the line below with your own footer_message
#  text_box footer_message, :at => [margin_box.left -10, margin_box.bottom + 40], :size => 8 , :position => :left

repeat :all do
  table [[Prawn::Table::Cell.new( :text => Spree.t(:footer_left), :font_style => :bold ),
            Prawn::Table::Cell.new( :text => Spree.t(:footer_left2)),
            Prawn::Table::Cell.new( :text => Spree.t(:footer_right), :font_style => :bold ),
            Prawn::Table::Cell.new( :text => Spree.t(:footer_right2))]],
            :border_width => 0,
            :vertical_padding   => 2,
            :font_size => 9,
            :column_widths => { 0 => 80, 1 => 190, 2 => 75, 3 => 190 }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_print_invoice-2.1.4 app/views/spree/admin/orders/_footer.pdf.prawn
spree_print_invoice-2.1.3 app/views/spree/admin/orders/_footer.pdf.prawn