-
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.
feat: move v2/expenses from personal cards page to platform (#3201)
- Loading branch information
1 parent
0b50873
commit a3a2080
Showing
18 changed files
with
163 additions
and
422 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
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export interface FilterQueryParams { | ||
or?: string[]; | ||
or?: string[] | string; | ||
tx_report_id?: string; | ||
corporate_credit_card_account_number?: string; | ||
tx_num_files?: string; | ||
and?: string; | ||
tx_state?: string; | ||
btxn_status?: string; | ||
ba_id?: string; | ||
} |
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,5 @@ | ||
export interface PersonalCardDateFilter { | ||
name?: string; | ||
customDateStart?: Date; | ||
customDateEnd?: Date; | ||
} |
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 |
---|---|---|
@@ -1,14 +1,8 @@ | ||
import { PersonalCardDateFilter } from './personal-card-date-filter.model'; | ||
|
||
export interface PersonalCardFilter { | ||
amount?: number; | ||
createdOn?: { | ||
name?: string; | ||
customDateStart?: Date; | ||
customDateEnd?: Date; | ||
}; | ||
updatedOn?: { | ||
name?: string; | ||
customDateStart?: Date; | ||
customDateEnd?: Date; | ||
}; | ||
transactionType?: string; | ||
amount: number; | ||
createdOn: PersonalCardDateFilter; | ||
updatedOn: PersonalCardDateFilter; | ||
transactionType: string; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/app/core/models/platform/personal-cards-date-params.model.ts
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 @@ | ||
export interface PersonalCardsDateParams { | ||
pageNumber: number; | ||
queryParams: { | ||
ba_id?: string; | ||
btxn_status?: string; | ||
or?: string; | ||
}; | ||
sortParam: string; | ||
sortDir: string; | ||
searchString: string; | ||
} |
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.