mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-28 09:39:39 +02:00
Fix trade import mapping bug
This commit is contained in:
parent
a27b17deae
commit
728b10d08e
1 changed files with 16 additions and 1 deletions
|
@ -20,6 +20,21 @@ class Import::ConfigurationsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def import_params
|
def import_params
|
||||||
params.require(:import).permit(:date_col_label, :date_format, :name_col_label, :category_col_label, :tags_col_label, :amount_col_label, :signage_convention, :account_col_label, :notes_col_label, :entity_type_col_label)
|
params.require(:import).permit(
|
||||||
|
:date_col_label,
|
||||||
|
:amount_col_label,
|
||||||
|
:name_col_label,
|
||||||
|
:category_col_label,
|
||||||
|
:tags_col_label,
|
||||||
|
:account_col_label,
|
||||||
|
:qty_col_label,
|
||||||
|
:ticker_col_label,
|
||||||
|
:price_col_label,
|
||||||
|
:entity_type_col_label,
|
||||||
|
:notes_col_label,
|
||||||
|
:currency_col_label,
|
||||||
|
:date_format,
|
||||||
|
:signage_convention
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue