finish group_orders i18n + controller

This commit is contained in:
wvengen 2013-02-09 02:01:31 +01:00
parent 28c66642f5
commit 8d899581bd
9 changed files with 196 additions and 98 deletions

View file

@ -1,9 +1,9 @@
%table.table.table-striped
%thead
%tr
%th Lieferantin
%th Ende
%th Summe
%th= t '.supplier'
%th= t '.ending'
%th= t '.sum'
%tbody
- for order in orders
- group_order = order.group_order(@ordergroup) # Get GroupOrder if possible
@ -13,4 +13,4 @@
%td= format_time(order.ends)
%td.numeric= group_order ? number_to_currency(group_order.price) : "--"
- if pagination
= pagination_links_remote @closed_orders
= pagination_links_remote @closed_orders