grou order index narrower tables
This commit is contained in:
parent
376148f8e5
commit
362728fd51
1 changed files with 20 additions and 15 deletions
|
@ -18,22 +18,27 @@
|
||||||
%th= heading_helper Ordergroup, :available_funds
|
%th= heading_helper Ordergroup, :available_funds
|
||||||
%th.numeric= number_to_currency(@ordergroup.get_available_funds)
|
%th.numeric= number_to_currency(@ordergroup.get_available_funds)
|
||||||
|
|
||||||
= render :partial => "shared/open_orders", :locals => {:ordergroup => @ordergroup}
|
.row-fluid
|
||||||
|
.span9
|
||||||
// finished orders
|
= render :partial => "shared/open_orders", :locals => {:ordergroup => @ordergroup}
|
||||||
|
// finished orders
|
||||||
- unless @finished_not_closed_orders_including_group_order.empty?
|
- unless @finished_not_closed_orders_including_group_order.empty?
|
||||||
%section
|
.row-fluid
|
||||||
%h2= t '.finished_orders.title'
|
.span9
|
||||||
= render partial: 'orders', locals: {orders: @finished_not_closed_orders_including_group_order, pagination: false}
|
%section
|
||||||
- if @ordergroup.value_of_finished_orders > 0
|
%h2= t '.finished_orders.title'
|
||||||
%p
|
= render partial: 'orders', locals: {orders: @finished_not_closed_orders_including_group_order, pagination: false}
|
||||||
= t('.finished_orders.total_sum') + ':'
|
- if @ordergroup.value_of_finished_orders > 0
|
||||||
%b= number_to_currency(@ordergroup.value_of_finished_orders)
|
%p
|
||||||
|
= t('.finished_orders.total_sum') + ':'
|
||||||
|
%b= number_to_currency(@ordergroup.value_of_finished_orders)
|
||||||
|
|
||||||
// closed orders
|
// closed orders
|
||||||
- unless @closed_orders_including_group_order.empty?
|
- unless @closed_orders_including_group_order.empty?
|
||||||
%section
|
.row-fluid
|
||||||
%h2= t '.closed_orders.title'
|
.span9
|
||||||
= render partial: 'orders', locals: {orders: @closed_orders_including_group_order, pagination: false}
|
%section
|
||||||
%br/
|
%h2= t '.closed_orders.title'
|
||||||
= link_to t('.closed_orders.more'), archive_group_orders_path
|
= render partial: 'orders', locals: {orders: @closed_orders_including_group_order, pagination: false}
|
||||||
|
%br/
|
||||||
|
= link_to t('.closed_orders.more'), archive_group_orders_path
|
||||||
|
|
Loading…
Reference in a new issue