mirror of
https://github.com/we-promise/sure.git
synced 2026-04-25 23:14:10 +00:00
Fix transfers and form currencies (#1477)
This commit is contained in:
@@ -4,7 +4,10 @@ class Account::ValuationsController < ApplicationController
|
||||
before_action :set_account
|
||||
|
||||
def new
|
||||
@entry = @account.entries.account_valuations.new(entryable_attributes: {})
|
||||
@entry = @account.entries.account_valuations.new(
|
||||
currency: @account.currency,
|
||||
entryable_attributes: {}
|
||||
)
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in New Issue
Block a user