Job Application web form
This commit is contained in:
parent
fcbb7692fa
commit
122d0791a3
0
erpnext/hr/web_form/__init__.py
Normal file
0
erpnext/hr/web_form/__init__.py
Normal file
0
erpnext/hr/web_form/job_application/__init__.py
Normal file
0
erpnext/hr/web_form/job_application/__init__.py
Normal file
3
erpnext/hr/web_form/job_application/job_application.js
Normal file
3
erpnext/hr/web_form/job_application/job_application.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
frappe.ready(function() {
|
||||||
|
// bind events here
|
||||||
|
})
|
68
erpnext/hr/web_form/job_application/job_application.json
Normal file
68
erpnext/hr/web_form/job_application/job_application.json
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"allow_comments": 1,
|
||||||
|
"allow_delete": 0,
|
||||||
|
"allow_edit": 1,
|
||||||
|
"allow_multiple": 1,
|
||||||
|
"creation": "2016-09-10 02:53:16.598314",
|
||||||
|
"doc_type": "Job Applicant",
|
||||||
|
"docstatus": 0,
|
||||||
|
"doctype": "Web Form",
|
||||||
|
"idx": 0,
|
||||||
|
"introduction_text": "",
|
||||||
|
"is_standard": 1,
|
||||||
|
"login_required": 0,
|
||||||
|
"modified": "2016-09-13 04:56:29.228762",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "HR",
|
||||||
|
"name": "job-application",
|
||||||
|
"owner": "Administrator",
|
||||||
|
"published": 1,
|
||||||
|
"route": "job_application",
|
||||||
|
"success_message": "Thank you for applying.",
|
||||||
|
"success_url": "/jobs",
|
||||||
|
"title": "Job Application",
|
||||||
|
"web_form_fields": [
|
||||||
|
{
|
||||||
|
"fieldname": "job_title",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "Job Opening",
|
||||||
|
"options": "",
|
||||||
|
"read_only": 1,
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "applicant_name",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "Applicant Name",
|
||||||
|
"read_only": 0,
|
||||||
|
"reqd": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "email_id",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "Email Id",
|
||||||
|
"options": "Email",
|
||||||
|
"read_only": 0,
|
||||||
|
"reqd": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "cover_letter",
|
||||||
|
"fieldtype": "Text",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "Cover Letter",
|
||||||
|
"read_only": 0,
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "resume_attachment",
|
||||||
|
"fieldtype": "Attach",
|
||||||
|
"hidden": 0,
|
||||||
|
"label": "Resume Attachment",
|
||||||
|
"read_only": 0,
|
||||||
|
"reqd": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
7
erpnext/hr/web_form/job_application/job_application.py
Normal file
7
erpnext/hr/web_form/job_application/job_application.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
def get_context(context):
|
||||||
|
# do your magic here
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user