2013-02-11 03:57:33 +01:00
|
|
|
- title t('.title')
|
2011-06-09 21:35:05 +02:00
|
|
|
|
2013-02-11 03:57:33 +01:00
|
|
|
%p!= t('.paragraph', name: @ordergroup.name)
|
2012-08-24 11:11:40 +02:00
|
|
|
|
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
|
2017-03-04 14:15:18 +01:00
|
|
|
- if FinancialTransactionType.has_multiple_types
|
|
|
|
= f.association :financial_transaction_type, :as => :radio_buttons
|
2011-06-09 21:35:05 +02:00
|
|
|
= f.input :amount
|
|
|
|
= f.input :note, :as => :text
|
2012-11-12 13:13:01 +01:00
|
|
|
.form-actions
|
|
|
|
= f.submit class: 'btn btn-primary'
|
2013-04-04 02:49:52 +02:00
|
|
|
= link_to t('ui.or_cancel'), finance_ordergroup_transactions_path(@ordergroup)
|