mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 12:34:12 +00: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:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user