ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.12.161.111 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 : |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <?php $__env->startSection('pageTitle'); ?> Pay Slip <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <form method="post" action="<?php echo e(url('/payslip/create')); ?>" target="_blank"> <div class="box-body" style="background:#FFF;"> <div class="row"> <div class="col-md-12"><!--1st col--> <?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; ?> </div> <?php echo e(csrf_field()); ?> <div class="col-md-12"><!--2nd col--> <h4 class="" style="text-transform:uppercase">Payslip</h4> <div class="row"> <?php if($CourtInfo->courtstatus==1): ?> <div class="col-md-6"> <div class="form-group"> <label for="division">Select 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-6"> <div class="form-group"> <label>Select Division</label> <select name="division" id="division_id" class="form-control" style="font-size: 13px;"> <option value="">Select Division</option> <?php $__currentLoopData = $courtDivisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $divisions): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($divisions->divisionID); ?>" <?php if(old('division') == $divisions->divisionID): ?> <?php endif; ?>><?php echo e($divisions->division); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </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-6"> <div class="form-group"> <label for="division">Select Staff Name</label> <input type="text" id="user" autocomplete="off" name='staffId' list="enrolledUsers" class="form-control" onchange="StaffSearchReload()"> <datalist id="enrolledUsers" name="staff"> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->ID); ?>"> <?php echo e($b->fileNo); ?>:<?php echo e($b->surname); ?> <?php echo e($b->first_name); ?> <?php echo e($b->othernames); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </datalist> </div> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <input type="hidden" id="id<?php echo e($b->ID); ?>" value="<?php echo e($b->fileNo); ?>:<?php echo e($b->surname); ?> <?php echo e($b->first_name); ?> <?php echo e($b->othernames); ?>"> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="col-md-6"> <div class="form-group"> <label for="userName">Staff Name</label> <input type="hidden" id="fileNo" name="fileNo" > <input type="text" id="staffname" class="form-control" readonly/> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label >Select a Year</label> <select name="year" id="section" class="form-control input-sm"> <option value="">Select Year</option> <?php for($i=2010;$i<=2040;$i++): ?> <option value="<?php echo e($i); ?>" <?php if(old('year') == $i): ?> selected <?php endif; ?>><?php echo e($i); ?></option> <?php endfor; ?> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label> Select a month </label> <select name="month" id="section" class="form-control input-sm"> <option value="">Select Month </option> <option value="JANUARY" <?php if(old('month') == 'JANUARY'): ?> selected <?php endif; ?>>January</option> <option value="FEBRUARY" <?php if(old('month') == 'FEBRUARY'): ?> selected <?php endif; ?>>February</option> <option value="MARCH" <?php if(old('month') == 'MARCH'): ?> selected <?php endif; ?>>March</option> <option value="APRIL" <?php if(old('month') == 'APRIL'): ?> selected <?php endif; ?>>April</option> <option value="MAY" <?php if(old('month') == 'MAY'): ?> selected <?php endif; ?>>May</option> <option value="JUNE" <?php if(old('month') == 'JUNE'): ?> selected <?php endif; ?>>June</option> <option value="JULY" <?php if(old('month') == 'JULY'): ?> selected <?php endif; ?>>July</option> <option value="AUGUST" <?php if(old('month') == 'AUGUST'): ?> selected <?php endif; ?>>August</option> <option value="SEPTEMBER" <?php if(old('month') == 'SEPTEMBER'): ?> selected <?php endif; ?>>September</option> <option value="OCTOBER" <?php if(old('month') == 'OCTOBER'): ?> selected <?php endif; ?>>October</option> <option value="NOVEMBER" <?php if(old('month') == 'NOVEMBER'): ?> selected <?php endif; ?>>November</option> <option value="DECEMBER" <?php if(old('month') == 'DECEMBER'): ?> selected <?php endif; ?>>December</option> </select> </div> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="sortcode"></label> <div align="right"> <button class="btn btn-success pull-right" type="submit"> Display</button> </div> </div> </div> </div> </div> </div><!-- /.col --> </div><!-- /.row --> </form> <div class="box-body"> <div class="row"> <div class="col-md-12"> </br> </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 () { $('#user').change( function(){ var myuser = $('#user').val(); document.getElementById('staffname').value=document.getElementById('id'+myuser).value; $('#fileNo').val(myuser); });}) (); </script> <script type="text/javascript"> $(document).ready(function(){ $("#court").on('change',function(e){ e.preventDefault(); var id = $(this).val(); //alert(id); $token = $("input[name='_token']").val(); $.ajax({ headers: {'X-CSRF-TOKEN': $token}, url: murl +'/session/court', type: "post", data: {'courtID':id}, success: function(data){ location.reload(true); //console.log(data); } }); }); }); $(document).ready(function(){ $('#division').change( function(){ //alert('ok') var d = 'division'; $.ajax({ url: murl +'/division/session', type: "post", data: {'division': $('#division').val(),'val':d, '_token': $('input[name=_token]').val()}, success: function(data){ console.log(data); location.reload(true); } }); }); }); $(document).ready(function(){ $('#staffName').change( function(){ //alert('ok') var s = 'staff'; $.ajax({ url: murl +'/division/session', type: "post", data: {'staff': $('#staffName').val(),'val':s, '_token': $('input[name=_token]').val()}, success: function(data){ console.log(data); location.reload(true); } }); });}); </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/payslip/index.blade.php ENDPATH**/ ?>