Some language fixes. Finished migration path.

This commit is contained in:
Benjamin Meichsner 2009-03-01 18:45:34 +01:00
parent 857475af1b
commit a29053b4e9
9 changed files with 172 additions and 169 deletions

View file

@ -34,11 +34,11 @@ class ArticlePrice < ActiveRecord::Base
# The financial gross, net plus tax and deposit.
def gross_price
((price + deposit) * (tax / 100 + 1))
((price + deposit) * (tax / 100 + 1)).round(2)
end
# The price for the foodcoop-member.
def fc_price
(gross_price * (APP_CONFIG[:price_markup] / 100 + 1))
(gross_price * (APP_CONFIG[:price_markup] / 100 + 1)).round(2)
end
end