Add Registry model

#623
This commit is contained in:
Artur Beljajev 2018-02-28 09:53:53 +02:00
parent 37cc05e44c
commit ea305618a5
4 changed files with 29 additions and 3 deletions

11
app/models/registry.rb Normal file
View file

@ -0,0 +1,11 @@
class Registry
include Singleton
def vat_rate
Setting.registry_vat_prc
end
def legal_address_country
Country.new(Setting.registry_country_code)
end
end