diff --git a/gcc_officer_portal/src/main/java/in/gov/chennaicorporation/gccoffice/configuration/DataSourceConfig.java b/gcc_officer_portal/src/main/java/in/gov/chennaicorporation/gccoffice/configuration/DataSourceConfig.java index 771a7b2c..58618a80 100644 --- a/gcc_officer_portal/src/main/java/in/gov/chennaicorporation/gccoffice/configuration/DataSourceConfig.java +++ b/gcc_officer_portal/src/main/java/in/gov/chennaicorporation/gccoffice/configuration/DataSourceConfig.java @@ -24,8 +24,8 @@ import java.util.Properties; @EnableTransactionManagement public class DataSourceConfig { - // private static String host = "localhost:3306"; - // private static String dbpassword = "root"; +// private static String host = "localhost:3306"; +// private static String dbpassword = "root"; // private static String dbpassword = "gccroot"; diff --git a/gcc_officer_portal/src/main/resources/application.properties b/gcc_officer_portal/src/main/resources/application.properties index 65d10c34..0cf69f0e 100644 --- a/gcc_officer_portal/src/main/resources/application.properties +++ b/gcc_officer_portal/src/main/resources/application.properties @@ -1,5 +1,5 @@ - spring.profiles.active=local -#spring.profiles.active=production +#spring.profiles.active=local +spring.profiles.active=production #For Server production #assets.base-url=/gcc/assets/ #For local test diff --git a/gcc_officer_portal/src/main/resources/templates/modules/callcenterqaqc/socialmediacomplaints.html b/gcc_officer_portal/src/main/resources/templates/modules/callcenterqaqc/socialmediacomplaints.html index ea12545b..74b2cb94 100644 --- a/gcc_officer_portal/src/main/resources/templates/modules/callcenterqaqc/socialmediacomplaints.html +++ b/gcc_officer_portal/src/main/resources/templates/modules/callcenterqaqc/socialmediacomplaints.html @@ -608,25 +608,30 @@ { data: '', defaultContent: '-', - className: 'text-center', + className: 'text-center', render: function(data, type, row) { - return status === "closed" - ? ` - - ` - : '-'; - } + + let options = ` + `; + + if (status === "closed") { + options += ``; + } + + return (status === "closed" || status === "redressed") + ? `` + : '-'; + } }, { data: null, defaultContent: '-', render: function(data, type, row) { - return status === "closed" - ? `` + + return (status === "closed" || status === "redressed") + ? `` : '-'; }, className: 'text-center' @@ -634,7 +639,7 @@ { data: 'Complaint Number', render: function(data) { - return status === "closed" + return (status === "closed" || status === "redressed") ? `` : '-'; },