Class: TaxJp::SocialInsurancesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/tax_jp/social_insurances_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



7
8
9
10
11
# File 'app/controllers/tax_jp/social_insurances_controller.rb', line 7

def index
  if params[:commit]
    @social_insurances = TaxJp::SocialInsurance.find_all_by_date_and_prefecture(@finder.from, @finder.prefecture_code)
  end
end