Commit 3a7bd308 by Nilu Committed by Harsh Shah

Adding job reference number

parent 554e2bf3
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<column name="assessment_type" type="String" nullable="false" length="200"/> <column name="assessment_type" type="String" nullable="false" length="200"/>
<column name="random_key" type="String" nullable="true" length="10"/> <column name="random_key" type="String" nullable="true" length="10"/>
<column name="job_type" type="String" nullable="false" length="200"/> <column name="job_type" type="String" nullable="false" length="200"/>
<column name="ref_number" type="String" nullable="true" length="100"/>
<column name="level_id" type="Long" length="11" nullable="false"/> <column name="level_id" type="Long" length="11" nullable="false"/>
<column name="secuser_id" type="Long" length="11" nullable="true"/> <column name="secuser_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
......
...@@ -17,6 +17,7 @@ CREATE TABLE tl_job ( ...@@ -17,6 +17,7 @@ CREATE TABLE tl_job (
assessment_type varchar(200) NOT NULL, assessment_type varchar(200) NOT NULL,
random_key varchar(10) NULL, random_key varchar(10) NULL,
job_type varchar(200) NOT NULL, job_type varchar(200) NOT NULL,
ref_number varchar(100) NULL,
level_id numeric(12) NOT NULL, level_id numeric(12) NOT NULL,
secuser_id numeric(12) NULL secuser_id numeric(12) NULL
); );
......
...@@ -18,6 +18,7 @@ CREATE TABLE tl_job ( ...@@ -18,6 +18,7 @@ CREATE TABLE tl_job (
assessment_type varchar2(200) NOT NULL, assessment_type varchar2(200) NOT NULL,
random_key varchar2(10) NULL, random_key varchar2(10) NULL,
job_type varchar2(200) NOT NULL, job_type varchar2(200) NOT NULL,
ref_number varchar2(100) NULL,
level_id number(12) NOT NULL, level_id number(12) NOT NULL,
secuser_id number(12) NULL secuser_id number(12) NULL
); );
......
...@@ -18,6 +18,7 @@ CREATE TABLE tl_job ( ...@@ -18,6 +18,7 @@ CREATE TABLE tl_job (
assessment_type varchar(200) NOT NULL, assessment_type varchar(200) NOT NULL,
random_key varchar(10) NULL, random_key varchar(10) NULL,
job_type varchar(200) NOT NULL, job_type varchar(200) NOT NULL,
ref_number varchar(100) NULL,
level_id numeric(12) NOT NULL, level_id numeric(12) NOT NULL,
secuser_id numeric(12) NULL secuser_id numeric(12) NULL
); );
......
...@@ -45,6 +45,7 @@ public class LoadJobFromTemplateFP extends ORMProcessFormProcessor ...@@ -45,6 +45,7 @@ public class LoadJobFromTemplateFP extends ORMProcessFormProcessor
job.setJobStatus(JobStatus.DRAFT); job.setJobStatus(JobStatus.DRAFT);
job.setApplyBy(null); job.setApplyBy(null);
job.setOpenDate(null); job.setOpenDate(null);
job.setReferenceNumber(null);
job.setCompletedDetails(Boolean.TRUE); job.setCompletedDetails(Boolean.TRUE);
job.setCompletedAssessmentType(Boolean.TRUE); job.setCompletedAssessmentType(Boolean.TRUE);
job.setCompletedRequirements(Boolean.TRUE); job.setCompletedRequirements(Boolean.TRUE);
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
<ATTRIB name="AssessmentType" type="AssessmentType" dbcol="assessment_type" attribHelper="EnumeratedAttributeHelper" mandatory="true" defaultValue="AssessmentType.COMPREHENSIVE"/> <ATTRIB name="AssessmentType" type="AssessmentType" dbcol="assessment_type" attribHelper="EnumeratedAttributeHelper" mandatory="true" defaultValue="AssessmentType.COMPREHENSIVE"/>
<ATTRIB name="RandomKey" type="String" dbcol="random_key" length="10"/> <ATTRIB name="RandomKey" type="String" dbcol="random_key" length="10"/>
<ATTRIB name="JobType" type="JobType" dbcol="job_type" attribHelper="EnumeratedAttributeHelper" mandatory="true" defaultValue="JobType.FULL_TIME"/> <ATTRIB name="JobType" type="JobType" dbcol="job_type" attribHelper="EnumeratedAttributeHelper" mandatory="true" defaultValue="JobType.FULL_TIME"/>
<ATTRIB name="ReferenceNumber" type="String" dbcol="ref_number" length="100"/>
<SINGLEREFERENCE name="Level" type="Level" dbcol="level_id" mandatory="true"/> <SINGLEREFERENCE name="Level" type="Level" dbcol="level_id" mandatory="true"/>
<SINGLEREFERENCE name="SecUser" type="SecUser" dbcol="secuser_id" /> <SINGLEREFERENCE name="SecUser" type="SecUser" dbcol="secuser_id" />
......
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
</select> </select>
</div> </div>
<div class="col-sm-6 col-xs-12 form-group"> <div class="col-sm-6 col-xs-12 form-group">
<label>Reference Number</label> <label><oneit:ormlabel obj="<%= job %>" field="ReferenceNumber" /></label>
<input type="text" class="form-control" value="00589" /> <oneit:ormInput obj="<%= job %>" type="text" attributeName="ReferenceNumber" cssClass="form-control" />
</div> </div>
</div> </div>
<div class="text-center form-group"> <div class="text-center form-group">
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap()) .mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>"> .toMap() %>">
<span><%= job.getCompletedAssessmentType() || savedJob ? "<img src=\"images/right-mark.png\" />" : "2"%></span> <span><%= job.getCompletedAssessmentType() || savedJob ? "<img src=\"images/right-mark.png\" />" : "2"%></span>
Profile Assessment Role
</oneit:button> </oneit:button>
</li> </li>
<li class="<%= pageNumber == "3" ? "active" : job.getCompletedCulture() || savedJob ? "complate" : ""%>"> <li class="<%= pageNumber == "3" ? "active" : job.getCompletedCulture() || savedJob ? "complate" : ""%>">
......
...@@ -64,15 +64,15 @@ ...@@ -64,15 +64,15 @@
} }
%> %>
<div class="form-group"> <div class="form-group">
<label><oneit:ormlabel obj="<%= job %>" field="JobTitle" /></label> <label><oneit:label GUIName="Job Title" /></label>
<oneit:ormInput obj="<%= job %>" type="text" attributeName="JobTitle" cssClass="form-control" /> <oneit:ormInput obj="<%= job %>" type="text" attributeName="JobTitle" cssClass="form-control" />
</div> </div>
<div class="form-group"> <div class="form-group">
<label><oneit:ormlabel obj="<%= job %>" field="JobDescription" /></label> <label><oneit:label GUIName="Job Description" /></label>
<oneit:ormtextarea obj="<%= job %>" attributeName="JobDescription" cssClass="form-control textarea-box"/> <oneit:ormtextarea obj="<%= job %>" attributeName="JobDescription" cssClass="form-control textarea-box"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label><oneit:ormlabel obj="<%= job %>" field="JobType" /></label> <label><oneit:label GUIName="Job Type" /></label>
<oneit:ormEnum obj="<%= job %>" attributeName="JobType" cssClass="form-control"/> <oneit:ormEnum obj="<%= job %>" attributeName="JobType" cssClass="form-control"/>
</div> </div>
<div class="form-brack-line"></div> <div class="form-brack-line"></div>
...@@ -89,13 +89,13 @@ ...@@ -89,13 +89,13 @@
</select> </select>
</div> </div>
<div class="col-sm-6 col-xs-12 form-group"> <div class="col-sm-6 col-xs-12 form-group">
<label>Reference Number</label> <label><oneit:ormlabel obj="<%= job %>" field="ReferenceNumber" /></label>
<input type="text" class="form-control" /> <oneit:ormInput obj="<%= job %>" type="text" attributeName="ReferenceNumber" cssClass="form-control" />
</div> </div>
</div> </div>
</div> </div>
<div class="text-center"> <div class="text-center">
<oneit:button value="Proceed to Profile" name="gotoPage" cssClass="btn btn-primary largeBtn" <oneit:button value="Proceed to Role" name="gotoPage" cssClass="btn btn-primary largeBtn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage) requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap()) .mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>"/> .toMap() %>"/>
......
...@@ -70,8 +70,12 @@ ...@@ -70,8 +70,12 @@
<div class="col-sm-9 col-xs-12 review-data">Australia Post</div> <div class="col-sm-9 col-xs-12 review-data">Australia Post</div>
</div> </div>
<div class="row main-review-label"> <div class="row main-review-label">
<div class="col-sm-3 col-xs-12 review-label">Reference Number</div> <div class="col-sm-3 col-xs-12 review-label">
<div class="col-sm-9 col-xs-12 review-data">00589</div> <oneit:ormlabel obj="<%= job %>" field="ReferenceNumber" />
</div>
<div class="col-sm-9 col-xs-12 review-data">
<oneit:toString value="<%= job.getReferenceNumber() %>" mode="ParagraphHTML" />
</div>
</div> </div>
</div> </div>
<div class="form-brack-line-sub"></div> <div class="form-brack-line-sub"></div>
......
...@@ -7,6 +7,7 @@ Job.SaveCultureTemplate = Save this Culture as a template ...@@ -7,6 +7,7 @@ Job.SaveCultureTemplate = Save this Culture as a template
Job.AssessmentTemplateName = Template Name Job.AssessmentTemplateName = Template Name
Job.CultureTemplateName = Template Name Job.CultureTemplateName = Template Name
Job.JobType = Job Type Job.JobType = Job Type
Job.ReferenceNumber = Reference Number
CultureCriteria.Importance = Rate Importance CultureCriteria.Importance = Rate Importance
CultureCriteria.CultureElementRating = Rating CultureCriteria.CultureElementRating = Rating
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
isExpand = Boolean.FALSE; isExpand = Boolean.FALSE;
} }
System.out.println(isExpand);
Debug.assertion(job != null, "Job is null in admin portal view applicants"); Debug.assertion(job != null, "Job is null in admin portal view applicants");
String applicationPage = WebUtils.getSamePageInRenderMode(request, WebUtils.VIEW_APPLICATION); String applicationPage = WebUtils.getSamePageInRenderMode(request, WebUtils.VIEW_APPLICATION);
......
<?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="ref_number" type="String" nullable="true" length="100"/>
</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