Skip to content

Commit

Permalink
UHM-855 Update value of message error at resource Scheduled Appointme…
Browse files Browse the repository at this point in the history
…nts Blocks
  • Loading branch information
pamcdm committed Mar 19, 2014
1 parent 5074697 commit 51ed3cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ${project.parent.artifactId}.AppointmentBlock.error.maximalTimeSlot=The time slo
${project.parent.artifactId}.AppointmentBlock.error.voidReasonEmpty=Void Reason can't be empty
${project.parent.artifactId}.AppointmentBlock.error.appointmentsExist=Can't edit that appointment block time slot because there are appointments associated with it
${project.parent.artifactId}.AppointmentBlock.error.appointmentBlockOverlap=Can't save because the selected provider is already scheduled at this time.
${project.parent.artifactId}.AppointmentBlock.error.scheduledAppointmentBlocks= Date or location parameter is missing
${project.parent.artifactId}.AppointmentBlock.emptyTypes=Select at least one type
${project.parent.artifactId}.AppointmentBlock.saved=Appointment Block saved
${project.parent.artifactId}.AppointmentBlock.voidedSuccessfully=Appointment Block voided successfully
Expand Down Expand Up @@ -237,3 +238,6 @@ ${project.parent.artifactId}.TimeSlot.emptyStartDate=Empty time slot start date
${project.parent.artifactId}.TimeSlot.emptyEndDate=Empty time slot end date
${project.parent.artifactId}.TimeSlot.emptyBlock=Empty time slot block
${project.parent.artifactId}.TimeSlot.saved=Time Slot(s) Saved



Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public SimpleObject search(RequestContext context) throws ResponseException {
AppointmentType appointmentType = getAppointmentType(context);

if (date == null || location == null) {
throw new ValidationException("appointmentschedulingui.dailyScheduledAppointments.validationExeptionMessage");
throw new ValidationException("appointmentscheduling.AppointmentBlock.error.scheduledAppointmentBlocks");
}

List<ScheduledAppointmentBlock> dailyAppointmentBlocks = getScheduledAppointmentBlocks(date, location,
Expand Down

0 comments on commit 51ed3cf

Please sign in to comment.