i18n finance + controller
This commit is contained in:
parent
2d58054d1c
commit
8be93c33f8
13 changed files with 186 additions and 91 deletions
|
|
@ -1,13 +1,10 @@
|
|||
-title "Bestellung abschließen"
|
||||
%p
|
||||
Wenn die Bestellung abgeschlossen wird, werden ebenfalls alle Gruppenkonten aktualisiert.
|
||||
%br/
|
||||
Die Konten werden wie folgt belastet:
|
||||
-title t('.title')
|
||||
%p!= t('.first_paragraph')
|
||||
%table.table.table-striped{:style => "width:35em"}
|
||||
- for group_order in @order.group_orders
|
||||
%tr{:class => cycle('even', 'odd')}
|
||||
%td= group_order.ordergroup.name
|
||||
%td.numeric= number_to_currency(group_order.price)
|
||||
.form-actions
|
||||
= link_to "Abschließen", close_finance_order_path(@order), method: :put, class: 'btn btn-primary'
|
||||
= link_to 'oder zurück zur Abrechnung', new_finance_order_path(order_id: @order.id)
|
||||
= link_to t('.clear'), close_finance_order_path(@order), method: :put, class: 'btn btn-primary'
|
||||
= link_to t('.or_cancle'), new_finance_order_path(order_id: @order.id)
|
||||
Loading…
Add table
Add a link
Reference in a new issue