From ae154a53e96cd1b1315a7d16738a2fd7eca7a490 Mon Sep 17 00:00:00 2001
From: 18alantom <2.alan.tom@gmail.com>
Date: Fri, 17 Dec 2021 12:09:52 +0530
Subject: [PATCH] =?UTF-8?q?fix(ui):=20create=20Common=20Entries=20for=20Sa?=
=?UTF-8?q?les=20=20=E2=88=A9=20Purchases?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Icons/18/common-entries.vue | 31 ++++++++++++++++++++++
src/sidebarConfig.js | 22 +++++----------
2 files changed, 38 insertions(+), 15 deletions(-)
create mode 100644 src/components/Icons/18/common-entries.vue
diff --git a/src/components/Icons/18/common-entries.vue b/src/components/Icons/18/common-entries.vue
new file mode 100644
index 00000000..7bfd7248
--- /dev/null
+++ b/src/components/Icons/18/common-entries.vue
@@ -0,0 +1,31 @@
+
+
+
+
diff --git a/src/sidebarConfig.js b/src/sidebarConfig.js
index ae61e4e3..de737e8b 100644
--- a/src/sidebarConfig.js
+++ b/src/sidebarConfig.js
@@ -33,21 +33,6 @@ const config = {
route: '/list/Customer',
doctype: 'Customer',
},
- {
- label: _('Items'),
- route: '/list/Item',
- doctype: 'Item',
- },
- {
- label: _('Payments'),
- route: '/list/Payment',
- doctype: 'Payment',
- },
- {
- label: _('Journal Entry'),
- route: '/list/JournalEntry',
- doctype: 'JournalEntry',
- },
],
},
{
@@ -65,6 +50,13 @@ const config = {
route: '/list/Supplier',
doctype: 'Supplier',
},
+ ],
+ },
+ {
+ title: _('Common Entries'),
+ icon: getIcon('common-entries'),
+ route: '/list/Item',
+ items: [
{
label: _('Items'),
route: '/list/Item',