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

Version Path
has_accounts_engine-1.1.2 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.1.1 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.1.0 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.0.4 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.0.3 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.0.2 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.0.1 app/views/bookings/_sidebar.html.haml
has_accounts_engine-1.0.0 app/views/bookings/_sidebar.html.haml
has_accounts-0.20.1 app/views/bookings/_sidebar.html.haml
has_accounts-0.20.0 app/views/bookings/_sidebar.html.haml
has_accounts-0.19.1 app/views/bookings/_sidebar.html.haml
has_accounts-0.19.0 app/views/bookings/_sidebar.html.haml