Skip to content

Commit

Permalink
rm TODO maybe causing problems on the web server
Browse files Browse the repository at this point in the history
  • Loading branch information
multiscan committed Jul 4, 2013
1 parent 3f4dd64 commit 5466efd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 60 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config/application.yml
config/database.yml
config/development.sphinx.conf
config/production.sphinx.conf
TODO

# Ignore bundler config
/.bundle
Expand Down
42 changes: 0 additions & 42 deletions TODO

This file was deleted.

18 changes: 0 additions & 18 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,28 +262,10 @@ def item_label(item)
y = h - d
x = d
text_box(lines.join("\n"), at: [x,y], width: tw, height: bh, :align => :center, :overflow => :shrink_to_fit)
# bounding_box([x,y], :width => tw, :height => bh) do
# stroke_bounds
# lines.each do |l|
# text l, :align => :center, :size => fs
# end
# # barcode_25i(sid, 0, 24, abw, 24, true)
# end
x = hw - 0.5*tw
text_box(lines.join("\n"), at: [x,y], width: tw, height: bh, :align => :center, :overflow => :shrink_to_fit)
# bounding_box([x,y], :width => tw, :height => bh) do
# stroke_bounds
# lines.each do |l|
# text l, :align => :center, :size => fs
# end
# barcode_25i(sid, 4.mm, 24, 16.mm, 24, true)
# text_box "#{item.inv.to_s.split("").join(" ")}", :at => [4.mm, 8], :size => 8, :width => 16.mm, :align => :center
# end
x = hw + 0.5*tw+d
# barcode_25i(sid, x, d, bh, w-d-x, true)
rotate(90, :origin => [x,d]) do
# barcode_25i(sid, (h-bh)/2, -2.mm, bh, (w-bw)/2-2.mm, false)
# barcode_25i(sid, d, x, bh, w-d-x, true)
barcode_25i(sid, x, d, bh, w-d-x, true)
end
end
Expand Down

0 comments on commit 5466efd

Please sign in to comment.