-
+
+
@@ -45,6 +45,7 @@ export default {
fields() {
let meta = frappe.getMeta('AccountingSettings');
return [
+ 'companyName',
'country',
'bankName',
'currency',
diff --git a/src/pages/Settings/TabInvoice.vue b/src/pages/Settings/TabInvoice.vue
new file mode 100644
index 00000000..d3e98e07
--- /dev/null
+++ b/src/pages/Settings/TabInvoice.vue
@@ -0,0 +1,104 @@
+
+
+
+
{
+ window.console.log(value)
+ doc.set('logo', value);
+ doc.update();
+ }
+ "
+ />
+
+
+ {{ companyName }}
+
+
+ {{ doc.email }}
+
+ {
+ doc.set('displayLogo', value);
+ doc.update();
+ }
+ "
+ size="small"
+ />
+
+
+
+
+
+
diff --git a/src/pages/TabSystem.vue b/src/pages/Settings/TabSystem.vue
similarity index 100%
rename from src/pages/TabSystem.vue
rename to src/pages/Settings/TabSystem.vue
diff --git a/src/pages/Settings/utils.js b/src/pages/Settings/utils.js
new file mode 100644
index 00000000..38e85397
--- /dev/null
+++ b/src/pages/Settings/utils.js
@@ -0,0 +1,5 @@
+import { ipcRenderer } from 'electron';
+
+export function openSettings(tab = 'General') {
+ ipcRenderer.send('open-settings-window', tab);
+}