<%{ get_comp = Company_Details[ID != null]; imgqr = get_comp.QR_Code; qrurl = "https://creator.zohopublic.in/carrierwheels/erp/Company_Details_Report/" + get_comp.ID + "/QR_Code/image-download/j6hYk3Aydznp76py4dSap5JAORMuJxeEjMAb2Vdsteh0Cg35dYySwyzXFY2Fz1KFhjwJttt5ka7nn5jbvnnxGJD1Hh8BeJMJ6qZN/" + imgqr; CompanyLogo = "https://carrierwheels.com/images/CW_Logo.png"; company_stamp = "https://carrierwheels.com/images/Approved_Stamp-CWPL.jpg"; calstamp = "https://workdrive.zoho.com/file/muo5y868dd7d53ec64985bbf148dd9c50e7df"; fetcal = Calibration_History[ID == input.ID.tolong()]; calmast = Calibration_Master[Gauge_No == fetcal.Gauge_No.Gauge_No]; img_name = ifnull(fetcal.Attachment.getSuffix("image/").getPrefix("border").replaceAll("\"","").trim(),""); customrurl = "https://creator.zohopublic.in/carrierwheels/erp/Calibration_History_Report/" + fetcal.ID + "/Attachment/image-download/AzPNXH4sPQ1RzdsMsbg3tu9gabdAw2h9GBK1TPRxd3xPXCEwF1gYjZSSyEzxVVkhPzBWnGj2jwZr5aKKNgm6AFbb4RdJxdmAjJWM/" + img_name; %> <br> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <style> .table2 { width : 100%; border :1px solid black; text-align : center; border-collapse : collapse; font-family: Times New Roman; margin-left:auto; margin-right:auto; } html{ height: 100%; } .headtab { border : 0; margin : 0; } @page { margin: 0; margin-top : 0; margin-bottom : 0; margin-left : 0; margin-right : 0; } @media print { body {margin: 0mm} } </style> <table class="table2" > <tr> <td rowspan="5" width="10%"><img src=<%=CompanyLogo%> width="86px" height ="20px"></td> <td rowspan="5" style= "font-size : 18px ; font-family : Times New Roman; text-align:center;padding-top : 0px; padding-bottom:0px;border-right: 1px solid black;border-left: 1px solid black;padding-left: 100px;"><h7 style="color:lightblue"><b>CARRIER WHEELS PVT LTD</h7></b><br><b>Calibration Report</b></td> </tr> <tr style="border-collapse:collapse; border :0px solid black;"><td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:11px;"><b> Doc No :</b> </td> </td><td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:11px;"><b> CWPL/QA/F/05</b> </td></tr> <tr><td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"><b>Rev.no : </b> </td> <td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"> <b>03</b></td></tr> <tr><td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"><b>Rev.Date : </b></td> <td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"><b>01.04.2023 </b></td></tr> <tr><td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"><b>Origin.Date :</b> </td> <td style = "text-align:left; width:10%; border :0px solid black; border-collapse : collapse; font-size:10px;"> <b>12.06.2012</b></td></tr> </table> <style> .supplier { width: 100%; margin-left: auto; margin-right: auto; border: 1px solid black; border-collapse: collapse; } .prod { text-align: left; font-size : 10.5px; width : 100%; height : 0.5px; border :1px solid black; border-collapse : collapse; } .tr { border :1px solid black; border-collapse : collapse; font-size : 13px; height : 2px; } .td { border :1px solid black; border-collapse : collapse; font-size : 12px; height : 2px; } .th { border :1px solid black; border-collapse : collapse; font-size : 12px; height : 2px; } </style> <table class = "supplier"> <tr> <td style="text-align:center; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> SETUP DETAILS</td></tr> </table> <table class = "supplier"> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> Item Name: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Item_Name.Item_Name,"")%> </td> <td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> Calibration Date: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Cal_Done_Date,"")%></td></tr> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Gauge No: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Gauge_No.Gauge_No,"")%></td> <td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> Master Instrument: </td> <td tyle="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Master_Instruments.Item_Name,"")%></td></tr> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Location: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Location.Location_Name,"")%></td> <td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> Internal /External: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Calibration_Type,"")%></td></tr> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Usable Range: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Usable_Range.Usable_Range,"")%> </td> <td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Least Count: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Least_Count.Least_Count,"")%></td></tr> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Frequency: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Frequency.Frequency,"")%> </td> <td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Cal Due Date: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(calmast.Cal_Due_Date,"")%></td></tr> </table> <table class = "supplier"> <tr> <td style="text-align:center; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b> IMAGE</td></tr> <tr> <td style="text-align:center;"><img src=<%=customrurl%> height="130px" width="200px"> </td></tr> </table> <table class="supplier" > <tr style="border :1px solid black; border-collapse : collapse;" > <td colspan = "3" style="text-align:center;font-size:13px; border :1px solid black; border-collapse : collapse;" > <b>RECORDING <b></td> </tr> </table> <table style="width : 100%; border :1px solid black; border-collapse : collapse; font-size : 10.5px;"> <tr class="tr"> <th class="th" ><b>S.No</th> <th class="th">Item Name</th> <th class="th">Description</th> <th class="th">Specification(Range) </th> <th class="th">Actual</th> <th class="th">Difference</th> <th class="th">Permissible error</th> <th class="th" width="60px">Status</th> <th class="th">Remarks</th> </tr> <% slno = 1; for each sub in fetcal.Item_Details1 { fet_material = Calibration_Master[Item_Name == sub.Item_Name.Item_Name]; %> <tr class="tr"> <td class="td" align = "center"><%=sub.S_No%> </td> <td class="td" align = "center"><%=ifnull(sub.Item_Name.Item_Name,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Description,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Spec_Range,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Actual,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Difference,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Permissable_Error,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Status,"")%></td> <td class="td" align = "center"><%=ifnull(sub.Remarks,"")%></td> <% } %> </table> <table class = "supplier"> <tr> <td style="text-align:center; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>DECISION/RESULTS</td></tr> </table> <table class = "supplier"> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Calibration Result: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Result,"")%> </td></tr> <tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>Calibration Remarks: </td> <td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"><%=ifnull(fetcal.Terms_Conditions,"")%></td></tr> </table> <table class = "supplier"> <tr> <td style="text-align:center; width:10% ;border :1px solid black; border-collapse : collapse;font-size:13px ;"> <b>VALIDATION TEAM</td></tr> </table> <table style="width : 100%; border :1px solid black; border-collapse : collapse; font-size : 10.5px;"> <tr class="tr"> <th class="th" > </th> <th class="th">Calibration By:</th> <th class="th">Verification By:</th> <th class="th">Approved By:</th> </tr> <% for each rec in fetcal { %> <tr class="tr"> <td class="td"><b><%="Name"%></td></b> <td class="td" align = "center"><%=rec.Calibration_By.Employee_Name%></td> <td class="td" align = "center"><%=rec.Checked_By.Employee_Name%></td> <td class="td" align = "center"><%=rec.Approved_By.Employee_Name%></td> </tr> <tr class="tr"> <td class="td"><b><%="Date"%></td></b> <td class="td" align = "center"><%=ifnull(fetcal.Cal_Done_Date,"")%></td> <td class="td" align = "center"><%=ifnull(fetcal.Cal_Done_Date,"")%></td> <td class="td" align = "center"><%=ifnull(fetcal.Cal_Done_Date,"")%></td> </tr> <tr class="tr"> <td class="td"><b><%="Signature"%></td></b> <td class="td" align = "center"><%=""%></td> <td class="td" align = "center"><%=""%></td> <td class="td" align = "center"><%=""%></td> </tr> <% } %> </table> <style> .table3 { width : 100%; margin-left: auto; margin-right: auto; font-size : 12px; border :1px solid black; border-collapse :collapse; text-align: center; } </style> <table class="table3" style="margin-bottom: 50px;"> <tr> <td><b><img src=<%=company_stamp%> width="100px" height ="50px" align = "center"><br> QA Department</b></td> <!--<td><b><img src=<%=qrurl%> height ="70px" align = "center"><br> QR Code</b></td>--> </tr> <tr> <td style="font-size:11px;text-align:center;height:1px; border-collapse : collapse ; border-top : 1px solid black; border-bottom : 1px solid black; margin-botton: auto;"colspan=4> <p style="font-size : 10px;text-align:center"><b>This is system generated report</b></td></tr> </table> <% }%>