mirror of
https://github.com/frappe/books.git
synced 2025-01-03 15:17:30 +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,
|
reportIssue,
|
||||||
toggleSidebar,
|
toggleSidebar,
|
||||||
openDocumentation() {
|
openDocumentation() {
|
||||||
ipc.openLink('https://docs.frappebooks.com/' + docsPathRef.value);
|
ipc.openLink('https://docs.frappe.io/' + docsPathRef.value);
|
||||||
},
|
},
|
||||||
setActiveGroup() {
|
setActiveGroup() {
|
||||||
const { fullPath } = this.$router.currentRoute.value;
|
const { fullPath } = this.$router.currentRoute.value;
|
||||||
|
@ -86,7 +86,7 @@ export default {
|
|||||||
return { period: 'This Year' };
|
return { period: 'This Year' };
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
docsPathRef.value = 'analytics/dashboard';
|
docsPathRef.value = 'books/dashboard';
|
||||||
},
|
},
|
||||||
deactivated() {
|
deactivated() {
|
||||||
docsPathRef.value = '';
|
docsPathRef.value = '';
|
||||||
|
@ -103,40 +103,40 @@ export function updateConfigFiles(fyo: Fyo): ConfigFile {
|
|||||||
|
|
||||||
export const docsPathMap: Record<string, string | undefined> = {
|
export const docsPathMap: Record<string, string | undefined> = {
|
||||||
// Analytics
|
// Analytics
|
||||||
Dashboard: 'analytics/dashboard',
|
Dashboard: 'books/dashboard',
|
||||||
Reports: 'analytics/reports',
|
Reports: 'books/reports',
|
||||||
GeneralLedger: 'analytics/general-ledger',
|
GeneralLedger: 'books/general-ledger',
|
||||||
ProfitAndLoss: 'analytics/profit-and-loss',
|
ProfitAndLoss: 'books/profit-and-loss',
|
||||||
BalanceSheet: 'analytics/balance-sheet',
|
BalanceSheet: 'books/balance-sheet',
|
||||||
TrialBalance: 'analytics/trial-balance',
|
TrialBalance: 'books/trial-balance',
|
||||||
|
|
||||||
// Transactions
|
// Transactions
|
||||||
[ModelNameEnum.SalesInvoice]: 'transactions/sales-invoices',
|
[ModelNameEnum.SalesInvoice]: 'books/sales-invoices',
|
||||||
[ModelNameEnum.PurchaseInvoice]: 'transactions/purchase-invoices',
|
[ModelNameEnum.PurchaseInvoice]: 'books/purchase-invoices',
|
||||||
[ModelNameEnum.Payment]: 'transactions/payments',
|
[ModelNameEnum.Payment]: 'books/payments',
|
||||||
[ModelNameEnum.JournalEntry]: 'transactions/journal-entries',
|
[ModelNameEnum.JournalEntry]: 'books/journal-entries',
|
||||||
|
|
||||||
// Inventory
|
// Inventory
|
||||||
[ModelNameEnum.StockMovement]: 'inventory/stock-movement',
|
[ModelNameEnum.StockMovement]: 'books/stock-movement',
|
||||||
[ModelNameEnum.Shipment]: 'inventory/shipment',
|
[ModelNameEnum.Shipment]: 'books/shipment',
|
||||||
[ModelNameEnum.PurchaseReceipt]: 'inventory/purchase-receipt',
|
[ModelNameEnum.PurchaseReceipt]: 'books/purchase-receipt',
|
||||||
StockLedger: 'inventory/stock-ledger',
|
StockLedger: 'books/stock-ledger',
|
||||||
StockBalance: 'inventory/stock-balance',
|
StockBalance: 'books/stock-balance',
|
||||||
[ModelNameEnum.Batch]: 'inventory/batches',
|
[ModelNameEnum.Batch]: 'books/batches',
|
||||||
|
|
||||||
// Entries
|
// Entries
|
||||||
Entries: 'entries/entries',
|
Entries: 'books/books',
|
||||||
[ModelNameEnum.Party]: 'entries/party',
|
[ModelNameEnum.Party]: 'books/party',
|
||||||
[ModelNameEnum.Item]: 'entries/items',
|
[ModelNameEnum.Item]: 'books/items',
|
||||||
[ModelNameEnum.Tax]: 'entries/taxes',
|
[ModelNameEnum.Tax]: 'books/taxes',
|
||||||
[ModelNameEnum.PrintTemplate]: 'miscellaneous/print-templates',
|
[ModelNameEnum.PrintTemplate]: 'books/print-templates',
|
||||||
|
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
Search: 'miscellaneous/search',
|
Search: 'books/search',
|
||||||
NumberSeries: 'miscellaneous/number-series',
|
NumberSeries: 'books/number-series',
|
||||||
ImportWizard: 'miscellaneous/import-wizard',
|
ImportWizard: 'books/import-wizard',
|
||||||
Settings: 'miscellaneous/settings',
|
Settings: 'books/settings',
|
||||||
ChartOfAccounts: 'miscellaneous/chart-of-accounts',
|
ChartOfAccounts: 'books/chart-of-accounts',
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function getDataURL(type: string, data: Uint8Array) {
|
export async function getDataURL(type: string, data: Uint8Array) {
|
||||||
|
Loading…
Reference in New Issue
Block a user