From 4a8ed972d036fa732f1392d60cc201888c8c22cf Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 22 Dec 2025 17:07:43 +0530 Subject: [PATCH] refactor: subscription and budget sidebars --- erpnext/desktop_icon/subscription.json | 4 +- erpnext/workspace_sidebar/budget.json | 37 +++++++++++------ erpnext/workspace_sidebar/subscription.json | 46 ++++++++++++++++++++- 3 files changed, 71 insertions(+), 16 deletions(-) diff --git a/erpnext/desktop_icon/subscription.json b/erpnext/desktop_icon/subscription.json index be04b0398f7..0c994c56640 100644 --- a/erpnext/desktop_icon/subscription.json +++ b/erpnext/desktop_icon/subscription.json @@ -6,11 +6,11 @@ "hidden": 0, "icon": "monitor-check", "icon_type": "Link", - "idx": 6, + "idx": 99, "label": "Subscription", "link_to": "Subscription", "link_type": "DocType", - "modified": "2025-11-19 16:02:32.686833", + "modified": "2025-12-22 17:04:08.800434", "modified_by": "Administrator", "name": "Subscription", "owner": "Administrator", diff --git a/erpnext/workspace_sidebar/budget.json b/erpnext/workspace_sidebar/budget.json index 9a7fdb06ee1..76480db87fb 100644 --- a/erpnext/workspace_sidebar/budget.json +++ b/erpnext/workspace_sidebar/budget.json @@ -54,18 +54,6 @@ "show_arrow": 0, "type": "Link" }, - { - "child": 0, - "collapsible": 1, - "icon": "file-text", - "indent": 0, - "keep_closed": 0, - "label": "Budget Variance", - "link_to": "Budget Variance Report", - "link_type": "Report", - "show_arrow": 0, - "type": "Link" - }, { "child": 0, "collapsible": 1, @@ -77,9 +65,32 @@ "link_type": "DocType", "show_arrow": 0, "type": "Link" + }, + { + "child": 0, + "collapsible": 1, + "icon": "notepad-text", + "indent": 1, + "keep_closed": 1, + "label": "Reports", + "link_type": "DocType", + "show_arrow": 0, + "type": "Section Break" + }, + { + "child": 1, + "collapsible": 1, + "icon": "file-text", + "indent": 0, + "keep_closed": 0, + "label": "Budget Variance", + "link_to": "Budget Variance Report", + "link_type": "Report", + "show_arrow": 0, + "type": "Link" } ], - "modified": "2025-11-25 10:46:09.281991", + "modified": "2025-12-22 17:01:31.198860", "modified_by": "Administrator", "module": "Accounts", "name": "Budget", diff --git a/erpnext/workspace_sidebar/subscription.json b/erpnext/workspace_sidebar/subscription.json index 8e675086339..ed91cc0c04c 100644 --- a/erpnext/workspace_sidebar/subscription.json +++ b/erpnext/workspace_sidebar/subscription.json @@ -41,9 +41,53 @@ "link_type": "DocType", "show_arrow": 0, "type": "Link" + }, + { + "child": 0, + "collapsible": 1, + "icon": "database", + "indent": 1, + "keep_closed": 1, + "label": "Setup", + "link_type": "DocType", + "show_arrow": 0, + "type": "Section Break" + }, + { + "child": 1, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Customer", + "link_to": "Customer", + "link_type": "DocType", + "show_arrow": 0, + "type": "Link" + }, + { + "child": 1, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Supplier", + "link_to": "Supplier", + "link_type": "DocType", + "show_arrow": 0, + "type": "Link" + }, + { + "child": 1, + "collapsible": 1, + "indent": 0, + "keep_closed": 0, + "label": "Item", + "link_to": "Item", + "link_type": "DocType", + "show_arrow": 0, + "type": "Link" } ], - "modified": "2025-11-25 10:46:09.340108", + "modified": "2025-12-22 17:06:54.262451", "modified_by": "Administrator", "module": "Accounts", "name": "Subscription",