diff --git a/app/View/Elements/case_details_popup_new.ctp b/app/View/Elements/case_details_popup_new.ctp index b5f9ed3..09f466f 100644 --- a/app/View/Elements/case_details_popup_new.ctp +++ b/app/View/Elements/case_details_popup_new.ctp @@ -1,6 +1,12 @@ <% var showQuickAct = showQuickActDD = 0; var UserClients_dtl = ''; var clientids = ''; @@ -819,6 +825,23 @@ <% if(filesArr){ %> <% if((filesArr.length)==1){ %> <%}else {%><%= filesArr.length%> <% } %> <% } else { %> <% } %> +
+ <% for(var fileKey in filesArr) { + var getFiles = filesArr[fileKey]; + caseFileName = getFiles.CaseFile.file; + caseFileUName = getFiles.CaseFile.upload_name; + caseFileId = getFiles.CaseFile.id; + downloadurl = getFiles.CaseFile.downloadurl; + var d_name = getFiles.CaseFile.display_name; + if(!d_name){ d_name = caseFileName;} + if(caseFileUName == null){ caseFileUName = caseFileName;} %> + + +
<%= d_name %>
(<%= getFiles.CaseFile.file_size %>)
+
+ + <% } %> +
<% var images = ""; var caseFileName = ""; for(var fileKey in filesArr) { var getFiles = filesArr[fileKey];