Change name of the communication type from "Report advance" to "Progress Update".

FEA: ItEr75S30SubcontractorIncommingCommunicationsLists
This commit is contained in:
Susana Montes Pedreira 2012-03-21 10:21:07 +00:00
parent 230f885fc4
commit 42bc8f9346
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ import static org.libreplan.business.i18n.I18nHelper._;
*/
public enum CommunicationType {
NEW_PROJECT(_("New project")), REPORT_PROGRESS(_("Report advance")), UPDATE_DELIVERING_DATE(
NEW_PROJECT(_("New project")), PROGRESS_UPDATE(_("Progress Update")), UPDATE_DELIVERING_DATE(
_("Update Delivering Date"));
private String description;

View file

@ -253,7 +253,7 @@ public class ReportAdvancesServiceREST implements IReportAdvancesService {
if (subcontractedTaskData != null) {
SubcontractorCommunication subcontractorCommunication = SubcontractorCommunication
.create(subcontractedTaskData,
CommunicationType.REPORT_PROGRESS, new Date(),
CommunicationType.PROGRESS_UPDATE, new Date(),
false);
for (AdvanceMeasurementDTO advanceMeasurementDTO : advanceMeasurementDTOs) {