From ba8ea0f4fbf5575616040a4f4e1f17c0802b9452 Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Mon, 27 Jun 2022 16:56:24 +0530 Subject: [PATCH] chore: Remove HR templates and references from other workspaces - Removed template `employees_to_mark_attendance.html` - Removed HR references from ERPNext Settings and Home workspaces --- erpnext/public/build.json | 1 - erpnext/public/js/erpnext.bundle.js | 1 - .../employees_to_mark_attendance.html | 14 ------ .../erpnext_settings/erpnext_settings.json | 28 ++--------- erpnext/setup/workspace/home/home.json | 46 ++----------------- 5 files changed, 7 insertions(+), 83 deletions(-) delete mode 100644 erpnext/public/js/templates/employees_to_mark_attendance.html diff --git a/erpnext/public/build.json b/erpnext/public/build.json index 91a752c291..44abb339d0 100644 --- a/erpnext/public/build.json +++ b/erpnext/public/build.json @@ -25,7 +25,6 @@ "public/js/controllers/taxes_and_totals.js", "public/js/controllers/transaction.js", "public/js/templates/item_selector.html", - "public/js/templates/employees_to_mark_attendance.html", "public/js/utils/item_selector.js", "public/js/help_links.js", "public/js/agriculture/ternary_plot.js", diff --git a/erpnext/public/js/erpnext.bundle.js b/erpnext/public/js/erpnext.bundle.js index 3dae6d407b..d58b827466 100644 --- a/erpnext/public/js/erpnext.bundle.js +++ b/erpnext/public/js/erpnext.bundle.js @@ -8,7 +8,6 @@ import "./payment/payments"; import "./controllers/taxes_and_totals"; import "./controllers/transaction"; import "./templates/item_selector.html"; -import "./templates/employees_to_mark_attendance.html"; import "./utils/item_selector"; import "./help_links"; import "./agriculture/ternary_plot"; diff --git a/erpnext/public/js/templates/employees_to_mark_attendance.html b/erpnext/public/js/templates/employees_to_mark_attendance.html deleted file mode 100644 index 167c775636..0000000000 --- a/erpnext/public/js/templates/employees_to_mark_attendance.html +++ /dev/null @@ -1,14 +0,0 @@ -{% if data %} -
-
- Employees to mark attendance -
- {% for item in data %} -
- {{ item.employee }}    {{ item.employee_name }} -
- {% } %} -
-{% } else { %} -
-{% } %} diff --git a/erpnext/setup/workspace/erpnext_settings/erpnext_settings.json b/erpnext/setup/workspace/erpnext_settings/erpnext_settings.json index eeb71c7709..4c0f2b5cbf 100644 --- a/erpnext/setup/workspace/erpnext_settings/erpnext_settings.json +++ b/erpnext/setup/workspace/erpnext_settings/erpnext_settings.json @@ -10,13 +10,14 @@ "idx": 0, "label": "ERPNext Settings", "links": [], - "modified": "2022-04-28 11:42:01.043569", + "modified": "2022-06-27 16:53:07.056620", "modified_by": "Administrator", "module": "Setup", "name": "ERPNext Settings", "owner": "Administrator", "parent_page": "", "public": 1, + "quick_lists": [], "restrict_to_domain": "", "roles": [], "sequence_id": 12.0, @@ -27,14 +28,6 @@ "link_to": "Projects Settings", "type": "DocType" }, - { - "color": "Grey", - "doc_view": "", - "icon": "dot-horizontal", - "label": "Naming Series", - "link_to": "Naming Series", - "type": "DocType" - }, { "icon": "accounting", "label": "Accounts Settings", @@ -47,12 +40,6 @@ "link_to": "Stock Settings", "type": "DocType" }, - { - "icon": "hr", - "label": "HR Settings", - "link_to": "HR Settings", - "type": "DocType" - }, { "icon": "sell", "label": "Selling Settings", @@ -73,8 +60,8 @@ }, { "icon": "retail", - "label": "Shopping Cart Settings", - "link_to": "Shopping Cart Settings", + "label": "E Commerce Settings", + "link_to": "E Commerce Settings", "type": "DocType" }, { @@ -96,13 +83,6 @@ "link_to": "Domain Settings", "type": "DocType" }, - { - "doc_view": "", - "icon": "retail", - "label": "Products Settings", - "link_to": "Products Settings", - "type": "DocType" - }, { "doc_view": "", "icon": "crm", diff --git a/erpnext/setup/workspace/home/home.json b/erpnext/setup/workspace/home/home.json index 19ff2a0830..d26e57684f 100644 --- a/erpnext/setup/workspace/home/home.json +++ b/erpnext/setup/workspace/home/home.json @@ -125,47 +125,6 @@ "onboard": 1, "type": "Link" }, - { - "hidden": 0, - "is_query_report": 0, - "label": "Human Resources", - "link_count": 0, - "onboard": 0, - "type": "Card Break" - }, - { - "dependencies": "", - "hidden": 0, - "is_query_report": 0, - "label": "Employee", - "link_count": 0, - "link_to": "Employee", - "link_type": "DocType", - "onboard": 1, - "type": "Link" - }, - { - "dependencies": "Employee", - "hidden": 0, - "is_query_report": 0, - "label": "Employee Attendance Tool", - "link_count": 0, - "link_to": "Employee Attendance Tool", - "link_type": "DocType", - "onboard": 1, - "type": "Link" - }, - { - "dependencies": "", - "hidden": 0, - "is_query_report": 0, - "label": "Salary Structure", - "link_count": 0, - "link_to": "Salary Structure", - "link_type": "DocType", - "onboard": 1, - "type": "Link" - }, { "hidden": 0, "is_query_report": 0, @@ -271,13 +230,14 @@ "type": "Link" } ], - "modified": "2022-01-13 17:24:17.002665", + "modified": "2022-06-27 16:54:35.462176", "modified_by": "Administrator", "module": "Setup", "name": "Home", "owner": "Administrator", "parent_page": "", "public": 1, + "quick_lists": [], "restrict_to_domain": "", "roles": [], "sequence_id": 1.0, @@ -309,4 +269,4 @@ } ], "title": "Home" -} +} \ No newline at end of file