ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.117.229.181 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('pageTitle'); ?> Nominal Roll Reports <?php $__env->stopSection(); ?> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.1.min.js"></script> <?php $__env->startSection('content'); ?> <div class="box box-default"> <div class="box-header with-border hidden-print"> <h3 class="box-title"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3> </div> <?php if($warning != ''): ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($warning); ?></strong> </div> <?php endif; ?> <?php if($success != ''): ?> <div class="alert alert-dismissible alert-success"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($success); ?></strong> </div> <?php endif; ?> <?php if(count($errors) > 0): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <p><?php echo e($error); ?></p> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <?php if(session('message')): ?> <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Success!</strong> <?php echo e(session('message')); ?> </div> <?php endif; ?> <?php if(session('error_message')): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> <?php echo e(session('error_message')); ?> </div> <?php endif; ?> <form method="post" id="thisform1" name="thisform1"> <?php echo e(csrf_field()); ?> <div class="box-body"> <div class="row"> <?php if($CourtInfo->courtstatus == 1): ?> <div class="col-md-4"> <label>Court</label> <select name="court" id="court" class="form-control" onchange="ReloadForm();"> <option value="" selected>-All court-</option> <?php $__currentLoopData = $CourtList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->id); ?>" <?php echo e($court == $b->id ? 'selected' : ''); ?>> <?php echo e($b->court_name); ?>(<?php echo e($b->courtAbbr); ?>)</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php else: ?> <input type="hidden" id="court" name="court" value="<?php echo e($CourtInfo->courtid); ?>"> <?php endif; ?> <?php if($CourtInfo->divisionstatus == 1 && Auth::user()->is_global == 1): ?> <div class="col-md-4"> <label>Division</label> <select name="division" id="division" class="form-control"> <option value="" selected>-All division-</option> <?php $__currentLoopData = $Divisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->divisionID); ?>" <?php echo e($division == $b->divisionID ? 'selected' : ''); ?>><?php echo e($b->division); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php else: ?> <div class="col-md-6"> <div class="form-group"> <label>Division</label> <input type="text" class="form-control" id="divisionName" name="divisionName" value="<?php echo e($curDivision->division); ?>" readonly> </div> </div> <input type="hidden" id="division" name="division" value="<?php echo e(Auth::user()->divisionID); ?>"> <?php endif; ?> </div> <div class="row"> <div class="col-md-3"> <label>Grade</label> <select name="grade" id="grade" class="form-control"> <option value="" selected>-All Grades-</option> <?php for($i = 1; $i <= 17; $i++): ?> <option value="<?php echo e($i); ?>" <?php echo e($grade == $i ? 'selected' : ''); ?>> <?php echo e($i); ?></option> <?php endfor; ?> </select> </div> <div class="col-md-3"> <label>Employment Type</label> <select name="employmenttype" id="employmenttype" class="form-control"> <option value="" selected>-All type-</option> <?php $__currentLoopData = $EmployeeTypeList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->id); ?>" <?php echo e($employmenttype == $b->id ? 'selected' : ''); ?>> <?php echo e($b->employmentType); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-3"> <label>Cadre</label> <select name="department" id="department" class="form-control"> <option value="" selected>-All department-</option> <?php $__currentLoopData = $DepartmentList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->id); ?>" <?php echo e($department == $b->id ? 'selected' : ''); ?>> <?php echo e($b->department); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-3"> <label>Designation</label> <select name="designation" id="designation" class="form-control"> <option value="" selected>-All designition-</option> <?php $__currentLoopData = $DesignationList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->id); ?>" <?php echo e($designation == $b->id ? 'selected' : ''); ?>> <?php echo e($b->designation); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="row"> <div class="col-md-3"> <label>Employment period from</label> <input type="text" name="fromdate" id="fromdate" class="form-control" value="<?php echo e($fromdate); ?>" /> </div> <div class="col-md-3"> <label>To</label> <input type="text" name="todate" id="todate" class="form-control" value="<?php echo e($todate); ?>" /> </div> <div class="col-md-3"> <label>Gender</label> <select name="gender" id="gender" class="form-control"> <option value="" selected>-All gender-</option> <?php $__currentLoopData = $Gender; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->gender); ?>" <?php echo e($gender == $b->gender ? 'selected' : ''); ?>> <?php echo e($b->gender); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-3"> <label>Sort Order</label> <select name="orderlist" id="orderlist" class="form-control"> <option value="" selected>-Select Order-</option> <?php $__currentLoopData = $OrderList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->field); ?>" <?php echo e($orderlist == $b->field ? 'selected' : ''); ?>> <?php echo e($b->fieldDescription); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <br> <div class="row"> <div class="col-md-8"></div> <div class="col-md-4"> <button type="submit" class="btn btn-success " onclick="return checkForm();" name="search"> <i class="fa fa-btn fa-search-plus"></i> search </button> <?php if(!empty($QueryStaffReport)): ?> <?php if(count($QueryStaffReport) == 0 || count($QueryStaffReport) < 1): ?> <a type="button" class="btn btn-danger disable"> Result <span class="badge badge-light"><?php echo e(count($QueryStaffReport)); ?></span> </a> <?php else: ?> <a type="button" class="btn btn- disabled"> <span style="font-weight: 700; color:#00A65A; font-size: 18px" class="text-success">Result</span> <span class="badge badge-light"><?php echo e(count($QueryStaffReport)); ?></span> </a> <?php endif; ?> <span onclick="return myFunc()" class="btn btn-primary" name="add"> <i class="fa fa-print"></i> Print </span> <?php endif; ?> </div> </div> <div class="row"> </div> <input id="delcode" type="hidden" name="delcode"> <input id="fieldstoview" type="hidden" name="delcode" value="<?php echo e(json_encode($fieldstoview)); ?>"> <div class="table-responsive" style="font-size: 12px; padding:10px;"> <table class="table table-bordered table-striped table-highlight" id="tablr"> <thead> <tr bgcolor="#c7c7c7"> <th width="1%">S/N</th> <th >File Number</th> <th>Name in full</th> <th>Date of Birth</th> <th>Gender</th> <th>Marital Status</th> <th>L.G.A</th> <th>State of Origin</th> <th>Date of Appointment</th> <th>Rank</th> <th>Date of Present Appointment</th> <!---<th >Grade</th> <th >Steps</th> <th >Date of present appointment</th>--> <?php if($CourtInfo->divisionstatus == 1): ?> <th>Division</th> <?php endif; ?> <th>Employment type</th> <th>Grade</th> <th>Steps</th> <!--<th>Action</th>--> </tr> </thead> <?php $serialNum = 1; ?> <?php $__currentLoopData = $QueryStaffReport; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($serialNum++); ?> </td> <td><?php echo e($b->fileNo); ?></td> <td><?php echo e($b->StaffName); ?></td> <td class="dob"><?php echo e($b->dob); ?></td> <td class="gender"><?php echo e($b->gender); ?></td> <td class="ms"><?php echo e($b->MStatus); ?></td> <td class="lga"><?php echo e($b->LGA); ?></td> <td class="soo"><?php echo e($b->State); ?></td> <td class="doa"><?php echo e($b->appointment_date); ?></td> <td class="rank"><?php echo e($b->designations); ?></td> <td class="dopa"><?php echo e($b->date_present_appointment); ?></td> <?php if($CourtInfo->divisionstatus == 1): ?> <td class="div"><?php echo e($b->divisions); ?></td> <?php endif; ?> <td><?php echo e($b->employmentType); ?></td> <td><?php echo e($b->grade); ?></td> <td><?php echo e($b->step); ?></td> <!--<td><a class="btn btn-danger" data-toggle="modal"--> <!-- data-target="#exampleModalCenter<?php echo e($b->ID); ?>">Delete</a></td>--> </tr> <!--<div class="modal fade" id="exampleModalCenter<?php echo e($b->ID); ?>" tabindex="-1"--> <!-- role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">--> <!-- <div class="modal-dialog modal-dialog-centered" role="form">--> <!-- <div class="modal-content">--> <!-- <div class="modal-header">--> <!-- <h4 class="modal-title" id="exampleModalLongTitle">Delete Staff</h4>--> <!-- <form method="post">--> <!-- <?php echo e(csrf_field()); ?>--> <!-- <input type="text" hidden name="id" id=""--> <!-- value="<?php echo e($b->ID); ?>">--> <!-- <div class="modal-body">--> <!-- <h3> Do you want to delete?--> <!-- <span class="badge badge-pill badge-danger">--> <!-- <?php echo e($b->StaffName); ?>--> <!-- </span>--> <!-- </h3>--> <!-- </div>--> <!-- <div class="modal-footer">--> <!-- <button type="button" class="btn btn-secondary"--> <!-- data-dismiss="modal">Close</button>--> <!-- <button type="submit" name="delete_staff"--> <!-- class="btn btn-danger">Delete</button>--> <!-- </form>--> <!-- </div>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </div> </div> </form> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('styles'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/datepicker.min.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script type="text/javascript"> $(document).ready(function() { $('#fields').multiselect({ nonSelectedText: 'Select fields to view', enableFiltering: true, enableCaseInsensitiveFiltering: true, buttonWidth: '400px', includeSelectAllOption: true, }); }); </script> <script type="text/javascript"> function checkForm() { var fields = document.getElementById('fields').value; var form = document.getElementById('thisform1'); if (fields == '') { alert('Please select fields to view'); return false; } else { form.submit(); } return false; } function ReloadForm() { //alert("ururu") ; document.getElementById('thisform1').submit(); return; } function DeletePromo(id) { var cmt = confirm('You are about to delete a record. Click OK to continue?'); if (cmt == true) { document.getElementById('delcode').value = id; document.getElementById('thisform1').submit(); return; } } $(function() { $("#todate").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); $("#fromdate").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); $("#appointmentDate").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); $("#incrementalDate").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); $("#firstArrivalDate").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd' }); }); </script> <script> function myFunc() { var printme = document.getElementById('tablr'); var wme = window.open("", "", "width=900,height=700"); wme.document.write(printme.outerHTML); wme.document.close(); wme.focus(); wme.print(); wme.close(); } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nicngo5/grp.nicn.gov.ng/resources/views/Report/StaffNominalRoll.blade.php ENDPATH**/ ?>