mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 07:09:39 +02:00
Feature: Add "amount type" configuration column for CSV imports (#1947)
* Rough draft * Schema conflict update * Implement signage * Update system tests * Lint fixes
This commit is contained in:
parent
8cf077f28d
commit
c88fe2e3b2
21 changed files with 366 additions and 83 deletions
|
@ -277,6 +277,7 @@ module ImportInterfaceTest
|
|||
csv_data = "date,amount,name\n01/01/2024,1234.56,Test"
|
||||
import.update!(raw_file_str: csv_data)
|
||||
import.update!(
|
||||
date_col_label: "date",
|
||||
date_format: "%Y-%m-%d" # Does not match the raw CSV date, so rows will be invalid, but still generated
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue