Skip to content

Commit c578f2c

Browse files
authored
feat(employee): add kra field and add some other fields in employ… (#98)
feat(employee): add kra field and add some other fields in employee i…
2 parents ff0eabd + 177f3d0 commit c578f2c

3 files changed

Lines changed: 85 additions & 3 deletions

File tree

bloomstack_core/bloomstack_core/custom/employee.json

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
{
22
"custom_fields": [
3+
{
4+
"_assign": null,
5+
"_comments": null,
6+
"_liked_by": null,
7+
"_user_tags": null,
8+
"allow_on_submit": 0,
9+
"bold": 0,
10+
"collapsible": 0,
11+
"collapsible_depends_on": null,
12+
"columns": 0,
13+
"creation": "2019-11-12 02:13:18.301533",
14+
"default": null,
15+
"depends_on": null,
16+
"description": null,
17+
"docstatus": 0,
18+
"dt": "Employee",
19+
"fetch_from": null,
20+
"fetch_if_empty": 0,
21+
"fieldname": "kra",
22+
"fieldtype": "Text",
23+
"hidden": 0,
24+
"idx": 41,
25+
"ignore_user_permissions": 0,
26+
"ignore_xss_filter": 0,
27+
"in_global_search": 0,
28+
"in_list_view": 0,
29+
"in_standard_filter": 0,
30+
"insert_after": "branch",
31+
"label": " Key Responsibility Area (KRA)",
32+
"modified": "2019-11-12 02:13:18.301533",
33+
"modified_by": "Administrator",
34+
"name": "Employee-kra",
35+
"no_copy": 0,
36+
"options": null,
37+
"owner": "Administrator",
38+
"parent": null,
39+
"parentfield": null,
40+
"parenttype": null,
41+
"permlevel": 0,
42+
"precision": "",
43+
"print_hide": 0,
44+
"print_hide_if_no_value": 0,
45+
"print_width": null,
46+
"read_only": 0,
47+
"report_hide": 0,
48+
"reqd": 0,
49+
"search_index": 0,
50+
"translatable": 0,
51+
"unique": 0,
52+
"width": null
53+
},
354
{
455
"_assign": null,
556
"_comments": null,
@@ -21,7 +72,7 @@
2172
"fieldname": "social_security_number",
2273
"fieldtype": "Data",
2374
"hidden": 0,
24-
"idx": 69,
75+
"idx": 71,
2576
"ignore_user_permissions": 0,
2677
"ignore_xss_filter": 0,
2778
"in_global_search": 0,
@@ -60,14 +111,14 @@
60111
"_comments": null,
61112
"_liked_by": null,
62113
"_user_tags": null,
63-
"creation": "2019-06-20 04:03:50.511664",
114+
"creation": "2019-11-12 03:51:24.658903",
64115
"default_value": null,
65116
"doc_type": "Employee",
66117
"docstatus": 0,
67118
"doctype_or_field": "DocType",
68119
"field_name": null,
69120
"idx": 0,
70-
"modified": "2019-06-20 04:03:50.511664",
121+
"modified": "2019-11-12 03:51:24.658903",
71122
"modified_by": "Administrator",
72123
"name": "Employee-read_only_onload",
73124
"owner": "Administrator",

bloomstack_core/bloomstack_core/report/employee_information/__init__.py

Whitespace-only changes.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"add_total_row": 0,
3+
"creation": "2013-05-06 18:43:53",
4+
"disable_prepared_report": 0,
5+
"disabled": 0,
6+
"docstatus": 0,
7+
"doctype": "Report",
8+
"idx": 3,
9+
"is_standard": "Yes",
10+
"json": "{\"filters\":[],\"fields\":[[\"name\",\"Employee\"],[\"employee_name\",\"Employee\"],[\"image\",\"Employee\"],[\"status\",\"Employee\"],[\"department\",\"Employee\"],[\"designation\",\"Employee\"],[\"reports_to\",\"Employee\"],[\"branch\",\"Employee\"],[\"kra\",\"Employee\"],[\"cell_number\",\"Employee\"],[\"company_email\",\"Employee\"],[\"docstatus\",\"Employee\"]],\"order_by\":\"`tabEmployee`.`modified` desc\",\"page_length\":20,\"column_widths\":{\"name\":180,\"employee_name\":86,\"image\":55,\"status\":57,\"department\":101,\"designation\":89,\"reports_to\":182,\"branch\":60,\"kra\":194,\"cell_number\":58,\"company_email\":158}}",
11+
"modified": "2019-11-12 03:49:35.652442",
12+
"modified_by": "Administrator",
13+
"module": "Bloomstack Core",
14+
"name": "Employee Information",
15+
"owner": "Administrator",
16+
"prepared_report": 0,
17+
"ref_doctype": "Employee",
18+
"report_name": "Employee Information",
19+
"report_type": "Report Builder",
20+
"roles": [
21+
{
22+
"role": "HR User"
23+
},
24+
{
25+
"role": "HR Manager"
26+
},
27+
{
28+
"role": "Employee"
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)