1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Fix trade import mapping bug

This commit is contained in:
Zach Gollwitzer 2024-10-21 12:26:39 -04:00
parent a27b17deae
commit 728b10d08e

View file

@ -20,6 +20,21 @@ class Import::ConfigurationsController < ApplicationController
end
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