Added password type

This commit is contained in:
Priit Tark 2015-04-02 17:22:32 +03:00
parent 7d94304d56
commit 393a4f6d06

View file

@ -39,10 +39,14 @@ class Contact < ActiveRecord::Base
scope :current_registrars, ->(id) { where(registrar_id: id) }
BIC = 'bic'
PRIV = 'priv'
BIRTHDAY = 'birthday'
PASSPORT = 'passport'
IDENT_TYPES = [
BIC, # Company registry code (or similar)
'priv', # National idendtification number
'birthday' # Birthday date
BIC, # Company registry code (or similar)
PRIV, # National idendtification number
BIRTHDAY # Birthday date
]
class << self