mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
Merge pull request #908 from AbleKSaju/fix_docs_url
fix: invalid docs url
This commit is contained in:
commit
04202280cd
@ -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;
|
||||
|
@ -86,7 +86,7 @@ export default {
|
||||
return { period: 'This Year' };
|
||||
},
|
||||
activated() {
|
||||
docsPathRef.value = 'analytics/dashboard';
|
||||
docsPathRef.value = 'books/dashboard';
|
||||
},
|
||||
deactivated() {
|
||||
docsPathRef.value = '';
|
||||
|
@ -103,40 +103,40 @@ export function updateConfigFiles(fyo: Fyo): ConfigFile {
|
||||
|
||||
export const docsPathMap: Record<string, string | undefined> = {
|
||||
// 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user