Enhanced Import Amount Type Selection (#506)

* Enhanced Import Amount Type Selection

updated version of https://github.com/we-promise/sure/pull/179

* copilot sugestions

* ai sugestions

* Update import.rb

* Update schema.rb

* Update schema.rb

* Update schema.rb

---------

Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
Mark Hendriksen
2026-01-23 22:12:02 +01:00
committed by GitHub
parent 696ff0966b
commit 9b84c5bdbc
9 changed files with 94 additions and 8 deletions

View File

@@ -85,7 +85,8 @@ class TransactionImportTest < ActiveSupport::TestCase
date_format: "%m/%d/%Y",
amount_col_label: "amount",
entity_type_col_label: "amount_type",
amount_type_inflow_value: "debit",
amount_type_identifier_value: "debit",
amount_type_inflow_value: "inflows_positive",
amount_type_strategy: "custom_column",
signage_convention: nil # Explicitly set to nil to prove this is not needed
)