Class: VatRate
- Inherits:
-
ChargeRate
- Object
- ActiveRecord::Base
- ChargeRate
- VatRate
- Defined in:
- app/models/vat_rate.rb
Instance Method Summary collapse
-
#to_s ⇒ Object
String.
Methods inherited from ChargeRate
Instance Method Details
#to_s ⇒ Object
String
8 9 10 |
# File 'app/models/vat_rate.rb', line 8 def to_s "%.1f%% (%s)" % [rate, I18n::translate(code, :scope => 'vat_rates.code')] end |