-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: data extraction not working in case of bulk upload (#3010)
* fix: data extraction not working in case of bulk upload * written test * test: fixed eslint issues (#3025)
- Loading branch information
1 parent
655c990
commit 2e009f4
Showing
6 changed files
with
93 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import deepFreeze from 'deep-freeze-strict'; | ||
import { ParsedResponse } from '../models/parsed_response.model'; | ||
|
||
export const parsedResponseData1: ParsedResponse = deepFreeze({ | ||
category: 'SYSTEM', | ||
currency: 'USD', | ||
amount: 100, | ||
date: new Date('2023-02-15T06:30:00.000Z'), | ||
invoice_dt: new Date('2023-02-24T12:03:57.680Z'), | ||
vendor_name: 'vendor', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export interface ReceiptPreviewData { | ||
base64ImagesWithSource: Partial<{ | ||
source: string; | ||
base64Image: string; | ||
}>[]; | ||
continueCaptureReceipt?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.