ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.16.217.255 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'); ?> Deductions <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="box box-default"> <div id="editModal" class="modal fade"> <div class="modal-dialog box box-default" role="document"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Edit Particular</h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> </div> </div> </div> <div class="box-body box-profile"> <div class="box-header with-border hidden-print"> <h3 class="box-title"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3> </div> <div class="box-body"> <div class="row"> <div class="col-md-12"> <!--1st col--> <?php echo $__env->make('Share.message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="table-responsive col-md-12" style="font-size: 12px; padding:10px;"> <table id="mytable" class="table table-bordered table-striped table-highlight"> <thead> <tr bgcolor="#c7c7c7"> <th>S/N</th> <th>Deduction</th> <th> <br> Is payable <input type="checkbox" class="selectall"> </th> </tr> </thead> <?php $__currentLoopData = $deductions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$deduction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e(($deductions->currentpage()-1) * $deductions->perpage() + (1+$key ++)); ?></td> <td><?php echo e($deduction->description); ?></td> <td> <form action="<?php echo e(route("controldectuction.updateDeduction")); ?>" method="post"> <?php echo e(csrf_field()); ?> <input name="description" type="hidden" value="<?php echo e($deduction->description); ?>"> <div> <?php if($deduction->isPayable): ?> <input name="isPayableValue[]" type="hidden" id="isPayableValueSet<?php echo e($deduction->ID); ?>" value="<?php echo e($deduction->isPayable); ?>" /> <input type="checkbox" id="Set<?php echo e($deduction->ID); ?>" class="setValue" name="payableStatus[]" checked/> <?php else: ?> <input name="isPayableValue[]" type="hidden" id="isPayableValueSet<?php echo e($deduction->ID); ?>" value="<?php echo e($deduction->isPayable); ?>" /> <input type="checkbox" id="Set<?php echo e($deduction->ID); ?>" class="setValue" name="payableStatus[]" /> <?php endif; ?> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> <div> <button class="btn btn-success" type="submit">Update</button> </div> </form> </div> <hr /> <div class="row"> <div align="right" class="col-xs-12 col-sm-12"> Showing <?php echo e(($deductions->currentpage()-1)*$deductions->perpage()+1); ?> to <?php echo e($deductions->currentpage()*$deductions->perpage()); ?> of <?php echo e($deductions->total()); ?> entries <br /> <div class="hidden-print"><?php echo e($deductions->links()); ?></div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('styles'); ?> <style type="text/css"> .modal-dialog { width: 13cm } .modal-header { background-color: #006600; color: #FFF; } #partStatus { width: 2.5cm } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js"></script> <script> $('.setValue').click(function() { id = this.id; if ($('#' + id).is(":checked") == true) { $('#isPayableValue' + id).val('1'); } else { $('#isPayableValue' + id).val('0'); } }); </script> <script> $('.selectall').click(function() { if ($(this).is(':checked')) { $('div input').attr('checked', true); } else { $('div input').attr('checked', false); } }); </script> <script> function editfunc(id, desc, status, rank) { document.getElementById('partid').value = id document.getElementById('e-desc').value = desc // document.getElementById('e-bank').value = bank // document.getElementById('e-aname').value = accname // document.getElementById('e-anumber').value = accnum document.getElementById('e-status').value = status document.getElementById('e-rank').value = rank $("#editModal").modal('show'); } function deletefunc(id, desc, status, rank) { // document.getElementById('id').value = id // document.getElementById('desc').value = desc // document.getElementById('status').value = status // document.getElementById('e-rank').value = rank $("#deleteModal").modal('show'); } function TextBoxState() { var p = document.getElementById("particulars").value; if (p == "2") { document.getElementById('accounthead').setAttribute('disabled', 'disabled'); document.getElementById('allocationtype').setAttribute('disabled', 'disabled'); document.getElementById('economiccode').setAttribute('disabled', 'disabled'); } if (p == "1") { document.getElementById('accounthead').removeAttribute('disabled'); document.getElementById('allocationtype').removeAttribute('disabled'); document.getElementById('economiccode').removeAttribute('disabled'); } return; } function Reload() { document.forms["mainform"].submit(); return; } </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/controlVariable/deduction.blade.php ENDPATH**/ ?>