Skip to content

Commit 0c0ec73

Browse files
committed
handle merchant/date
1 parent 3857f58 commit 0c0ec73

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/components/ImportColumn.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ function findColumnName(header: string): string {
103103
attribute = CONST.CSV_IMPORT_COLUMNS.CURRENCY;
104104
break;
105105

106+
case 'date':
107+
case 'transactiondate':
108+
case 'transaction_date':
109+
attribute = 'date';
110+
break;
111+
112+
case 'merchant':
113+
case 'merchants':
114+
case 'vendor':
115+
case 'vendors':
116+
attribute = 'merchant';
117+
break;
118+
106119
case 'rateid':
107120
attribute = CONST.CSV_IMPORT_COLUMNS.RATE_ID;
108121
break;

0 commit comments

Comments
 (0)