ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.119.248.100 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'); ?> Pay Slip <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <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> <form method="post" action="<?php echo e(url('/salary')); ?>"> <?php echo e(csrf_field()); ?> <div class="col-md-12"><!--2nd col--> <h4 class="" style="text-transform:uppercase">Salary</h4> <div class="row"> </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(($activeMonth !== '') && $activeMonth->year == $i): ?> selected <?php elseif($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(($activeMonth !== '') && $activeMonth->month == 'JANUARY'): ?> selected <?php elseif($month == 'JANUARY'): ?> selected <?php endif; ?>>January</option> <option value="FEBRUARY" <?php if(($activeMonth !== '') && $activeMonth->month == 'FEBRUARY'): ?> selected <?php elseif($month == 'FEBRUARY'): ?> selected <?php endif; ?>>February</option> <option value="MARCH" <?php if(($activeMonth !== '') && $activeMonth->month == 'MARCH'): ?> selected <?php elseif($month == 'MARCH'): ?> selected <?php endif; ?>>March</option> <option value="APRIL" <?php if(($activeMonth !== '') && $activeMonth->month == 'APRIL'): ?> selected <?php elseif($month == 'APRIL'): ?> selected <?php endif; ?>>April</option> <option value="MAY" <?php if(($activeMonth !== '') && $activeMonth->month == 'MAY'): ?> selected <?php elseif($month == 'MAY'): ?> selected <?php endif; ?>>May</option> <option value="JUNE" <?php if(($activeMonth !== '') && $activeMonth->month == 'JUNE'): ?> selected <?php elseif($month == 'JUNE'): ?> selected <?php endif; ?>>June</option> <option value="JULY" <?php if(($activeMonth !== '') && $activeMonth->month == 'JULY'): ?> selected <?php elseif($month == 'JULY'): ?> selected <?php endif; ?>>July</option> <option value="AUGUST" <?php if(($activeMonth !== '') && $activeMonth->month == 'AUGUST'): ?> selected <?php elseif($month == 'AUGUST'): ?> selected <?php endif; ?>>August</option> <option value="SEPTEMBER" <?php if(($activeMonth !== '') && $activeMonth->month == 'SEPTEMBER'): ?> selected <?php elseif($month == 'SEPTEMBER'): ?> selected <?php endif; ?>>September</option> <option value="OCTOBER" <?php if(($activeMonth !== '') && $activeMonth->month == 'OCTOBER'): ?> selected <?php elseif($month == 'OCTOBER'): ?> selected <?php endif; ?>>October</option> <option value="NOVEMBER" <?php if(($activeMonth !== '') && $activeMonth->month == 'NOVEMBER'): ?> selected <?php elseif($month == 'NOVEMBER'): ?> selected <?php endif; ?>>November</option> <option value="DECEMBER" <?php if(($activeMonth !== '') && $activeMonth->month == 'DECEMBER'): ?> selected <?php elseif($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> </form> </div> </div> <br><br> <div class="table-responsive" style="font-size: 12px; padding:10px;"> <table class="table table-bordered table-striped table-highlight" > <thead> <tr bgcolor="#c7c7c7"> <th width="1%">S/N</th> <th >Division</th> <th >Stage</th> <th>Actions</th> <th>Decision</th> </tr> </thead> <?php $serialNum = 1; ?> <?php $__currentLoopData = $salary; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="<?php echo e($b->is_rejected == 1 ? 'alert alert-danger' : ''); ?>"> <td><?php echo e($serialNum ++); ?> </td> <td><?php echo e($b->division); ?></td> <td><?php echo e($b->description); ?></td> <td> <a href="javascript: ViewPayroll('<?php echo e($b->divisionID); ?>','<?php echo e($b->year); ?>','<?php echo e($b->month); ?>')"> View </a> </td> <td> <?php if($b->vstage == 6): ?> <?php echo e("Approved"); ?> <?php else: ?> <?php echo e("Awaiting approval"); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </div> </div><!-- /.col --> </div><!-- /.row --> <div class="box-body"> <div class="row"> <div class="col-md-12"> </br> </div> <form method="post" action="<?php echo e(url('con-payrollReport/create')); ?>" id ="id-payroll" target="_blank"> <?php echo e(csrf_field()); ?> <input type="hidden" id="id-court" name="court" value="9"> <input type="hidden" id="id-division" name="division" value="<?php echo e(Auth::user()->divisionID); ?>"> <input type="hidden" name="year" id="id-year" > <input type="hidden" name="month" id="id-month" > </form> <?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); } }); });}); const Reload = (form)=>document.forms[form].submit(); const ViewPayroll=(division,year,month)=>{ document.getElementById('id-division').value = division; document.getElementById('id-year').value = year; document.getElementById('id-month').value = month; Reload('id-payroll'); } </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/conpayroll/consalary/salary.blade.php ENDPATH**/ ?>