Skip to content

Commit

Permalink
fix: custom delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Jun 25, 2024
1 parent d50487c commit 13fb560
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"html_5",
"import_file",
"download_template",
"custom_delimiters",
"delimiter_options",
"status",
"template_options",
"import_warnings_section",
Expand Down Expand Up @@ -198,11 +200,25 @@
"fieldtype": "Code",
"label": "Statement Import Log",
"options": "JSON"
},
{
"default": "0",
"fieldname": "custom_delimiters",
"fieldtype": "Check",
"label": "Custom delimiters"
},
{
"default": ",;\\t|",
"depends_on": "custom_delimiters",
"description": "If your CSV uses a different delimiter, add that character here, ensuring no spaces or additional characters are included.",
"fieldname": "delimiter_options",
"fieldtype": "Data",
"label": "Delimiter options"
}
],
"hide_toolbar": 1,
"links": [],
"modified": "2024-03-27 13:06:38.098765",
"modified": "2024-06-25 15:34:35.214946",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Bank Statement Import",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class BankStatementImport(DataImport):
bank: DF.Link | None
bank_account: DF.Link
company: DF.Link
custom_delimiters: DF.Check
delimiter_options: DF.Data | None
google_sheets_url: DF.Data | None
import_file: DF.Attach | None
import_type: DF.Literal["", "Insert New Records", "Update Existing Records"]
Expand Down

0 comments on commit 13fb560

Please sign in to comment.