diff --git a/src/app/core/services/export-log/export-log.service.ts b/src/app/core/services/export-log/export-log.service.ts index b7de3e4f..aee8485d 100644 --- a/src/app/core/services/export-log/export-log.service.ts +++ b/src/app/core/services/export-log/export-log.service.ts @@ -123,7 +123,7 @@ export class ExportLogService { generateFyleUrl(expenseGroup: ExpenseGroup, referenceType: FyleReferenceType) : string { let url = `${environment.fyle_app_url}/app/`; if (referenceType === FyleReferenceType.EXPENSE) { - url += `main/#/view_expense/${expenseGroup.description.expense_id}`; + url += `admin/#/view_expense/${expenseGroup.description.expense_id}`; } else if (referenceType === FyleReferenceType.EXPENSE_REPORT) { url += `admin/#/reports/${expenseGroup.description.report_id}`; } else if (referenceType === FyleReferenceType.PAYMENT) { diff --git a/src/app/integration/main/export-log/export-log-child-dialog/export-log-child-dialog.component.ts b/src/app/integration/main/export-log/export-log-child-dialog/export-log-child-dialog.component.ts index 8bd8cb1c..ea9d1e5f 100644 --- a/src/app/integration/main/export-log/export-log-child-dialog/export-log-child-dialog.component.ts +++ b/src/app/integration/main/export-log/export-log-child-dialog/export-log-child-dialog.component.ts @@ -55,7 +55,7 @@ export class ExportLogChildDialogComponent implements OnInit { expenseList.forEach((expense: Expense) => { expenses.push({ - fyleUrl: `${environment.fyle_app_url}/app/main/#/view_expense/${expense.expense_id}?org_id=${this.org_id}`, + fyleUrl: `${environment.fyle_app_url}/app/admin/#/view_expense/${expense.expense_id}?org_id=${this.org_id}`, amount: [expense.amount, expense.currency], merchant: expense.vendor, category: expense.category, diff --git a/src/app/integration/onboarding/clone-settings/clone-settings.component.ts b/src/app/integration/onboarding/clone-settings/clone-settings.component.ts index cac6b7a4..8cf3b7a9 100644 --- a/src/app/integration/onboarding/clone-settings/clone-settings.component.ts +++ b/src/app/integration/onboarding/clone-settings/clone-settings.component.ts @@ -171,7 +171,7 @@ export class CloneSettingsComponent implements OnInit { merchant: 'Pizza Hut', report_number: 'C/2021/12/R/1', spent_on: today.toLocaleDateString(), - expense_link: 'https://app.fylehq.com/app/main/#/enterprise/view_expense/' + expense_link: 'https://app.fylehq.com/app/admin/#/enterprise/view_expense/' }; this.memoPreviewText = ''; diff --git a/src/app/shared/components/configuration/advanced-settings/advanced-settings.component.ts b/src/app/shared/components/configuration/advanced-settings/advanced-settings.component.ts index 493b0c98..cf6d78a1 100644 --- a/src/app/shared/components/configuration/advanced-settings/advanced-settings.component.ts +++ b/src/app/shared/components/configuration/advanced-settings/advanced-settings.component.ts @@ -231,7 +231,7 @@ export class AdvancedSettingsComponent implements OnInit, OnDestroy { merchant: 'Pizza Hut', report_number: 'C/2021/12/R/1', spent_on: today.toLocaleDateString(), - expense_link: 'https://app.fylehq.com/app/main/#/enterprise/view_expense/' + expense_link: 'https://app.fylehq.com/app/admin/#/enterprise/view_expense/' }; this.memoPreviewText = '';