Skip to content

Commit

Permalink
feat: add Posted On, Closes On, Employment Type, and Location fields
Browse files Browse the repository at this point in the history
(cherry picked from commit fbd5cd4)

# Conflicts:
#	hrms/hr/doctype/job_opening/job_opening.json
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent beb191f commit aa2105d
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions hrms/hr/doctype/job_opening/job_opening.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@
"document_type": "Document",
"engine": "InnoDB",
"field_order": [
"job_details_section",
"job_title",
"company",
"status",
"column_break_5",
"designation",
"column_break_5",
"status",
"posted_on",
"closes_on",
"section_break_nngy",
"company",
"department",
"column_break_dxpv",
"employment_type",
"location",
"references_section",
"staffing_plan",
"planned_vacancies",
Expand Down Expand Up @@ -181,12 +188,54 @@
"fieldtype": "Int",
"label": "Vacancies",
"read_only": 1
},
{
"default": "Today",
"depends_on": "eval:doc.status == 'Open'",
"fieldname": "posted_on",
"fieldtype": "Date",
"label": "Posted On"
},
{
"depends_on": "eval:doc.status == 'Open'",
"fieldname": "closes_on",
"fieldtype": "Date",
"label": "Closes On"
},
{
"fieldname": "employment_type",
"fieldtype": "Link",
"label": "Employment Type",
"options": "Employment Type"
},
{
"fieldname": "location",
"fieldtype": "Link",
"label": "Location",
"options": "Branch"
},
{
"fieldname": "section_break_nngy",
"fieldtype": "Section Break",
"label": "Company Details"
},
{
"fieldname": "column_break_dxpv",
"fieldtype": "Column Break"
},
{
"fieldname": "job_details_section",
"fieldtype": "Section Break"
}
],
"icon": "fa fa-bookmark",
"idx": 1,
"links": [],
<<<<<<< HEAD
"modified": "2023-09-14 16:50:39.316079",
=======
"modified": "2023-08-22 15:39:10.430060",
>>>>>>> fbd5cd4aa (feat: add Posted On, Closes On, Employment Type, and Location fields)
"modified_by": "Administrator",
"module": "HR",
"name": "Job Opening",
Expand Down

0 comments on commit aa2105d

Please sign in to comment.