diff --git a/app/controllers/finance/financial_transactions_controller.rb b/app/controllers/finance/financial_transactions_controller.rb index bf740674e..c7ec66aa9 100644 --- a/app/controllers/finance/financial_transactions_controller.rb +++ b/app/controllers/finance/financial_transactions_controller.rb @@ -51,11 +51,7 @@ def new def create @financial_transaction = FinancialTransaction.new(params[:financial_transaction]) @financial_transaction.user = current_user - if @financial_transaction.ordergroup - @financial_transaction = @financial_transaction.add_transaction! - else - @financial_transaction.save! - end + @financial_transaction.save! respond_to do |format| format.js