2011-06-09 21:35:05 +02:00
|
|
|
- title "Neue Transaktion"
|
|
|
|
|
2012-08-24 11:11:40 +02:00
|
|
|
%p Hier kannst du der Bestellgruppe <b>#{@ordergroup.name}</b> Geld gutschreiben/abziehen.
|
|
|
|
|
2011-06-09 21:35:05 +02:00
|
|
|
= simple_form_for @financial_transaction, :url => finance_ordergroup_transactions_path(@ordergroup),
|
|
|
|
:validate => true do |f|
|
2012-08-24 11:11:40 +02:00
|
|
|
= f.hidden_field :ordergroup_id
|
2011-06-09 21:35:05 +02:00
|
|
|
= f.input :amount
|
|
|
|
= f.input :note, :as => :text
|
|
|
|
= f.submit
|
|
|
|
= link_to "oder abbrechen", finance_ordergroup_transactions_path(@ordergroup)
|