Add view to sort orders by pickup day

This commit is contained in:
Patrick Gansterer 2017-11-06 18:07:36 +01:00
parent bd49a64cd7
commit 209ad615b4
7 changed files with 90 additions and 1 deletions

View file

@ -24,6 +24,7 @@ SimpleNavigation::Configuration.run do |navigation|
subnav.item :ordering, I18n.t('navigation.orders.ordering'), group_orders_path
subnav.item :ordering_archive, I18n.t('navigation.orders.archive'), archive_group_orders_path
subnav.item :orders, I18n.t('navigation.orders.manage'), orders_path, if: Proc.new { current_user.role_orders? }
subnav.item :pickups, I18n.t('navigation.orders.pickups'), pickups_path, if: Proc.new { current_user.role_orders? }
end
primary.item :articles, I18n.t('navigation.articles.title'), '#',