%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
<section id="container" > <?php include('_parts/user_internal_header.php') ?> <?php include('_parts/sidebar.php') ?> <section id="main-content"> <section class="wrapper complaint"> <h4><i class="fa fa-angle-right"></i>Your Grievance Details <a href="<?=base_url('lodgegrievance/academic') ?>" title="View Details" class="right mobile-float-none"><button type="button" class="btn button5 ">Lodge Grievance</button> </a></h4> <div class="row mt"> <div class="col-lg-12"> <div class="content-panel"> <section id="unseen"> <div class="scrolling-table grievance-process"> <table class="table3"> <thead> <tr class="table-head"> <th>S.No.</th> <th>Grievance Number</th> <?php $colspan = '4'; if($complaintDetails['school_id']!='99') {?> <th>School</th> <?php }?> <th>Department</th> <th>Nature of Grievance</th> </tr> </thead> </table> <?php $statusArray = unserialize(GRIEVANCE_STATUS); if($complaintDetails['complaintNumber']>0) { $k=1; $row = $complaintDetails; ?> <table class="table3"> <tr> <td><?php echo $k;?></td> <td><?php echo htmlentities($row['compNumber']);?></td> <?php if($row['school_id']!='99') { $colspan = '5'; ?> <td><?php echo $schoolArray[$row['school_id']]!='' ? htmlentities($schoolArray[$row['school_id']]) :'NA';?></td> <?php }?> <td><?php echo $departmentArray[$row['department_id']]!='' ? htmlentities($departmentArray[$row['department_id']]) : 'NA';?></td> <td><?php echo $grievanceArray[$row['grievance_type']]['grievance_name']!='' ? htmlentities($grievanceArray[$row['grievance_type']]['grievance_name']) : 'NA';?></td> </tr> <tr> <td colspan="<?=$colspan?>" class="table-collapse active" id="collapse1"> <ul class="list"> <li> <strong>Category</strong> : <?php echo htmlentities(ucwords($row['category']));?> </li> <li> <strong>Date</strong> : <?php echo date('d M Y H:i:s',strtotime($row['regDate']));?> </li> <li> <strong>Status</strong> : <?php $statusArray = unserialize(GRIEVANCE_STATUS); $numDays = 15; if($row['complaint_level']<=3){ $numDays = 5; } $status=$row['status']; if($row['complaint_level']==1 || $row['complaint_level']==4 || $row['complaint_level']==7 || $row['complaint_level']==10) { echo '<span style="color:#fc654c;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>'; } else if($row['complaint_level']==2 || $row['complaint_level']==5 || $row['complaint_level']==8 || $row['complaint_level']==11) { echo '<span style="color:#f0ad4e;;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>'; } else { echo '<span style="color:#00c1a1;font-weight:bold;">'.$statusArray[$row['complaint_level']].'</span>'; } ?> </li> <li> <a class="view-details" href="javascript:void(0);">Details <i class="fa fa-chevron-down" aria-hidden="true"></i> <i class="fa fa-chevron-up" aria-hidden="true"></i></a> </li> </ul> <div class="box-default" id="div<?=$row['complaintNumber']?>"> <ul class="process-list nav nav-tabs" role="tablist"> <li <?php if($row['complaint_level']>='1' OR $row['complaint_level']=='0'){ ?>class="active" <?php } ?>><a href="javascript:void(0)" >Grievance Submitted</a></li> <li <?php if($row['complaint_level']>='2'){ ?>class="active" <?php } ?>><a href="javascript:void(0)" >In Progress</a></li> <li <?php if($row['complaint_level']>=3 || $row['complaint_level']==6 || $row['complaint_level']==9 || $row['complaint_level']==12){ ?>class="active" <?php } ?>><a href="javascript:void(0)" >Closed</a></li> <li <?php if($row['complaint_level']==4 || $row['complaint_level']==5 ||$row['complaint_level']==7 ||$row['complaint_level']==8 || $row['complaint_level']==10 || $row['complaint_level']==11){ ?>class="active" <?php } ?>><a href="javascript:void(0)" >Reopned</a></li> <li <?php if($row['complaint_level']==3 || $row['complaint_level']==6 || $row['complaint_level']==9 || $row['complaint_level']==12){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Grievance Resolved</a></li> </ul> <div class="tab-content"> <div role="tabpane<?=$row['complaintNumber']?>l" class="tab-pane active" > <ul class="section-container"> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($row['regDate']));?></span> <p>Your grievance <?php echo htmlentities($row['compNumber']);?> has been submitted successfully</p> <p><strong> Remarks: </strong><?php echo htmlentities($row['complaindetails']); ?> </p> </li> <?php if(!empty($complaintremark)) { foreach( $complaintremark as $rows) { $status=$rows['status']; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($rows['remarkDate'])); ?></span> <p><span class="<?php if($status=='closed') { ?>grievance-status closed <?php } ?>"> Your grievance <?php echo htmlentities($row['compNumber']);?> is <?=$status?></span> <?php if(strtotime($row['lastUpdationDate']) + $numDays * 24 * 60 * 60 > time() && $row['complaint_level']==3 && $status=='closed') { ?> If you <strong>not satisfied</strong> with the resolution <a data-toggle="modal" href="<?=base_url('grievancehistory')?>?key=<?=base64_encode($row['compNumber'])?>" class="reopen-lnk" id="">Click Here to Reopen</a><?php } ?></p> <p><strong> Remarks from the department: </strong><?php echo htmlentities($rows['remark']); ?> </p> <?php } } ?> </li> <!--- L2 Start Here --> <?php $category = ''; if(!empty($historyLevelTwoArray)) { $levelTwo = $historyLevelTwoArray; $category = $levelTwo['category']; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($levelTwo['regDate'])); ?></span> <p><span class="grievance-status not-satisfied"> Grievance <?php echo htmlentities($row['compNumber']);?> is reopned as the user is not satisfied with the resulation</span> </p> <p><strong> Remarks : </strong><?php echo htmlentities($levelTwo['complaindetails']); ?> </p> </li> <?php } ?> <?php if(!empty($complaintl2remark)) { foreach($complaintl2remark as $rows) { $status = ''; $status = $rows['status']; $remarksFrom = $category=='academic' ? 'from the Dean' : ''; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($rows['remarkDate'])); ?></span> <p><span class="<?php if($status=='closed') { ?>grievance-status closed <?php } ?>"> Your grievance <?php echo htmlentities($row['compNumber']);?> is <?=$status?></span> <?php if(strtotime($row['lastUpdationDate']) + $numDays * 24 * 60 * 60 > time() && $row['complaint_level']==6 && $status=='closed'){ ?> If you <strong>not satisfied</strong> with the resolution <a data-toggle="modal" href="<?=base_url('grievancehistory')?>?key=<?=base64_encode($row['compNumber'])?>" class="reopen-lnk" id="">Click Here to Reopen</a><?php } ?></p> <p><strong> Remarks <?=$remarksFrom?>: </strong><?php echo htmlentities($rows['remark']); ?> </p> </li> <?php } } ?> <!-- L2 End Here --> <!--- L3 Start Here --> <?php if(!empty($historyLevelThreeArray)) { $levelThree = $historyLevelThreeArray; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($levelThree['regDate'])); ?></span> <p><span class="grievance-status not-satisfied"> Grievance <?php echo htmlentities($row['compNumber']);?> is reopned as the user is not satisfied with the resulation</span> </p> <p><strong> Remarks : </strong><?php echo htmlentities($levelThree['complaindetails']); ?> </p> </li> <?php } ?> <?php if(count($complaintl3remark)>0) { foreach($complaintl3remark as $rows) { $status=$rows['status']; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($rows['remarkDate'])); ?></span> <p><span class="<?php if($status=='closed') { ?>grievance-status closed <?php } ?>"> Your grievance <?php echo htmlentities($row['compNumber']);?> is <?=$status?></span> <?php if($row['complaint_level']=="9" && strtotime($row['lastUpdationDate']) + $numDays * 24 * 60 * 60 > time() && $status=='closed') { ?> If you <strong>not satisfied</strong> with the resolution <a data-toggle="modal" href="<?=base_url('grievancehistory')?>?key=<?=base64_encode($row['compNumber'])?>" class="reopen-lnk" id="">Click Here to Reopen</a><?php } ?></p> <p><strong> Remarks from the University Committee : </strong><?php echo htmlentities($rows['remark']); ?> </p> </li> <?php } } ?> </li> <!-- L3 End Here --> <?php if(!empty($historyLevelFourArray)) { $levelfour = $historyLevelFourArray; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($levelfour['regDate'])); ?></span> <p><span class="grievance-status not-satisfied"> Grievance <?php echo htmlentities($row['compNumber']);?> is reopned as the user is not satisfied with the resulation</span> </p> <p><strong> Remarks : </strong><?php echo htmlentities($levelfour['complaindetails']); ?> </p> </li> <?php } ?> <!--- L4 Start Here --> <?php if(count($complaintl4remark)>0) { foreach($complaintl4remark as $rows) { $status=$rows['status']; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($rows['remarkDate'])); ?></span> <p><span class="<?php if($status=='closed') { ?>grievance-status closed <?php } ?>"> Your grievance <?php echo htmlentities($row['compNumber']);?> is <?=$status?></span> </p> <p><strong> Remarks from the VC Committee : </strong><?php echo htmlentities($rows['remark']); ?> </p> </li> <?php } } ?> <!-- L4 End Here --> <?php if(count($complaintremarks[$row['complaintNumber']])>0) { ?> <p class="note"> <strong>*Note</strong> Better check yourself, you're not looking too good. </p> <?php } ?> </div> </li> </ul> </div> </div> </td> </tr> </table> <?php $k++; } else { ?> <table class="table3"> <tr> <td style="text-align: center" colspan="<?=$colspan?>">No Grievance Found</td> </tr> </table> <?php } ?> </div> </section> </div><!-- /content-panel --> </div><!-- /col-lg-4 --> </div><!-- /row --> </section><! --/wrapper --> </section> <!-- Modal --> <div class="modal fade" id="not-satisfied" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" data-keyboard="false"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <a href="<?=base_url('grievancehistory')?>" class="close"><span aria-hidden="true">×</span></a> <h4 class="modal-title" id="myModalLabel">Not Satisfied?</h4> </div> <div class="modal-body"> <?php if($grievanceDetails['complaint_level']>=4) { ?> <div class="alert alert-danger"> We have already received your complaint.</div> <?php } else if($_GET['msg']=='success') { ?> <div class="alert alert-success"> Your complain has been successfully filled and your grievance No. <?=base64_decode($_GET['key'])?> is accelerate to upper level committee. <a href="<?=base_url('grievancehistory')?>">Click here</a> to view Grievance history. </div> <?php } else if($_GET['msg']=='already_send') { ?> <div class="alert alert-danger"> We have already received your complaint.</div> <?php } else { ?> <?php if($_GET['msg']=='error') { ?> <div class="alert alert-danger"> Invalid Request. Please try after some time.</div> <?php } ?> <form method="post" action="<?=base_url('lodgegrievance/leveltwo')?>" class="form1"> <ul> <li> <label>Grievance ID<?php echo '<span style="color:red;">*</span>'; ?></label> <input type="text" value="<?=base64_decode($_GET['key'])?>" id="grievance_number" name="grievance_number" class="form-control" readonly> </li> <li> <label>Remarks<?php echo '<span style="color:red;">*</span>'; ?></label> <textarea placeholder="Enter Remarks" class="form-control" rows="10" cols="80" maxlength="4000" name="level_two_remarks" id="level_two_remarks" required></textarea> <small>Remarks upto 4000 characters.</small> </li> <li> <a href="<?=base_url('grievancehistory')?>" class="btn defult">Cancel</a> <input placeholder="Enter Reason" type="submit" value="Submit" class="btn button5"> </li> <li><div class="alert alert-warning" role="alert"> <strong>*Note</strong> Better check yourself, you're not looking too good. </div></li> </ul> </form> <?php } ?> </div> </div> </div> </div> <!-- /Modal --> <!-- /Modal --> <script> <?php if (isset($_GET['key'])) { ?> $(document).ready(function () { $("#not-satisfied").modal('show'); return false; }); <?php } ?> var textlimit = 4000; $('textarea').keyup(function() { var tlength = $(this).val().length; $(this).val($(this).val().substring(0, textlimit)); var tlength = $(this).val().length; remain = textlimit - parseInt(tlength); $('#remain').text(remain); }); </script>