diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 2793958b..ba2a0543 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -255,7 +255,7 @@ export default defineComponent({ reportIssue, toggleSidebar, openDocumentation() { - ipc.openLink('https://docs.frappebooks.com/' + docsPathRef.value); + ipc.openLink('https://docs.frappe.io/' + docsPathRef.value); }, setActiveGroup() { const { fullPath } = this.$router.currentRoute.value; diff --git a/src/pages/Dashboard/Dashboard.vue b/src/pages/Dashboard/Dashboard.vue index 4c407e3c..087c087c 100644 --- a/src/pages/Dashboard/Dashboard.vue +++ b/src/pages/Dashboard/Dashboard.vue @@ -86,7 +86,7 @@ export default { return { period: 'This Year' }; }, activated() { - docsPathRef.value = 'analytics/dashboard'; + docsPathRef.value = 'books/dashboard'; }, deactivated() { docsPathRef.value = ''; diff --git a/src/utils/misc.ts b/src/utils/misc.ts index 13b6c85b..c6539fb4 100644 --- a/src/utils/misc.ts +++ b/src/utils/misc.ts @@ -103,40 +103,40 @@ export function updateConfigFiles(fyo: Fyo): ConfigFile { export const docsPathMap: Record = { // Analytics - Dashboard: 'analytics/dashboard', - Reports: 'analytics/reports', - GeneralLedger: 'analytics/general-ledger', - ProfitAndLoss: 'analytics/profit-and-loss', - BalanceSheet: 'analytics/balance-sheet', - TrialBalance: 'analytics/trial-balance', + Dashboard: 'books/dashboard', + Reports: 'books/reports', + GeneralLedger: 'books/general-ledger', + ProfitAndLoss: 'books/profit-and-loss', + BalanceSheet: 'books/balance-sheet', + TrialBalance: 'books/trial-balance', // Transactions - [ModelNameEnum.SalesInvoice]: 'transactions/sales-invoices', - [ModelNameEnum.PurchaseInvoice]: 'transactions/purchase-invoices', - [ModelNameEnum.Payment]: 'transactions/payments', - [ModelNameEnum.JournalEntry]: 'transactions/journal-entries', + [ModelNameEnum.SalesInvoice]: 'books/sales-invoices', + [ModelNameEnum.PurchaseInvoice]: 'books/purchase-invoices', + [ModelNameEnum.Payment]: 'books/payments', + [ModelNameEnum.JournalEntry]: 'books/journal-entries', // Inventory - [ModelNameEnum.StockMovement]: 'inventory/stock-movement', - [ModelNameEnum.Shipment]: 'inventory/shipment', - [ModelNameEnum.PurchaseReceipt]: 'inventory/purchase-receipt', - StockLedger: 'inventory/stock-ledger', - StockBalance: 'inventory/stock-balance', - [ModelNameEnum.Batch]: 'inventory/batches', + [ModelNameEnum.StockMovement]: 'books/stock-movement', + [ModelNameEnum.Shipment]: 'books/shipment', + [ModelNameEnum.PurchaseReceipt]: 'books/purchase-receipt', + StockLedger: 'books/stock-ledger', + StockBalance: 'books/stock-balance', + [ModelNameEnum.Batch]: 'books/batches', // Entries - Entries: 'entries/entries', - [ModelNameEnum.Party]: 'entries/party', - [ModelNameEnum.Item]: 'entries/items', - [ModelNameEnum.Tax]: 'entries/taxes', - [ModelNameEnum.PrintTemplate]: 'miscellaneous/print-templates', + Entries: 'books/books', + [ModelNameEnum.Party]: 'books/party', + [ModelNameEnum.Item]: 'books/items', + [ModelNameEnum.Tax]: 'books/taxes', + [ModelNameEnum.PrintTemplate]: 'books/print-templates', // Miscellaneous - Search: 'miscellaneous/search', - NumberSeries: 'miscellaneous/number-series', - ImportWizard: 'miscellaneous/import-wizard', - Settings: 'miscellaneous/settings', - ChartOfAccounts: 'miscellaneous/chart-of-accounts', + Search: 'books/search', + NumberSeries: 'books/number-series', + ImportWizard: 'books/import-wizard', + Settings: 'books/settings', + ChartOfAccounts: 'books/chart-of-accounts', }; export async function getDataURL(type: string, data: Uint8Array) {