foodsoft/app/views/group_orders/archive.html.haml

14 lines
452 B
Text
Raw Normal View History

2013-02-09 02:01:31 +01:00
- title t('.title', group: @ordergroup.name)
2009-01-06 11:49:19 +01:00
%p
2013-02-09 02:01:31 +01:00
= t('.desc', link: link_to(t('.open_orders'), group_orders_path)).html_safe
.row-fluid
.span6
2013-02-09 02:01:31 +01:00
%h2= t '.title_open'
= render partial: 'orders', locals: {orders: @finished_not_closed_orders_including_group_order, pagination: false}
.span6
2013-02-09 02:01:31 +01:00
%h2= t '.title_closed'
#closed_orders
= render partial: 'orders', locals: {orders: @closed_orders_including_group_order, pagination: true}