Module: Finance::BalancingHelper

Defined in:
app/helpers/finance/balancing_helper.rb

Instance Method Summary collapse

Instance Method Details

#balancing_view_partialObject



2
3
4
5
6
7
8
9
10
11
12
# File 'app/helpers/finance/balancing_helper.rb', line 2

def balancing_view_partial
  view = params[:view] || 'edit_results'
  case view
  when 'edit_results'
    'edit_results_by_articles'
  when 'groups_overview'
    'shared/articles_by/groups'
  when 'articles_overview'
    'shared/articles_by/articles'
  end
end