<%{ fetinst = Installation[ID == input.rec].ID; fetinst1 = Installation[ID == input.rec]; fetciv = Civil_Work_Detail1[Installation == input.rec].ID; fetearth = Product_Details_Check_List[Installation == input.rec].ID; fetinst = Installation_SPQ1[Installation == input.rec].ID; fetfcc = Final_Connection[Installation == input.rec].ID; fetkwh = Kwh_Line_Item_Form[Installation == input.rec].ID; fetfccomp = Final_Connection_Checklist_Individual_Yes_No[Installation_Assignment == input.rec].ID; fetgin = GIN_ID_Status[Installation == input.rec].ID; fetgin1 = GIN_ID_Status[Installation == input.rec]; fetinstass = Installation_Assignment[Installation == input.rec]; ginform = Gin_Form[GIN_ID_Status1 == fetgin]; data = Installation_SPQ1[Installation == input.rec]; %> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body.custom-links-page { font-family: 'Arial', sans-serif; background-color: #f8f8f8; margin: 0; padding: 10px; } body.custom-links-page h1 { color: #333; text-align: center; } .group-container { background-color: #14638e; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); margin-bottom: 10px; padding: 10px; overflow: hidden; } .subgroup-container { background-color: #f2f2f2; border-radius: 8px; margin-bottom: 10px; padding: 10px; overflow: hidden; } .column { width: 33.33%; float: left; box-sizing: border-box; padding: 0 5px; margin-right: 10%; } .column1 { width: 33.33%; float: left; box-sizing: border-box; padding: 0 5px; } .column ul { list-style-type: none; padding: 0; margin: 0; } .column li { margin-bottom: 10px; border-bottom: 1px solid #ddd; padding-bottom: 5px; } .column a { text-decoration: none; color: #14638e; font-weight: bold; transition: color 0.3s ease; } .column a:hover { color: #da251c; } .column b:hover { color: #da251c; } @media only screen and (max-width: 767px) { .column { width: 100%; float: none; margin-bottom: 15px; } } </style> </head> <body class="custom-links-page"> <div class="group-container"> <h2 style="text-align: center">CHECKLIST</h2> <div class="subgroup-container"> <div class="column"> <ul> <% if(fetinst1.No_of_Civil_Work > 0) { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Civil_Work_Detail1?recLinkID=<%=fetciv%>&Redirect=RM&viewLinkName=All_Civil_Work_Details1" target="_blank">Civil Work Checklist</a></li> <% } if(fetinst1.No_of_Civil_Work <= 0 || fetinst1.No_of_Civil_Work == null) { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Civil_Work_Detail1?recLinkID=<%=fetciv%>&Redirect=RM&viewLinkName=All_Civil_Work_Details1" target="_blank">Civil Work Checklist</a></li> <% } if(fetinst1.No_of_Earthing1 > 0) { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Product_Details_Check_List?recLinkID=<%=fetearth%>&Redirect=RM&viewLinkName=Product_Details_Check_List_Report" target="_blank">Earthing Checklist</a></li> <% } if(fetinst1.No_of_Earthing1 <= 0 || fetinst1.No_of_Earthing1 == null) { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Product_Details_Check_List?recLinkID=<%=fetearth%>&Redirect=RM&viewLinkName=Product_Details_Check_List_Report" target="_blank">Earthing Checklist</a></li> <% } %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Installation_SPQ1?recLinkID=<%=fetinst1.Installation_SPQ1%>&Redirect=RM&viewLinkName=Installation_SPQ1_Report&Backend_hide_subform=true" target="_blank">Installation Checklist</a></li> <% if(fetinst1.No_of_7_7_KWh_Chargers > 0) { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:kwh_Line_Items?Installation=<%=input.rec%>" target="_blank">View 7.7KWh Checklist</a></li> <% } if(fetinst1.No_of_7_7_KWh_Chargers <= 0 || fetinst1.No_of_7_7_KWh_Chargers == null) { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:kwh_Line_Items?Installation=<%=input.rec%>" target="_blank">View 7.7KWh Checklist</a></li> <% } if(fetinstass.New_Status_Final_Connection != "Vendor assignment pending" || fetinstass.New_Status_Final_Connection == null && fetinst1.Final_Connection != null) { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Final_Connection?recLinkID=<%=fetinst1.Final_Connection%>&Redirect=RM&viewLinkName=All_Final_Connections&zc_LoadIn=dialog" >Final Connection Checklist</a></li> <% } if(fetinstass.New_Status_Final_Connection == "Vendor assignment pending" || fetinstass.New_Status_Final_Connection != null || fetinst1.Final_Connection == null) { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Final_Connection?recLinkID=<%=fetfcc%>&Redirect=RM&viewLinkName=All_Final_Connections&zc_LoadIn=dialog">Final Connection Checklist</a></li> <% } if(fetinst1.Final_Connection_Checklist_Individual_Yes_No_Multiple == null && fetinst1.Final_Connection_Status == "Final Connection Pending") { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Final_Connection_Checklist_Individual_Yes_No?Installation_Assignment=<%=fetinst1.Installation_Assignment%>&zc_LoadIn=dialog">FC needs to be completed?</a></li> <% } if(fetinst1.Final_Connection_Status == "Final Connection Completed" || fetinst1.Final_Connection_Checklist_Individual_Yes_No_Multiple != null) { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Final_Connection_Checklist_Individual_Yes_No?Installation_Assignment=<%=fetfccomp%>" target="_blank">FC needs to be completed?</a></li> <% } %> <!-- Below code is for Proceed for Activation button code--> <% if(fetinst1.Status4 == "Open") { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Copy_of_Approval?Installation_ID=<%=input.rec%>&zc_LoadIn=dialog">Approve</a></li> <% } if(fetinst1.Status4 != "Open") { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:Network_Engineer_Approval?fetinst1.GIN_ID_Status<%=fetgin%>" target="_blank">Approve</a></li> <% } %> </ul> </div> <div class="column"> <ul> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:All_Civil_Work_Details1?Installation=<%=input.rec%>" target="_blank">Export Civilwork Checklist</a></li> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:Product_Details_Check_List_Report?Installation=<%=input.rec%>" target="_blank">Export Earthing Checklist</a></li> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:Installation_SPQ1_Report?Installation=<%=input.rec%>" target="_blank">Export Installation Checklist</a></li> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:kwh_Line_Items?Installation=<%=input.rec%>" target="_blank">Export 7.7KWh Checklist</a></li> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Report:All_Final_Connections?Installation=<%=input.rec%>" target="_blank">Export Final Connection Checklist</a></li> <li><br></li> <% if(fetinst1.Status4 != "Rejected") { %> <li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Reject_Remarks_For_Rm?Installation=<%=input.rec%>&zc_LoadIn=dialog" >Reject</a></li> <% } if(fetinst1.Status4 == "Rejected") { %> <li><b href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Reject_Remarks_For_Rm?Installation=<%=input.rec%>&zc_LoadIn=dialog">Reject</a></li> <% } %> <!--<li><a href="https://creatorapp.zoho.in/atherenergy/environment/development/atherops/#Form:Test_Approval?Installation_ID=<%=input.rec%>&zc_LoadIn=dialog">Test</a></li> </ul>--> </div> </div> </body> </html> <% }%>