mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix(ux): add CoA help
This commit is contained in:
parent
7480763744
commit
f45663853e
@ -141,7 +141,8 @@ import { isCredit } from 'models/helpers';
|
||||
import { ModelNameEnum } from 'models/types';
|
||||
import PageHeader from 'src/components/PageHeader';
|
||||
import { fyo } from 'src/initFyo';
|
||||
import { openQuickEdit } from 'src/utils/ui';
|
||||
import { docsPathMap } from 'src/utils/misc';
|
||||
import { docsPath, openQuickEdit } from 'src/utils/ui';
|
||||
import { nextTick } from 'vue';
|
||||
import { handleErrorWithDialog } from '../errorHandling';
|
||||
|
||||
@ -163,6 +164,10 @@ export default {
|
||||
if (fyo.store.isDevelopment) {
|
||||
window.coa = this;
|
||||
}
|
||||
docsPath.value = docsPathMap.ChartOfAccounts
|
||||
},
|
||||
deactivated() {
|
||||
docsPath.value = '';
|
||||
},
|
||||
methods: {
|
||||
getBalanceString(account) {
|
||||
|
@ -106,4 +106,5 @@ export const docsPathMap: Record<string, string | undefined> = {
|
||||
NumberSeries: 'miscellaneous/number-series',
|
||||
DataImport: 'miscellaneous/data-import',
|
||||
Settings: 'miscellaneous/settings',
|
||||
ChartOfAccounts: 'miscellaneous/chart-of-accounts',
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user