mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
16 lines
428 B
Plaintext
16 lines
428 B
Plaintext
- if order_cycles_enabled?
|
|
#distribution-selection.row
|
|
|
|
- if current_order_cycle# && current_order_cycle.exchanges.to_enterprises(current_distributor).outgoing.any?
|
|
= render partial: "order_cycles/orders_current"
|
|
|
|
- elsif order_cycle_options.empty?
|
|
= render partial: "order_cycles/orders_closed"
|
|
|
|
- else
|
|
= render partial: "order_cycles/orders_open"
|
|
|
|
%p
|
|
%strong= link_to "List View", shop_path
|
|
|