Sha256: b188097bd5d1de34707a7c04161c54c870233377ec5e68915c4b545c80597310
Contents?: true
Size: 336 Bytes
Versions: 12
Compression:
Stored size: 336 Bytes
Contents
- filter_name = :by_value_period - content_for :sidebar do - filters = current_tenant.fiscal_years.reverse.map do |period| - value = {"from" => period[:from].to_s(:db), "to" => period[:to].to_s(:db)} - {:value => value, :title => period[:to].year} = boot_nav_filter(filter_name, [{:title => :all, :value => nil}] + filters)
Version data entries
12 entries across 12 versions & 2 rubygems