ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.191.237.135 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'); ?> <?php echo e(strtoupper(' Create A Staff Voucher')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div> <div class="box-body hidden-print"> <div class="row"> <div class="col-sm-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('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; ?> <?php if(session('err')): ?> <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Input Error !</strong> <?php echo e(session('err')); ?> </div> <?php endif; ?> </div> </div><!-- /row --> </div><!-- /div --> <div class="box-body" style="background-color:#FFF; padding: 5px 10px;"> <div align="center"> <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'CREATE STAFF VOUCHER', 'title2'=>date('d-l, F, Y'), 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>1, 'hideLogos'=>1, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <form method="post" action="<?php echo e(route('postStaffVoucherSubAccount')); ?>"> <?php echo e(csrf_field()); ?> <div class="box-body"> <div align="right" class="col-sm-3 pull-right hidden-print" style="float: right; margin-top: -8px;"> <select name="economicCode" required id="economicCode" class="form-control" style="border: none;"> <option value="" selected="selected">...........................</option> <?php $__currentLoopData = $subdescriptions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subCode): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($subCode->economicID); ?>" <?php echo e((old("economicCode") == $subCode->economicID? "selected":"")); ?>> <?php echo e($subCode->economicCode . ' - ' . $subCode->description); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div style="float: right;"><b>ECONOMIC CODE:</b></div> <br /> </div> <div align="center"> <h3><b style="text-decoration: underline;">OVERHEAD JOURNAL</b></h3> </div> <div align="left" class="col-md-2" > <a href="<?php echo e(url('/voucher/check')); ?>" class="btn btn-info btn-sm"><i class="fa fa-arrow-left"></i> Go back to all Vouchers</a> </div> <?php echo $__env->make('nicnModuleViews.layouts.commonFields', ['textTitle'=>'Staff Claim', 'dateCaption'=>'Claim Approval Date'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <table class="table table-striped table-condensed table-bordered "> <thead style="background: #fdfdfd;"> <tr class="input-lg"> <th width="100" rowspan="2" class="text-center">DATE</th> <th width="600" rowspan="2" class="text-center">Voucher Type</th><!--BENEFICIARY--> <th width="200" class="text-center">DR. </th> <th width="200" class="text-center">CR. </th> </tr> <tr class="input-lg"> <th width="140" class="text-center"> ₦ <b>k</b></th> <th width="140" class="text-center"> ₦ <b>k</b> </th> </tr> </thead> <tbody> <tr class="input-lg"> <th><span class="hidden-print"><?php echo e(date('d/m/Y')); ?></span></th> <th> <div class="row"> <div class="col-sm-12"> <select name="voucherType" required id="voucherType" class="form-control hidden-print " style=" width: 100%; float: left;"> <option value="<?php if($trans != ''): ?><?php echo e($trans->typevoucher); ?> <?php endif; ?>" selected="selected"><?php if($trans != ''): ?><?php echo e($trans->typevoucher); ?> <?php endif; ?></option> <option value="">Select</option> <?php $__empty_1 = true; $__currentLoopData = $getVoucherType; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <option value="<?php echo e($vType->vouchertypeID); ?>" <?php echo e((old("voucherType") == $vType->vouchertypeID ? "selected":"")); ?>><?php echo e($vType->voucher_type_name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <?php endif; ?> <!--<option value="Non-Personal Advance" <?php echo e((old("voucherType") == "Non-Personal Advance" ? "selected":"")); ?>>Non-Personal Advance</option> <option value="Re-funds Balance" <?php echo e((old("voucherType") == "Re-funds Balance" ? "selected":"")); ?>>Re-funds Balance</option> <option value="Unspent Balance" <?php echo e((old("voucherType") == "Unspent Balance" ? "selected":"")); ?>>Unspent Balance</option> <option value="Duty Tour Allowance" <?php echo e((old("voucherType") == "Duty Tour Allowance" ? "selected":"")); ?>>Duty Tour Allowance</option> <option value="Payment of Revenue" <?php echo e((old("voucherType") == "Payment of Revenue" ? "selected":"")); ?>>Payment of Revenue</option> --> </select> </div> </div> </th> <th width="100"> <span class="hidden-print"> <input type="text" name="amount" id="amount" class="form-control" placeholder=" Amount" value="<?php echo e(old('amount')); ?>"> <span id="errmsg" class="text-danger"></span> </span> </th> <th></th> </tr> <tr class="input-lg"> <th></th> <th></th> <th></th> <th></th> </tr> <tr class="input-lg"> <th class="text-center"><span class="hidden-print">✔</span></th> <th><span class="hidden-print">Overhead < Cash Book > </span></th> <th></th> <th><div align="center" class="hidden-print" id="totalAmount" style="border-top: 2px solid #000;"></div></th> </tr> </tbody> </table> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-condensed"> <thead style="background: #fff;"> <!--<tr> <td colspan="4"> <div align="center"> <button type="button" data-toggle="modal" data-target="#selectStaff" class="btn btn-primary"><i class="fa fa-users"> Click here to add staff</i></button> </div> </td> </tr>--> <tr> <td valign="top" width="100"><h4>Payee:</h4></td> <td> <div class="row"> <div class="col-sm-12"> <input type="text" required placeholder="Name of Payee" name="payee" class="form-control" value="<?php echo e(old('payee')); ?>"> </div> </div> </td> <td valign="top" width="100"><h4>Address:</h4></td> <td> <div class="row"> <div class="col-sm-12"> <input type="text" required placeholder="Payee's Address" name="address" class="form-control" value="National Industrial Court of Nigeria"> </div> </div> </td> </tr> <tr class="input-lg"> <td valign="top" width="100"><h4>Narration:</h4></td> <td colspan="3"> <textarea required placeholder="Payment description" name="narration" id="narration" class="form-control hidden-print" style="border:1px thin #f9f9f9; height: 100px; text-align:left; font-size: 100;"><?php echo e(old('narration')); ?></textarea> <input type="hidden" name="checkNarration" id="checkNarration" value="<?php echo e(old('checkNarration')); ?>"> </td> </tr> <tr> <td valign="top" width="100"><h4>File No. / Refers:</h4></td> <td> <span class="hidden-print"> <input type="text" required placeholder="Double Click To select" value="<?php echo e(old('fileRefer')); ?>" name="fileRefer" list="fileRefer" class="form-control hidden-print" /> <datalist id="fileRefer"> <option value="" selected="selected">Select Refer No.</option> <?php $__currentLoopData = $fileRefer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $referNo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($referNo->filerefer); ?>"><?php echo e($referNo->officegroup.' - '.$referNo->office.' - '.$referNo->filerefer); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </datalist> </span> </td> <td valign="center" width="50"><h4>Date: </h4></td> <td><input type="text" required name="todayDate" value="<?php echo e(old('todayDate')); ?>" id="todayDate" class="form-control col-lg-4" onKeyDown="return false;" placeholder="Select Date"></td> </tr> </tr> </thead> </table> <div align="center" class="hidden-print"> <button type="submit" class="btn btn-success"> Save Journal & Generate Voucher <i class="fa fa-book"></i> </button> </div> <input type="hidden" name="trackSection" value="SubAccount"> </form> </div> </div><!-- /.col --> </div><!-- /.row --> <br /> <!-- Modal Dialog for select Staff/Beneficiary--> <!--ADD SELECTED STAFF FORM--> <form id="saveSelectForm" method="post" action="<?php echo e(url('/sub-account/process-selected-staff')); ?>"> <?php echo e(csrf_field()); ?> <div class="modal fade" id="selectStaff" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header" style="background: black; color: white; border: 1px solid white;"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button> <h4 class="modal-title">SELECT STAFF/BENEFICIARY</h4> </div> <!--change division here--> <div align="center" style="width: 99%;"> <div class="row" style="width: 90%; margin:0 10px;"> <div class="col-sm-5" align="left"> <div class="alert alert-success" style="height: 35px; margin-bottom: 5px; padding: 5px;"> <?php echo e(Session::get('currentDivisionName')); ?> - Total Staff: <?php echo e(count($getAllStaff)); ?></div> </div> <div class="col-sm-7" align="right"> <select name="filterDivision" id="filterDivision" class="form-control hidden-print"> <option value="" selected="selected">Change Division</option> <option value="" selected="selected">No Division</option> <option value="All">All Divisions</option> <option value="CONSOLIDATED">JUDGES ONLY</option> <?php $__currentLoopData = $getDivision; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $getDiv): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($getDiv->divisionID); ?>"><?php echo e($getDiv->division); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="row" style="width: 90%;"> <div class="col-md-11"> <input type="text" id="txtSearch" onkeyup="myFunction()" placeholder="Search with any column (N.B: Search by File No. should only be number)" title="Type in a name" class="form-control"> </div> <div class="col-md-1" align="left"> <div align="center" id="imgSearch"> <i class="fa fa-close btn btn-danger btn-xs text-danger" title="Cancel Search"> <br /><small><small>Cancel</small></small> </i> </div> </div> </div> <div class="modal-body col-sm-12" style="padding: 10px;"> <div style="overflow-y: auto; height: 450px;"> <table id="tblSearch" class="table table-striped table-condensed table-bordered input-sm"> <thead> <tr class="input-sm"> <th class="hidden-print"> <input type="checkbox" tabindex="1" name="globalCheckbox" id="globalCheckbox"> </th> <th>S/N</th> <th>FILE NO</th> <th width="250" class="">FULL NAME</th> <th>RANK</th> <th>LEVEL</th> <th>DIVISION</th> <!--<th>Amount</th> --> </tr> </thead> <tbody> <?php $key = 1; ?> <?php $__currentLoopData = $getAllStaff; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="hidden-print"> <input type="checkbox" class="checkBox" tabindex="1" name="staffSelectedChecked[<?php echo e($list->fileNo); ?>]" id="<?php echo e($list->fileNo); ?>" value="<?php echo e($list->fileNo); ?>"> </td> <td><?php echo e($key ++); ?></td> <td><?php echo e($list->fileNo); ?></td> <td><?php echo e(($list->surname .' '. $list->first_name .' '. $list->othernames)); ?></td> <td><?php echo e($list->section); ?></td> <td><?php echo e('GL'.$list->grade .'|'.'S'.$list->step); ?></td> <td><?php echo e(strtoupper($list->division)); ?></td> <!--<td> <input type="text" name="staffAmount[]" style="width: 80px" placeholder="No comma"> </td> --> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="modal-footer"> <button type="button" name="saveSelectFormButton" id="saveSelectFormButton" class="btn btn-info" data-dismiss="modal"> <i class="fa fa-save"></i> Add </button> <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> </div> </div> </div> </div> <input type="hidden" name="economicCode" id="economicCode2"> <input type="hidden" name="typeOfVoucher" id="typeOfVoucher"> </form> <!-- //Modal Dialog --> </div> <!--CHANGE DIVISION--> <form id="changeDivision" method="post" action="<?php echo e(url('/sub-account/voucher/change-division')); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="divisionName" id="divisionName"> <!--fileNo--> </form> <?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 $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/js/jquery.autocomplete.min.js')); ?>" ></script> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script type="text/javascript"> //Judges OnType Events $(document).ready(function () { $('#amountForJudges').on('keyup', function() { $('#judgesTotalSumation').val(0); $('#amountForEachJudges').val(0); var totalJudges = $('#totalJudges').val(); var amountEntered = $('#amountForJudges').val(); $('#amountForEachJudges').val(amountEntered); //Reset if(amountEntered == "") { $('#judgesTotalSumation').val(0); } //Check for real value if((totalJudges >= 0) && (amountEntered >= 0)) { totalSumation = parseFloat(totalJudges * amountEntered).toFixed(2); } //Confirm computation and print result if (totalSumation > 0) { // result $('#judgesTotalSumation').val(totalSumation); //$('#amountForEachJudges').val(totalSumation); }else{ $('#judgesTotalSumation').val(0); //$('#amountForEachJudges').val(0); } }); }); //end Judges OnType Events //SELECT/DESELECT ALL CHECKBOX $(document).ready(function () { $('#globalCheckbox').click(function(){ if($(this).prop("checked")) { $(".checkBox").prop("checked", true); } else { $(".checkBox").prop("checked", false); } }); }); //REMOVE AND ADD FILED $(document).ready(function() { $(".add-more").click(function(){ var html = $(".copy").html(); $(".after-add-more").after(html); }); $("body").on("click",".remove",function(){ $(this).parents(".control-group").remove(); }); }); ///////DATE/////////// $( function(){ $("#todayDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); $("#awardDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); }); ////////DATE/////// //get economicCode2 from select $('#economicCode').change( function() { $('#economicCode2').val($('#economicCode').val()); }); //submit change division form $('#filterDivision').change( function() { $('#divisionName').val($('#filterDivision').val()); $('#changeDivision').submit(); }); //submit selected staff form $('#saveSelectFormButton').click( function() { $('#saveSelectForm').submit(); }); $('#amount').on("input keyup blur", function (event) //"input", function() { // prevent special characters and letter $(this).val($(this).val().replace(/[^0-9\.]/g,'')); if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) { //$("#errmsg").html("Digits Only").show().fadeOut("slow"); event.preventDefault(); } var amount = this.value; if(amount == "" || amount < 1) { $('#amount').val(''); $('#amount').focus(); $('#totalAmount').html(''); return false; } $('#totalAmount').html(parseFloat(amount).toFixed(2) ).css("font-weight","bold"); }); $(document).ready(function () { $('#amount').click(function(){ var amount = this.value; $('#totalAmount').html(parseFloat(amount).toFixed(2) ).css("font-weight","bold"); }); }); $('#voucherType').change( function() { var voucherType = this.value; $('#typeOfVoucher').val(voucherType); var checkNarration = $('#checkNarration').val(); var purpose = ""; var currentYear = (new Date).getFullYear(); var currentMonth; var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; var d = new Date(); currentMonth = monthNames[d.getMonth()]; if(voucherType =="1") { purpose = "Being payment of Non-Personal Advance to the above named officer for "+ currentYear + " office up-keep. See approval attached minute for details"; } else if(voucherType =="2") { purpose = "Being payment of unspent balance of "+ currentYear +" Consolidated Account for Closure of year " + currentYear +" Consolidated Account to the above named office. See approval minute for details."; } else if(voucherType =="3") { purpose = "Being payment of unspent balance of " + currentYear + " Consolidated Account for Closure of year " + currentYear +" Consolidated Account to the above named office. See approval minute for details."; } else if(voucherType =="4") { purpose = "Being payment of Duty Tour Allowance and local running to the above named officer"; } else if(voucherType =="5") { purpose = "Being payment of Revenue collected from Contractor Registration Fees for the Month of " + currentMonth + ', ' + currentYear + " See approval minute for details."; }else{ purpose = ""; } if(checkNarration == ''){ $('#narration').val(purpose); } }); </script> <script language="javascript" type="text/javascript"> ///search table user's table jQuery.expr[":"].containsNoCase = function(el, i, m) { var search = m[3]; if (!search) return false; return eval("/" + search + "/i").test($(el).text()); }; jQuery(document).ready(function() { // used for the first example in the blog post jQuery('li:contains(\'DotNetNuke\')').css('color', '#0000ff').css('font-weight', 'bold'); // hide the cancel search image jQuery('#imgSearch').hide(); // reset the search when the cancel image is clicked jQuery('#imgSearch').click(function() { resetSearch(); }); // cancel the search if the user presses the ESC key jQuery('#txtSearch').keyup(function(event) { if (event.keyCode == 27) { resetSearch(); } }); // execute the search jQuery('#txtSearch').keyup(function() { // only search when there are 3 or more characters in the textbox if (jQuery('#txtSearch').val().length > 2) { // hide all rows jQuery('#tblSearch tr').hide(); // show the header row jQuery('#tblSearch tr:first').show(); // show the matching rows (using the containsNoCase from Rick Strahl) jQuery('#tblSearch tr td:containsNoCase(\'' + jQuery('#txtSearch').val() + '\')').parent().show(); // show the cancel search image jQuery('#imgSearch').show(); } else if (jQuery('#txtSearch').val().length == 0) { // if the user removed all of the text, reset the search resetSearch(); } // if there were no matching rows, tell the user if (jQuery('#tblSearch tr:visible').length == 1) { // remove the norecords row if it already exists jQuery('.norecords').remove(); // add the norecords row jQuery('#tblSearch').append('<tr class="norecords"><td colspan="5" class="Normal">No records were found</td></tr>'); } }); }); function resetSearch() { // clear the textbox jQuery('#txtSearch').val(''); // show all table rows jQuery('#tblSearch tr').show(); // remove any no records rows jQuery('.norecords').remove(); // remove the cancel search image jQuery('#imgSearch').hide(); // make sure we re-focus on the textbox for usability jQuery('#txtSearch').focus(); } ///end table search </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/nicnModuleViews/subAccount/staffVoucher.blade.php ENDPATH**/ ?>