Commit b0989a5f by nilu

S43013716 # Matchd / Talentology - No Plan [Enhancement] #In Create Job, add a…

S43013716 # Matchd / Talentology - No Plan [Enhancement] #In Create Job, add a Boolean to determine whether details will be captured for the Job
parent a2678d6d
......@@ -34,6 +34,7 @@
<column name="culture_statement" type="String" nullable="true" length="2000"/>
<column name="draft_location" type="String" nullable="true" length="200"/>
<column name="google_address_text" type="String" nullable="false" length="300"/>
<column name="diversity_included" type="Boolean" nullable="true"/>
<column name="level_id" type="Long" length="11" nullable="true"/>
<column name="client_id" type="Long" length="11" nullable="true"/>
<column name="job_owner_id" type="Long" length="11" nullable="true"/>
......
......@@ -34,6 +34,7 @@ CREATE TABLE tl_job (
culture_statement varchar(2000) NULL,
draft_location varchar(200) NULL,
google_address_text varchar(300) NOT NULL,
diversity_included char(1) NULL,
level_id numeric(12) NULL,
client_id numeric(12) NULL,
job_owner_id numeric(12) NULL,
......
......@@ -35,6 +35,7 @@ CREATE TABLE tl_job (
culture_statement varchar2(2000) NULL,
draft_location varchar2(200) NULL,
google_address_text varchar2(300) NOT NULL,
diversity_included char(1) NULL,
level_id number(12) NULL,
client_id number(12) NULL,
job_owner_id number(12) NULL,
......
......@@ -35,6 +35,7 @@ CREATE TABLE tl_job (
culture_statement varchar(2000) NULL,
draft_location varchar(200) NULL,
google_address_text varchar(300) NOT NULL,
diversity_included char(1) NULL,
level_id numeric(12) NULL,
client_id numeric(12) NULL,
job_owner_id numeric(12) NULL,
......
......@@ -88,6 +88,11 @@ public class Job extends BaseJob
{
setGoogleAddressText(hiringTeam.getGoogleAddressText());
}
if(hiringTeam.showHasDiversity())
{
setDiversityIncluded(Boolean.TRUE);
}
}
......
......@@ -59,6 +59,7 @@
<ATTRIB name="CultureStatement" type="String" dbcol="culture_statement" length="2000"/>
<ATTRIB name="DraftLocation" type="DraftLocation" dbcol="draft_location" attribHelper="EnumeratedAttributeHelper"/>
<ATTRIB name="GoogleAddressText" type="String" dbcol="google_address_text" mandatory="true" length="300" />
<ATTRIB name="DiversityIncluded" type="Boolean" dbcol="diversity_included" defaultValue="Boolean.FALSE"/>
<SINGLEREFERENCE name="Level" type="Level" dbcol="level_id" mandatory="false"/>
<SINGLEREFERENCE name="Client" type="Client" dbcol="client_id" backreferenceName="Jobs"/>
......
......@@ -440,7 +440,7 @@
<oneit:ormInput obj="<%= template %>" id="require-cv" attributeName="RequireCV" type="checkbox"/>
<oneit:recalcClass htmlTag="span" classScript="template.getRequireCV() != null && template.getRequireCV() ? 'checked': 'unchecked'" template="<%= template %>">
<label for="require-cv">
<oneit:label GUIName="Require CV and Cover Letter from Candidate" />
<oneit:label GUIName="Require CV and Cover Letter from Applicant?" />
</label>
</oneit:recalcClass>
</div>
......
......@@ -427,13 +427,34 @@
<oneit:ormInput obj="<%= job %>" id="require-cv" attributeName="RequireCV" type="checkbox"/>
<oneit:recalcClass htmlTag="span" classScript="job.getRequireCV() != null && job.getRequireCV() ? 'checked': 'unchecked'" job="<%= job %>">
<label for="require-cv">
<oneit:label GUIName="Require CV and Cover Letter from Candidate" />
<oneit:label GUIName="Require CV and Cover Letter from Applicant?" />
</label>
</oneit:recalcClass>
</div>
</div>
</div>
</div>
<%
if(job.getHiringTeam().showHasDiversity())
{
%>
<div class="form-group row">
<div class="col-md-12">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
<oneit:ormInput obj="<%= job %>" id="diversity-included" attributeName="DiversityIncluded" type="checkbox"/>
<oneit:recalcClass htmlTag="span" classScript="job.getDiversityIncluded() != null && job.getDiversityIncluded() ? 'checked': 'unchecked'" job="<%= job %>">
<label for="diversity-included">
<oneit:label GUIName="Will the Diversity module be used for this Job?" />
</label>
</oneit:recalcClass>
</div>
</div>
</div>
</div>
<%
}
%>
</div>
<div class="form-page-section darkbg">
<div class="form-group row">
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au">
<NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.RedefineTableOperation">
<tableName factory="String">tl_job</tableName>
<column name="diversity_included" type="Boolean" nullable="true"/>
</NODE>
</NODE>
</OBJECTS>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment