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
This commit is contained in:
Rucha Mahabal 2022-06-27 16:56:24 +05:30
parent 1d5c8660bb
commit ba8ea0f4fb
5 changed files with 7 additions and 83 deletions

View File

@ -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",

View File

@ -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";

View File

@ -1,14 +0,0 @@
{% if data %}
<div class="col-md-12 col-xs-12" align="center">
<div class="col-md-12 col-xs-12" style="padding-bottom:15px;">
<b>Employees to mark attendance</b>
</div>
{% for item in data %}
<div class="col-md-4 col-xs-6" style="padding-bottom:10px;">
{{ item.employee }} &nbsp;&nbsp; {{ item.employee_name }}
</div>
{% } %}
</div>
{% } else { %}
<div></div>
{% } %}

View File

@ -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",

View File

@ -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"
}
}