diff --git a/models/doctype/AccountingSettings/AccountingSettings.js b/models/doctype/AccountingSettings/AccountingSettings.js
index 7e5515b5..1d3453cf 100644
--- a/models/doctype/AccountingSettings/AccountingSettings.js
+++ b/models/doctype/AccountingSettings/AccountingSettings.js
@@ -14,7 +14,8 @@ module.exports = {
label: "Company Name",
fieldname: "companyName",
fieldtype: "Data",
- required: 1
+ required: 1,
+ disabled: 1
},
{
diff --git a/package.json b/package.json
index 28f1b56a..1a1c4e18 100644
--- a/package.json
+++ b/package.json
@@ -56,6 +56,7 @@
},
"dependencies": {
"frappejs": "github:frappe/frappejs",
- "popper.js": "^1.14.4"
+ "popper.js": "^1.14.4",
+ "vue-toasted": "^1.1.25"
}
}
diff --git a/src/App.vue b/src/App.vue
index 5d644fbe..860fa075 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -45,4 +45,9 @@ export default {
diff --git a/src/main-electron.js b/src/main-electron.js
index e0e27a0d..b041af30 100644
--- a/src/main-electron.js
+++ b/src/main-electron.js
@@ -13,6 +13,7 @@ import Vue from 'vue';
import App from './App';
import router from './router';
import frappeVue from 'frappejs/ui/plugins/frappeVue';
+import Toasted from 'vue-toasted';
(async () => {
frappe.isServer = true;
@@ -79,6 +80,10 @@ import frappeVue from 'frappejs/ui/plugins/frappeVue';
Vue.config.productionTip = false;
Vue.use(frappeVue);
+ Vue.use(Toasted, {
+ position: 'bottom-right',
+ duration : 3000
+ });
/* eslint-disable no-new */
new Vue({
diff --git a/src/pages/Settings/SettingSection.vue b/src/pages/Settings/SettingSection.vue
new file mode 100644
index 00000000..07af5d21
--- /dev/null
+++ b/src/pages/Settings/SettingSection.vue
@@ -0,0 +1,37 @@
+
+
+
{{ doctype }}
+
+
+
+
diff --git a/src/pages/Settings/Settings.vue b/src/pages/Settings/Settings.vue
new file mode 100644
index 00000000..0ea6136f
--- /dev/null
+++ b/src/pages/Settings/Settings.vue
@@ -0,0 +1,24 @@
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 7fdca9f1..37d4ff0d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -10,6 +10,8 @@ import reportViewConfig from '../../reports/view';
import DataImport from '../pages/DataImport';
+import Settings from '../pages/Settings/Settings';
+
Vue.use(Router);
const routes = [
@@ -48,6 +50,11 @@ const routes = [
path: '/data-import',
name: 'Data Import',
component: DataImport
+ },
+ {
+ path: '/settings',
+ name: 'Settings',
+ component: Settings
}
];