Skip to content

Commit

Permalink
Merge pull request #725 from premkumarbalu/release-2.1
Browse files Browse the repository at this point in the history
OLE-8884 - Removed mandatory for Phone source and email source in Patron screen
  • Loading branch information
peris committed May 20, 2016
2 parents 68cb324 + cd8681e commit 27512ee
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ public String getEmailSource() {
}

public void setEmailSource(String emailSource) {
this.emailSource = emailSource;

if (emailSource!=null&&!emailSource.equals("")) {
this.emailSource = emailSource;
} else {
this.emailSource = null;
}
}

public String getEmailSourceName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ public String getPhoneSource() {
}

public void setPhoneSource(String phoneSource) {
this.phoneSource = phoneSource;

if (phoneSource!=null && !phoneSource.equals("")) {
this.phoneSource = phoneSource;
} else {
this.phoneSource = null;
}
}

public String getPhoneSourceName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@
</property>
</bean>
<bean id="olePhoneNumberSource" parent="OlePatron-InputField" p:propertyName="olePhoneBo.phoneSource"
p:label="Phone Number Source" p:required="true" p:enableAutoDirectInquiry="false">
p:label="Phone Number Source" p:enableAutoDirectInquiry="false">
<property name="optionsFinder">
<bean class="org.kuali.ole.deliver.keyvalue.OleAddressSourceKeyValue"/>
</property>
Expand Down Expand Up @@ -1509,7 +1509,7 @@
</property>
</bean>
<bean id="oleEmailAddressSource" parent="OlePatron-InputField" p:propertyName="oleEmailBo.emailSource"
p:label="Email Address Source" p:required="true" p:enableAutoDirectInquiry="false">
p:label="Email Address Source" p:enableAutoDirectInquiry="false">
<property name="optionsFinder">
<bean class="org.kuali.ole.deliver.keyvalue.OleAddressSourceKeyValue"/>
</property>
Expand Down

0 comments on commit 27512ee

Please sign in to comment.