Skip to content

Commit

Permalink
Merge pull request #196 from trungnt-ksnb/feature-dossier
Browse files Browse the repository at this point in the history
Feature dossier
  • Loading branch information
trungnt-ksnb committed May 16, 2016
2 parents 85bc4db + bb9dfc4 commit aa6386f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public String getAssignToUserName() {
try {
user = UserLocalServiceUtil
.fetchUserById(this
.getActionUserId());
.getAssignToUsesrId());

}
catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%@page import="org.opencps.servicemgt.service.ServiceInfoLocalServiceUtil"%>
<%@page import="org.opencps.servicemgt.model.ServiceInfo"%>
<%
/**
* OpenCPS is the open source Core Public Services software
Expand Down Expand Up @@ -82,7 +84,13 @@
//id column
row.addText(String.valueOf(dossier.getDossierId()));
row.addText(DateTimeUtil.convertDateToString(dossier.getCreateDate(), DateTimeUtil._VN_DATE_TIME_FORMAT));
row.addText(String.valueOf(dossier.getSubjectId()));
ServiceInfo serviceInfo = null;
String serviceName = StringPool.DASH;
try{
serviceInfo = ServiceInfoLocalServiceUtil.getServiceInfo(dossier.getServiceInfoId());
serviceName = serviceInfo.getServiceName();
}catch(Exception e){}
row.addText(serviceName);
row.addText(dossier.getGovAgencyName());
row.addText(PortletUtil.getDossierStatusLabel(dossier.getDossierStatus(), locale));
row.addText(DateTimeUtil.convertDateToString(dossier.getReceiveDatetime(), DateTimeUtil._VN_DATE_TIME_FORMAT));
Expand Down

0 comments on commit aa6386f

Please sign in to comment.