From dc733c9d2c6fc95aa42fd62645d6001434dfad53 Mon Sep 17 00:00:00 2001 From: Gyana Date: Wed, 4 May 2022 14:25:53 +0530 Subject: [PATCH] file list view update --- app/View/Elements/case_details_popup_new.ctp | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) 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];