Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
292bd731
Commit
292bd731
authored
Sep 08, 2017
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit client modifications
parent
3e27bee9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
58 additions
and
7 deletions
+58
-7
Client.xml
cmsWebApp/sql/Client.xml
+2
-0
Client.sql
cmsWebApp/sql/ms/Client.sql
+2
-0
Client.sql
cmsWebApp/sql/oracle/Client.sql
+2
-0
Client.sql
cmsWebApp/sql/postgres/Client.sql
+2
-0
BaseClient.java
cmsWebApp/src/performa/orm/BaseClient.java
+0
-0
Client.xml
cmsWebApp/src/performa/orm/Client.xml
+3
-1
ClientPersistenceMgr.java
cmsWebApp/src/performa/orm/ClientPersistenceMgr.java
+0
-0
edit_client.jsp
cmsWebApp/webroot/extensions/adminportal/edit_client.jsp
+21
-6
fieldnamesOverride.txt
...ot/extensions/adminportal/messages/fieldnamesOverride.txt
+11
-0
20170908_Alter_Client.xml
...ot/extensions/performa/upgrades/20170908_Alter_Client.xml
+15
-0
No files found.
cmsWebApp/sql/Client.xml
View file @
292bd731
...
...
@@ -17,6 +17,8 @@
<column
name=
"state"
type=
"String"
nullable=
"true"
length=
"200"
/>
<column
name=
"country"
type=
"String"
nullable=
"true"
length=
"200"
/>
<column
name=
"post_code"
type=
"String"
nullable=
"true"
length=
"10"
/>
<column
name=
"city"
type=
"String"
nullable=
"true"
length=
"100"
/>
<column
name=
"time_zone"
type=
"String"
nullable=
"true"
length=
"200"
/>
<column
name=
"company_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
</NODE>
...
...
cmsWebApp/sql/ms/Client.sql
View file @
292bd731
...
...
@@ -17,6 +17,8 @@ CREATE TABLE tl_client (
state
varchar
(
200
)
NULL
,
country
varchar
(
200
)
NULL
,
post_code
varchar
(
10
)
NULL
,
city
varchar
(
100
)
NULL
,
time_zone
varchar
(
200
)
NULL
,
company_id
numeric
(
12
)
NULL
);
...
...
cmsWebApp/sql/oracle/Client.sql
View file @
292bd731
...
...
@@ -18,6 +18,8 @@ CREATE TABLE tl_client (
state
varchar2
(
200
)
NULL
,
country
varchar2
(
200
)
NULL
,
post_code
varchar2
(
10
)
NULL
,
city
varchar2
(
100
)
NULL
,
time_zone
varchar2
(
200
)
NULL
,
company_id
number
(
12
)
NULL
);
...
...
cmsWebApp/sql/postgres/Client.sql
View file @
292bd731
...
...
@@ -18,6 +18,8 @@ CREATE TABLE tl_client (
state
varchar
(
200
)
NULL
,
country
varchar
(
200
)
NULL
,
post_code
varchar
(
10
)
NULL
,
city
varchar
(
100
)
NULL
,
time_zone
varchar
(
200
)
NULL
,
company_id
numeric
(
12
)
NULL
);
...
...
cmsWebApp/src/performa/orm/BaseClient.java
View file @
292bd731
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/orm/Client.xml
View file @
292bd731
...
...
@@ -5,6 +5,7 @@
<BUSINESSCLASS
name=
"Client"
package=
"performa.orm"
>
<IMPORT
value=
"performa.orm.types.*"
/>
<IMPORT
value=
"performa.orm.types.TimeZone"
/>
<IMPORT
value=
"oneit.business.shopping.orm.*"
/>
<MULTIPLEREFERENCE
name=
"Jobs"
type=
"Job"
backreferenceName=
"Client"
/>
...
...
@@ -20,7 +21,8 @@
<ATTRIB
name=
"State"
type=
"State"
dbcol=
"state"
mandatory=
"false"
defaultValue=
"State.WA"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"Country"
type=
"Countries"
dbcol=
"country"
mandatory=
"false"
defaultValue=
"Countries.AU"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"PostCode"
type=
"String"
dbcol=
"post_code"
mandatory=
"false"
length=
"10"
/>
<ATTRIB
name=
"City"
type=
"String"
dbcol=
"city"
mandatory=
"false"
length=
"100"
/>
<ATTRIB
name=
"TimeZone"
type=
"TimeZone"
dbcol=
"time_zone"
mandatory=
"false"
attribHelper=
"EnumeratedAttributeHelper"
/>
<SINGLEREFERENCE
name=
"Company"
type=
"Company"
dbcol=
"company_id"
backreferenceName=
"Clients"
/>
...
...
cmsWebApp/src/performa/orm/ClientPersistenceMgr.java
View file @
292bd731
This diff is collapsed.
Click to expand it.
cmsWebApp/webroot/extensions/adminportal/edit_client.jsp
View file @
292bd731
...
...
@@ -38,32 +38,37 @@
<label class="label-16">Details</label>
</div>
<div class="form-group">
<
oneit:label GUIName="Client Name" /
>
<
label><oneit:label GUIName="Client Name" /></label
>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="ClientName" cssClass="form-control" />
</div>
<div class="form-group">
<
oneit:label GUIName="Client Logo" /
>
<
label><oneit:ormlabel obj="<%= client %>" field="ClientLogo" /></label
>
<oneit:ormInput obj="<%= client %>" type="file" attributeName="ClientLogo" accept="image/*"/>
</div>
<div class="form-brack-line-sub"></div>
<div class="form-group">
<label><oneit:
label GUIName="Contact Email Address
" /></label>
<label><oneit:
ormlabel obj="<%= client %>" field="Email
" /></label>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="Email" cssClass="form-control" />
</div>
<div class="form-group row">
<div class="col-md-6">
<label><oneit:label GUIName="Contact First
Name" /></label>
<label><oneit:ormlabel obj="<%= client %>" field="Contact
Name" /></label>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="ContactName" cssClass="form-control" />
</div>
<div class="col-md-6">
<label><oneit:label GUIName="Contact Last N
ame" /></label>
<label><oneit:ormlabel obj="<%= client %>" field="ContactSurn
ame" /></label>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="ContactSurname" cssClass="form-control" />
</div>
</div>
<div class="form-group">
<label><oneit:
label GUIName="Contact Phone Number
" /></label>
<label><oneit:
ormlabel obj="<%= client %>" field="Phone
" /></label>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="Phone" cssClass="form-control" />
</div>
<div class="form-brack-line-sub"></div>
<div class="form-group row">
<div class="col-md-4">
<label><oneit:ormlabel obj="<%= client %>" field="Country" /></label>
...
...
@@ -78,6 +83,16 @@
<oneit:ormInput obj="<%= client %>" type="text" attributeName="PostCode" cssClass="form-control" />
</div>
</div>
<div class="form-group row">
<div class="col-md-6">
<label><oneit:ormlabel obj="<%= client %>" field="City" /></label>
<oneit:ormInput obj="<%= client %>" type="text" attributeName="City" cssClass="form-control" />
</div>
<div class="col-md-6">
<label><oneit:ormlabel obj="<%= client %>" field="TimeZone"/></label>
<oneit:ormEnum obj="<%= client %>" attributeName="TimeZone" cssClass="form-control"/>
</div>
</div>
<div class="text-center form-group">
<oneit:button value="Save Updates" name="save" cssClass="btn btn-primary largeBtn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage).toMap() %>" />
...
...
cmsWebApp/webroot/extensions/adminportal/messages/fieldnamesOverride.txt
View file @
292bd731
...
...
@@ -16,4 +16,14 @@ AssessmentCriteriaTemplate.TemplateName = Template Name
CultureCriteriaTemplate.TemplateName = Template Name
Client.TimeZone = Time Zone
Client.PostCode = Postal Code
Client.Phone = Contact Phone Number
Client.Email = Contact Email Address
Client.ContactName = Contact First Name
Client.ContactSurname = Contact Last Name
Client.ClientLogo = Client Logo
Client.State = State or Province
Company.TimeZone =
Company.HasClientSupport = We help clients with hiring
\ No newline at end of file
cmsWebApp/webroot/extensions/performa/upgrades/20170908_Alter_Client.xml
0 → 100644
View file @
292bd731
<?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_client
</tableName>
<column
name=
"city"
type=
"String"
nullable=
"true"
length=
"100"
/>
<column
name=
"time_zone"
type=
"String"
nullable=
"true"
length=
"200"
/>
</NODE>
</NODE>
</OBJECTS>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment