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 : - -

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