%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="wrapper d-flex align-items-stretch"> <?php include('_parts/admin_sidebar.php') ?> <div id="content"> <?php include('_parts/admin_internal_header.php') ?> <div class="main-body"> <div class="headings"><h4> <i class="fa fa-window-restore" aria-hidden="true"></i>Resolved Incident</h4><button style="float:right;" class="btn button2" onclick="tableToExcel('#divId', 'Excel Report')"><i class="fa fa-bar-chart"></i>Download Report</Button></div> <div class="white-box"> <div class="responsivetable"> <table class="table3" id="dataTable"> <thead> <tr> <th>S. No</th> <th>Incident No</th> <th>Category</th> <th>Nature of Grievance</th> <th>Incident Description</th> <th>Department</th> <th>Reg. Date</th> <th>Action</th> </tr> </thead> <tbody> <?php if(count($responseArray)>0) { $cnt =1; foreach($responseArray as $row) { ?> <tr> <td><?php echo $cnt;?></td> <td><?php echo htmlentities($row['compNumber']);?></td> <td><?php echo htmlentities(ucwords($row['incident_occurred']));?></td> <td><?php echo htmlentities($row['employee_acknowledgement']); ?></td> <td><?php echo substr(strip_tags($row['complaindetails']),0,100);?>.....</td> <td><?php echo htmlentities($departmentArray[$row['department_id']]);?></td> <td><?php echo htmlentities($row['regDate']);?></td> <td><a class="edit-btn" href="<?=base_url('complaints/viewdetails') ?>?cid=<?php echo htmlentities($row['complaintNumber']);?>" title="View Details"> <i class="fa fa-eye" aria-hidden="true"></i> </a> </td> </tr> <?php $cnt=$cnt+1; } } else { ?> <tr> <td colspan="8">No record found</td></tr><?php } ?> </table> </div> </div> <?php if($_SESSION['ADMIN_DETAILS']['user_level']=='L2') {?> <div class="headings"> <h4>Resolved Incident By HOD</h4> </div> <div class="white-box"> <div class="responsivetable"> <table class="table3"> <thead> <tr> <th>S. No</th> <th>Incident No</th> <th>Category</th> <th>Nature of Grievance</th> <th>Incident Description</th> <th>Department</th> <th>Reg. Date</th> <th>Action</th> </tr> </thead> <tbody> <?php if(count($l1Array)>0) { $cnt =1; foreach($l1Array as $row) { ?> <tr> <td><?php echo $cnt;?></td> <td><?php echo htmlentities($row['compNumber']);?></td> <td><?php echo htmlentities(ucwords($row['category']));?></td> <td><?php echo $grievanceArray[$row['grievance_type']]['grievance_name']; ?></td> <td><?php echo substr(htmlentities($row['complaindetails']),0,100);?>.....</td> <td><?php echo htmlentities($departmentArray[$row['department_id']]);?></td> <td><?php echo htmlentities($row['regDate']);?></td> <td><a href="<?=base_url('complaints/viewdetails') ?>?cid=<?php echo htmlentities($row['compNumber']);?>" title="View Details"> <button type="button" class="btn btn-primary">View Details</button> </a> </td> </tr> <?php $cnt=$cnt+1; } } else { ?> <tr> <td colspan="8">No record found</td></tr><?php } ?> </table> </div> </div> <?php } ?> </div> </div> </div> </div> </div> <script> var tableToExcel = (function () { var uri = 'data:application/vnd.ms-excel;base64,' , template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>' , base64 = function (s) { return window.btoa(unescape(encodeURIComponent(s))) } , format = function (s, c) { return s.replace(/{(\w+)}/g, function (m, p) { return c[p]; }) } return function (table, name) { if (!table.nodeType) table = document.getElementById('dataTable'); var ctx = { worksheet: name || 'Worksheet', table: table.innerHTML } window.location.href = uri + base64(format(template, ctx)) } })() </script> <script src="<?=base_url('assets/js/popper.js'); ?>"></script> <script src="<?=base_url('assets/js/main.js'); ?>"></script>