%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/admin_internal_header.php') ?> <?php include('_parts/admin_sidebar.php') ?> <section id="main-content"> <section class="wrapper complaint"> <div class="module-body "> </br> <h4>Grievance Details <?php if($complaintDetails['status']!='closed' && $take_action==true && $_SESSION['ADMIN_DETAILS']['role']!='10') { ?><button type="button" class="btn button5 right" data-toggle="modal" data-target="#take-action">Take Action</button> <?php } ?></h4> <?php if($_SESSION['ADMIN_DETAILS']['role'] == '1' || $_SESSION['ADMIN_DETAILS']['role'] == '10' ){?> <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>ID</th> <th>Grievance Number</th> <th>School</th> <th>Department</th> <th>Nature of Grievance</th> </tr> </thead> </table> <table class="table3"> <tr> <td><?php echo $k=1;?></td> <td><?php echo htmlentities($complaintDetails['compNumber']);?></td> <?php if($complaintDetails['category'] == 'Non-Academic' || $complaintDetails['category'] == 'non-Academic'){ $schoolArray[$complaintDetails['school_id']] = 'Others'; } ?> <td><?php echo $schoolArray[$complaintDetails['school_id']]!='' ? htmlentities($schoolArray[$complaintDetails['school_id']]) :'NA';?></td> <td><?php echo $departmentArray[$complaintDetails['department_id']]!='' ? htmlentities($departmentArray[$complaintDetails['department_id']]) : 'NA';?></td> <td><?php echo $grievanceArray[$complaintDetails['grievance_type']]['grievance_name']!='' ? htmlentities($grievanceArray[$complaintDetails['grievance_type']]['grievance_name']) : 'NA';?></td> </tr> <tr> <td colspan="5" class="table-collapse" id="collapse<?=$complaintDetails['complaintNumber']?>"> <ul class="list"> <li style="list-style:none;"> <strong>Category</strong> : <?php echo htmlentities(ucwords($complaintDetails['category']));?> </li> <!-- <li style="list-style:none;"> <strong>Date</strong> : <?php echo date('d M Y H:i:s',strtotime($complaintDetails['regDate']));?> </li> --> <?php if($complaintDetails['complaint_level']<=3){$level = '1';}else if($complaintDetails['complaint_level']<=6){$level = '2';}else{$level = '3';} //$complaintlevelemail = getcomplaintlevelemail($complaintDetails['category'],$complaintDetails['school_id'],$complaintDetails['department_id'],$complaintDetails['grievance_type'])?> <li style="list-style:none;"> <strong>Level</strong> : <?php echo $level, $complaintlevelemail!= '' ? ' , ' .$complaintlevelemail : '';?> </li> <li style="list-style:none;"> <strong>Status</strong> : <?php $statusArray = unserialize(GRIEVANCE_STATUS); $numDays = 15; if($complaintDetails['complaint_level']<=3){ $numDays = 5; } $status=$complaintDetails['status']; if($complaintDetails['complaint_level']==1 || $complaintDetails['complaint_level']==4 || $complaintDetails['complaint_level']==7 || $complaintDetails['complaint_level']==10) { echo '<span style="color:#fc654c;font-weight:bold;">'.$statusArray[$complaintDetails['complaint_level']].'</span>'; } else if($complaintDetails['complaint_level']==2 || $complaintDetails['complaint_level']==5 || $complaintDetails['complaint_level']==8 || $complaintDetails['complaint_level']==11) { echo '<span style="color:#f0ad4e;;font-weight:bold;">'.$statusArray[$complaintDetails['complaint_level']].'</span>'; } else { echo '<span style="color:#00c1a1;font-weight:bold;">'.$statusArray[$complaintDetails['complaint_level']].'</span>'; } ?> </li> <li style="list-style:none;"> <a class="view-details" href="javascript:void(0);" onclick="viewdetails(<?=$complaintDetails['complaintNumber']?>);">View Details <i class="fa fa-chevron-down" aria-hidden="true"></i> <i class="fa fa-chevron-up" aria-hidden="true"></i></a> </li> </ul> <?php ?> <div class="box-default" id="div<?=$complaintDetails['complaintNumber']?>"> <ul class="process-list nav nav-tabs" role="tablist"> <li <?php if($complaintDetails['complaint_level']>='1' OR $row['complaint_level']=='0'){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Grievance Submitted</a></li> <li <?php if($complaintDetails['complaint_level']>='2'){ ?>class="active" <?php } ?>><a href="javascript:void(0)">In Progress</a></li> <li <?php if($complaintDetails['complaint_level']>=3 || $complaintDetails['complaint_level']==6 || $complaintDetails['complaint_level']==9 || $complaintDetails['complaint_level']==12){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Closed</a></li> <li <?php if($complaintDetails['complaint_level']==4 || $complaintDetails['complaint_level']==5 ||$complaintDetails['complaint_level']==7 ||$complaintDetails['complaint_level']==8 || $complaintDetails['complaint_level']==10 || $complaintDetails['complaint_level']==11){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Reopened</a></li> <li <?php if($complaintDetails['complaint_level']==3 || $complaintDetails['complaint_level']==6 || $complaintDetails['complaint_level']==9 || $complaintDetails['complaint_level']==12){ ?>class="active" <?php } ?>><a href="javascript:void(0)">Grievance Resolved</a></li> </ul> <div class="tab-content"> <div role="tabpane<?=$complaintDetails['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($complaintDetails['regDate']));?></span> <p>Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> has been submitted successfully</p> <p><strong> Remarks: </strong><?php echo htmlentities($complaintDetails['complaindetails']); ?> </p> </li> <?php if(count($complaintremark)>0) { ?> <?php 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 } ?>"> Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> is <?=$status?></span> </p> <p><strong> Remarks from the department: </strong><?php echo htmlentities($rows['remark']); ?> </p> <?php } } ?> </li> <!--- L2 Start Here --> <?php $category = ''; if(count($historyLevelTwoArray)>0) { $category = $historyLevelTwoArray['category']; ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($historyLevelTwoArray['regDate'])); ?></span> <p><span class="grievance-status not-satisfied"> Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> is reopened as the user is not satisfied with the resolution</span> </p> <p><strong> Remarks : </strong><?php echo htmlentities($historyLevelTwoArray['complaindetails']); ?> </p> </li> <?php } ?> <?php if(count($complaintl2remarks)>0) { foreach($complaintl2remarks 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 } ?>"> Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> is <?=$status?></span> </p> <p><strong> Remarks <?=$remarksFrom?>: </strong><?php echo htmlentities($rows['remark']); ?> </p> </li> <?php } } ?> <!-- L2 End Here --> <!--- L3 Start Here --> <?php if(count($historyLevelThreeArray)>0) { ?> <li class="section"> <span class="date"><?php echo date('d M Y H:i:s',strtotime($historyLevelThreeArray['regDate'])); ?></span> <p><span class="grievance-status not-satisfied"> Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> is reopened as the user is not satisfied with the resolution</span> </p> <p><strong> Remarks : </strong><?php echo htmlentities($historyLevelThreeArray['complaindetails']); ?> </p> </li> <?php } ?> <?php if(count($complaintl3remarks)>0) { foreach($complaintl3remarks 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 } ?>"> Grievance <?php echo htmlentities($complaintDetails['compNumber']);?> is <?=$status?></span> </p> <p><strong> Remarks from the University Committee : </strong><?php echo htmlentities($rows['remark']); ?> </p> </li> <?php } } ?> </li> <!-- L3 End Here --> </div> </li> </ul> </div> </div> </td> </tr> </table> </div> </section> </div> </div> </div> <?php } else {?> <div class="row"> <div class="col-sm-12"> <table class="table3"> <tr> <td><strong>Grievance No. :</strong> </td> <td><?php echo htmlentities($complaintDetails['compNumber']);?></td> </tr> <tr> <td><strong>Reg. Date :</strong> </td> <td><?php echo htmlentities(date('d M Y H:i:s',strtotime($complaintDetails['regDate'])));?></td> </tr> <tr> <td><strong>Category : </strong> </td> <td><?php echo htmlentities($complaintDetails['category'])!='' ? $complaintDetails['category'] : 'NA';?></td> </tr> <?php if($complaintDetails['category'] == 'Non-Academic' || $complaintDetails['category'] == 'non-Academic'){ $schoolArray[$complaintDetails['school_id']] = 'Others'; } ?> <tr> <td><strong>School : </strong> </td> <td><?php echo htmlentities($schoolArray[$complaintDetails['school_id']])!='' ? htmlentities($schoolArray[$complaintDetails['school_id']]) : 'NA';?></td> </tr> <tr> <td><strong>Department :</strong> </td> <td><?php echo htmlentities($departmentArray[$complaintDetails['department_id']])!='' ? htmlentities($departmentArray[$complaintDetails['department_id']]) : 'NA';?></td> </tr> <tr> <td><strong>Nature of Grievance :</strong> </td> <td><?php echo htmlentities($grievanceArray[$complaintDetails['grievance_type']]['grievance_name']);?></td> </tr> <?php if($grievanceDetails['complaindetails']) { ?> <tr> <td><strong>Grievance Description :</strong> </td> <td><?php echo htmlentities($grievanceDetails['complaindetails']);?></td> </tr> <?php } ?> <tr> <td><strong>Recent Remarks :</strong> </td> <td><?php echo htmlentities($complaintDetails['complaindetails']);?></td> </tr> <tr> <td><strong>File :</strong> </td> <td><?php $cfile=$complaintDetails['complaintFile']; if($cfile=="" || $cfile=="NULL") { echo htmlentities("File NA"); } else{ ?> <a href="complaintdocs/<?php echo htmlentities($complaintDetails['complaintFile']);?>" target='_blank'> View File</a> <?php } ?></td> </tr> <tr> <td><strong>Status :</strong> </td> <td><?php if($complaintDetails['status']=="Not Processed" || $complaintDetails['status']=="" ) { echo "Not Process yet"; } else{ echo htmlentities($complaintDetails['status']); } ?></td> </tr> </table> </div></div> <br/><br/> <h5>Your Remarks</h5> <table class="table3"> <tr> <th>Date</th> <th>Comments</th> </tr> <?php if(count($complaintremark)>0) { foreach($complaintremark as $row) { ?> <tr> <td><?php echo htmlentities(date('d M Y H:i:s',strtotime($row['remarkDate']))); ?> (<?php echo htmlentities(ucwords($row['status'])); ?>)</td> <td><?php echo htmlentities($row['remark']); ?></td> </tr> <?php } } else { ?> <tr> <td colspan="2"> No Comments Available.</td> </tr> <?php }?> </table> <?php }?> </br> <button type="button" class="btn button5 right" data-toggle="modal" data-target="#view-user-detail">View User Details</button> <button name="Submit2" type="button" class="btn button6" value="Back" onClick="javascript:history.go(-1)"> Back</button> </div> </div> </div> </section> </section><!-- /MAIN CONTENT --> <!-- Modal --> <div class="modal fade" id="take-action" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Take Action</h4> </div> <div class="modal-body"> <form name="updateticket" id="updatecomplaint" method="post" class="form1"> <ul> <li> <label>Status <span style="color:red;">*</span></label> <span class="select"> <select name="status" id="status" required="required"> <option value="">Select Status</option> <option value="in process">In Process</option> <option value="closed">Closed</option> </select> </span> </li> <li> <label>Remark <span style="color:red;">*</span></label> <textarea class="form-control" name="remark" cols="80" rows="10" placeholder="Enter Remarks" maxlength="4000" required="required"></textarea><small>Remarks upto 4000 characters.</small> </li> <li> <input type="hidden" id="complaintNumber" name="complaintNumber" value="<?php echo htmlentities($complaintDetails['complaintNumber']);?>" /> <input type="submit" class="btn button5" name="remarks" id="remarks" value="Submit"> </li> </ul> </form> </div> </div> </div> </div> <!-- /Modal --> <!-- Modal --> <div class="modal fade" id="view-user-detail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">View User Details</h4> </div> <div class="modal-body"> <form name="updateticket" id="updateticket" method="post"> <table class="table3"> <tr> <td colspan="2"><b><?php echo $userDetails['fullName'];?>'s profile</b></td> </tr> <tr> <td > </td> <td > </td> </tr> <tr height="50"> <td><b>Reg Date:</b></td> <td><?php echo htmlentities($userDetails['regDate']); ?></td> </tr> <tr height="50"> <td><b>User Email:</b></td> <td><?php echo htmlentities($userDetails['userEmail']); ?></td> </tr> <tr height="50"> <td><b>User Contact no:</b></td> <td><?php echo htmlentities($userDetails['contactNo']); ?></td> </tr> <tr height="50"> <td><b>Programme Name:</b></td> <td><?php echo htmlentities($userDetails['programme_name']); ?></td> </tr> <tr height="50"> <td><b>Academic Year:</b></td> <td><?php echo htmlentities($userDetails['academic_year']); ?></td> </tr> <tr height="50"> <td><b>Registration/Enrollment Number:</b></td> <td><?php echo htmlentities($userDetails['enrollment_no']); ?></td> </tr> <tr height="50"> <td><b>Address:</b></td> <td><?php echo htmlentities($userDetails['address']); ?></td> </tr> <tr height="50"> <td><b>Pincode:</b></td> <td><?php echo htmlentities($userDetails['pincode']); ?></td> </tr> <tr height="50"> <td><b>Last Updation:</b></td> <td><?php echo htmlentities($userDetails['updationDate']); ?></td> </tr> <tr height="50"> <td><b>Status:</b></td> <td><?php if($userDetails['status']==1) { echo "Active"; } else{ echo "Block"; } ?></td> </tr> <tr> <td colspan="2"> <input name="Submit2" type="submit" class="txtbox4" value="Close this window " onClick="return f2();" style="cursor: pointer;" /></td> </tr> </table> </form> </div> </div> </div> </div> <script src="<?= base_url('assets/js/jquery.js') ?>"></script> <!-- Bootstrap Core JavaScript --> <script src="<?= base_url('assets/js/bootstrap.min.js') ?>"></script> <!-- /Modal --> <script> 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); }); function viewdetails(k) { if(k>0){ $("#collapse"+k).toggleClass("active"); } } </script>