mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Bug fixes for specialized account pages (#1275)
* Default for credit card fields * Save institution on new account forms * Fix property, vehicle, loan, credit card pages
This commit is contained in:
parent
b4d0fdbe0d
commit
a2ab217925
10 changed files with 26 additions and 13 deletions
|
@ -27,7 +27,7 @@ class LoansController < ApplicationController
|
|||
def account_params
|
||||
params.require(:account)
|
||||
.permit(
|
||||
:name, :balance, :start_date, :start_balance, :currency, :accountable_type,
|
||||
:name, :balance, :institution_id, :start_date, :start_balance, :currency, :accountable_type,
|
||||
accountable_attributes: [
|
||||
:id,
|
||||
:rate_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue