Skip to content

Commit 32d6734

Browse files
authored
Merge pull request #1254 from topcoder-platform/PM-959_tc-finance-integration
PM-959 tc finance integration
2 parents 5ae7d43 + 071822c commit 32d6734

File tree

92 files changed

+985
-3493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+985
-3493
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ workflows:
223223
- CORE-635
224224
- feat/system-admin
225225
- pm-1365_1
226+
- PM-959_tc-finance-integration
226227

227228
- deployQa:
228229
context: org-global

src/apps/wallet-admin/src/home/tabs/WalletAdminTabs.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { PageTitle, TabsNavbar, TabsNavItem } from '~/libs/ui'
77
import { getHashFromTabId, getTabIdFromHash, WalletAdminTabsConfig, WalletAdminTabViews } from './config'
88
import { PaymentsTab } from './payments'
99
import { HomeTab } from './home'
10-
import { TaxFormsTab } from './tax-forms'
11-
import { PaymentMethodsTab } from './payment-methods'
1210
import styles from './WalletAdminTabs.module.scss'
1311

1412
interface WalletHomeProps {
@@ -46,10 +44,6 @@ const WalletAdminTabs: FC<WalletHomeProps> = (props: WalletHomeProps) => {
4644
{activeTab === WalletAdminTabViews.home && <HomeTab profile={props.profile} />}
4745

4846
{activeTab === WalletAdminTabViews.payments && <PaymentsTab profile={props.profile} />}
49-
50-
{activeTab === WalletAdminTabViews.taxforms && <TaxFormsTab profile={props.profile} />}
51-
52-
{activeTab === WalletAdminTabViews.withdrawalmethods && <PaymentMethodsTab profile={props.profile} />}
5347
</div>
5448
)
5549
}

src/apps/wallet-admin/src/home/tabs/config/wallet-tabs-config.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { TabsNavItem } from '~/libs/ui'
33
export enum WalletAdminTabViews {
44
home = '0',
55
payments = '1',
6-
taxforms = '2',
7-
withdrawalmethods = '3',
86
}
97

108
export const WalletAdminTabsConfig: TabsNavItem[] = [
@@ -16,14 +14,6 @@ export const WalletAdminTabsConfig: TabsNavItem[] = [
1614
id: WalletAdminTabViews.payments,
1715
title: 'Payments',
1816
},
19-
{
20-
id: WalletAdminTabViews.withdrawalmethods,
21-
title: 'Payment Providers',
22-
},
23-
{
24-
id: WalletAdminTabViews.taxforms,
25-
title: 'Tax Forms',
26-
},
2717
]
2818

2919
export function getHashFromTabId(tabId: string): string {
@@ -32,10 +22,6 @@ export function getHashFromTabId(tabId: string): string {
3222
return '#home'
3323
case WalletAdminTabViews.payments:
3424
return '#payments'
35-
case WalletAdminTabViews.taxforms:
36-
return '#tax-forms'
37-
case WalletAdminTabViews.withdrawalmethods:
38-
return '#payment-providers'
3925
default:
4026
return '#home'
4127
}
@@ -45,10 +31,6 @@ export function getTabIdFromHash(hash: string): string {
4531
switch (hash) {
4632
case '#payments':
4733
return WalletAdminTabViews.payments
48-
case '#tax-forms':
49-
return WalletAdminTabViews.taxforms
50-
case '#payment-providers':
51-
return WalletAdminTabViews.withdrawalmethods
5234
default:
5335
return WalletAdminTabViews.home
5436
}

src/apps/wallet-admin/src/home/tabs/payment-methods/PaymentMethodsTab.module.scss

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/apps/wallet-admin/src/home/tabs/payment-methods/PaymentMethodsTab.tsx

Lines changed: 0 additions & 209 deletions
This file was deleted.

src/apps/wallet-admin/src/home/tabs/payment-methods/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)