ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.12.41.199 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'); ?> E-payment <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <form method="POST" action="<?php echo e(url('/council-members/create')); ?>" > <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('msg')): ?> <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('msg')); ?> </div> <?php endif; ?> </div> <?php echo e(csrf_field()); ?> <div class="col-md-12"> <h4 class="" style="text-transform:uppercase">Create Council Members</h4> <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($CourtInfo->divisionstatus==1 && 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): ?> 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-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-3"> <div class="form-group"> <label >Title</label> <input type="text" name="title" class="form-control" value="<?php echo e(old('title')); ?>"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label >Surname</label> <input type="text" name="surname" class="form-control" value="<?php echo e(old('surname')); ?>"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label >First Name</label> <input type="text" name="firstName" class="form-control" value="<?php echo e(old('otherNames')); ?>"> </div> </div> <div class="col-md-3"> <div class="form-group"> <label >Other Names</label> <input type="text" name="otherNames" class="form-control" value="<?php echo e(old('othernames')); ?>"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label >P.V.No.</label> <input type="text" name="pvNumber" class="form-control" value="<?php echo e(old('pvNumber')); ?>"> </div> </div> <div class="col-md-4"> <div class="form-group"> <label> Bank </label> <select name="bank" id="section" class="form-control"> <option value="">Select Bank </option> <?php $__currentLoopData = $banks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($list->bankID); ?>" <?php if(old('bank') == $list->bankID): ?> selected <?php endif; ?>><?php echo e($list->bank); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-md-4"> <div class="form-group"> <label >Account Number</label> <input type="text" name="accountNumber" class="form-control"> </div> </div> <div class="col-md-12"> <div class="form-group"> <div > <button type="submit" class="btn btn-success btn-sm pull-right">Create</button> </div> </div> </div> </div><!-- /.row --> <div class="row"> <div class="col-md-12"> <table class="table"> <thead> <tr> <th>SN</th> <th>Title</th> <th>Name</th> <th>Bank</th> <th>Account Number</th> </tr> </thead> <?php $i = 1; ?> <tbody> <?php $__currentLoopData = $cm; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($i++); ?></td> <td><?php echo e($list->council_title); ?></td> <td><?php echo e($list->surname); ?> <?php echo e($list->first_name); ?> <?php echo e($list->othernames); ?></td> <td><?php echo e($list->bank); ?></td> <td><?php echo e($list->AccNo); ?></td> <td><a href="<?php echo e(url('/edit/council-member/'.$list->ID)); ?>" class="btn btn-success"><i class="fa fa-pencil"></i></a></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div><!-- /box body --> </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 /home/nicngo5/grp.nicn.gov.ng/resources/views/councilMembers/addCouncilMember.blade.php ENDPATH**/ ?>