From 4f64c12b274f189e336d812c48d14ed8c6beadc8 Mon Sep 17 00:00:00 2001 From: yoga-agoy Date: Sat, 4 Jul 2026 16:33:23 +0530 Subject: [PATCH] changes in file showing --- src/main/webapp/exist_bill_det_display.jsp | 108 +++++------ .../webapp/exist_ext_bill_det_display.jsp | 179 ++++++++---------- 2 files changed, 132 insertions(+), 155 deletions(-) diff --git a/src/main/webapp/exist_bill_det_display.jsp b/src/main/webapp/exist_bill_det_display.jsp index 50d4a06..2923126 100644 --- a/src/main/webapp/exist_bill_det_display.jsp +++ b/src/main/webapp/exist_bill_det_display.jsp @@ -133,122 +133,118 @@ if (isExtendedFlag == 1) { <%=String.format("%,.2f", contDetListWrapper.getContList().get(0).getContAmt())%> -
-
+
+

AS File : + <% if (!contDetListWrapper.getContList().get(0).getContASFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContASFilePath().trim().equals("-")) { %> + + <% } %>

- <% - if (!contDetListWrapper.getContList().get(0).getContLOAFilePath().trim().equals("-")) { - %>

- LOA File : + LOA File : + <% if (!contDetListWrapper.getContList().get(0).getContLOAFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContLOAFilePath().trim().equals("-")) { %> + + <% } %>

- Agreement File : - -

-
- <% - } else { - %> -
-

- Agreement File : + Agreement File : + <% if (!contDetListWrapper.getContList().get(0).getContAgreeFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContAgreeFilePath().trim().equals("-")) { %> + + <% } %>

- <% - } - %> +
+

- WO File : + Work Order File : + <% if (!contDetListWrapper.getContList().get(0).getContWOFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContWOFilePath().trim().equals("-")) { %> + + <% } %>

-
-
- <% - if (!contDetListWrapper.getContList().get(0).getContEMDFilePath().trim().equals("-")) { - %>

EMD File : + <% if (!contDetListWrapper.getContList().get(0).getContEMDFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContEMDFilePath().trim().equals("-")) { %> + + <% } %>

- <% - } - if (!contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")) { - %>

SD File : + <% if (!contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")) { %> + + <% } %>

- <% - } - if (!contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { - %> -
+
+
+

ASD File : + <% if (!contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { %> + <% } else if (contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { %> + + <% } %>

- <% - } - %>
<% } diff --git a/src/main/webapp/exist_ext_bill_det_display.jsp b/src/main/webapp/exist_ext_bill_det_display.jsp index 7bf3c5a..a9d8191 100644 --- a/src/main/webapp/exist_ext_bill_det_display.jsp +++ b/src/main/webapp/exist_ext_bill_det_display.jsp @@ -115,107 +115,88 @@ if (reqSrc.equalsIgnoreCase("exist_cont_det_display_page")) {
-
-

- Ext.AS File : - -

-
- <% - if (!contDetListWrapper.getContList().get(0).getContAgreeFilePath().trim().equals("-")) { - %> -
-

- Ext.Agreement File : - -

-
-
-

- Ext.WO File : - -

+
+

+ Ext.AS File : + <% if (!contDetListWrapper.getContList().get(0).getContASFilePath().trim().equals("-")) { %> + + <% } else if (contDetListWrapper.getContList().get(0).getContASFilePath().trim().equals("-")) { %> + + <% } %> +

+
+
+

+ Ext.Agreement File : + <% if (!contDetListWrapper.getContList().get(0).getContAgreeFilePath().trim().equals("-")) { %> + + <% } else if (contDetListWrapper.getContList().get(0).getContAgreeFilePath().trim().equals("-")) { %> + + <% } %> +

+
+
+

+ Ext.Work Order File : + <% if (!contDetListWrapper.getContList().get(0).getContWOFilePath().trim().equals("-")) { %> + + <% } else if (contDetListWrapper.getContList().get(0).getContWOFilePath().trim().equals("-")) { %> + + <% } %> +

+
- <% - } else { - %> -
-

- Ext.WO File : - -

+
+
+

+ Ext.SD File : + <% if (!contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")) { %> + + <% } else if (contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")) { %> + + <% } %> +

+
+
+

+ ASD File : + <% if (!contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { %> + + <% } else if (contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { %> + + <% } %> +

+
- <% - } - %> -
-
- <% - if (!contDetListWrapper.getContList().get(0).getContASDFilePath().trim().equals("-")) { - %> -
-

- Ext.SD File : - -

-
-
-

- Ext.ASD File : - -

-
- <% - } else if (!contDetListWrapper.getContList().get(0).getContSDFilePath().trim().equals("-")){ - %> -
-

- Ext.SD File : - -

-
- <% - } - %> -
- <% - } - %> + <% + } + %>