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
  • Loading branch information
krantheman committed Aug 22, 2023
1 parent 046d7d6 commit fbd5cd4
Showing 1 changed file with 49 additions and 4 deletions.
53 changes: 49 additions & 4 deletions hrms/hr/doctype/job_opening/job_opening.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,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 @@ -180,12 +187,50 @@
"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": [],
"modified": "2023-01-09 13:34:47.274465",
"modified": "2023-08-22 15:39:10.430060",
"modified_by": "Administrator",
"module": "HR",
"name": "Job Opening",
Expand Down

0 comments on commit fbd5cd4

Please sign in to comment.