Refactored finance/ordergroups|transactions module.

This commit is contained in:
benni 2011-06-09 21:35:05 +02:00
parent fc1d130113
commit ea6348bc5c
38 changed files with 967 additions and 443 deletions

View file

@ -0,0 +1,9 @@
- title "Neue Transaktion"
= simple_form_for @financial_transaction, :url => finance_ordergroup_transactions_path(@ordergroup),
:validate => true do |f|
= f.association :ordergroup
= f.input :amount
= f.input :note, :as => :text
= f.submit
= link_to "oder abbrechen", finance_ordergroup_transactions_path(@ordergroup)