ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 13.58.2.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/funds.upgrade.nicn.gov.ng/funds-upgraded/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('pageTitle'); ?> <?php $__env->stopSection(); ?> <style type="text/css"> .table, .table tr td, .table thead 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">×</span> </button> <strong>Error!</strong> <?php echo e(session('err')); ?> </div> <?php endif; ?> </div> <div class="box-body"> <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'PURCHASE DAYBOOK', 'title2'=>date('d-l, F, Y'), 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>1, 'hideLogos'=>0, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="row" style="margin-top:5px; padding-top: 15px; padding-left: 30px; padding-right: 30px;"> <div class="col-md-12" style="padding-top: 0px; margin-top: 5px; "> <!-- date picker --> <form action="<?php echo e(url('/daybook/view-book')); ?>" method="post"> <?php echo e(csrf_field()); ?> <div class="row hidden-print"> <div class="col-md-5"> <div class="form-group"> <label for="date">Start Date</label> <input type="text" name="getFrom" id="getFrom" class="form-control input-lg" value="<?php echo e(Session::get('retain_from')); ?>" placeholder="from date" required> </div> </div> <div class="col-md-5"> <div class="form-group"> <label for="date">End Date</label> <input type="text" name="getTo" id="getTo" class="form-control input-lg" value="<?php echo e(Session::get('retain_to')); ?>" placeholder="to date" required> </div> </div> <div class="col-sm-2"> <div class="form-group"> <label > </label> <div> <button type="submit" class="btn btn-success input-lg" style="border: #333; border-radius: 0; outline: none !important; margin-left: -25px; padding: 8px;"><i class="fa fa-search"></i> Display</button> </div> </div> </div> </div><!-- End Row --> </form> <!-- end date picker --> <table class="table" style="font-size: 16px;"> <thead> <th>S/N</th> <th>DATE</th> <th>NAME OF PAYEE</th> <th>PDB</th> <th>TOTAL PURCHASE</th> <th>SUPPLIER</th> <th>VAT</th> <th>WHT</th> <th>ECONOMIC CODE</th> </thead> <tbody> <?php $serial = 1; $totalPurchase = 0.0; $totalSupplier = 0.0; $totalVat = 0.0; $totalWht = 0.0; ?> <?php $__currentLoopData = $dayBook; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $totalPurchase += $list->totalPayment; $totalSupplier += $list->amtPayable; $totalVat += $list->VATValue; $totalWht += $list->WHTValue; ?> <tr> <td><?php echo e($serial++); ?></td> <td><?php echo e(date('d-m-Y', strtotime($list->datePrepared))); ?></td> <td><?php echo e($list->contractor); ?></td> <td> <?php echo e((isset($list->voucherCode) ? $list->voucherCode : '')); ?></td> <td class="text-right"> <?php echo e(number_format($list->totalPayment, 2, '.', ',')); ?> </td> <td class="text-right"> <?php echo e(number_format($list->amtPayable , 2, '.', ',')); ?> </td> <td class="text-right"> <?php echo e(number_format($list->VATValue, 2, '.', ',')); ?> </td> <td class="text-right"><?php echo e(number_format($list->WHTValue, 2, '.', ',')); ?></td> <td><?php echo e((isset($list->economicCode) ? $list->economicCode : '')); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td colspan="4" class="text-right"><strong>TOTAL: </strong></td> <td class="text-right"> <?php echo e(number_format($totalPurchase, 2)); ?> </td> <td class="text-right"> <?php echo e(number_format($totalSupplier, 2)); ?> </td> <td class="text-right"> <?php echo e(number_format($totalVat, 2)); ?> </td> <td class="text-right"><?php echo e(number_format($totalWht, 2)); ?></td> <td></td> </tr> </tbody> </table> <div class="hidden-print"></div> </div> </div> <!-- /.col --> </div> <!-- /.row --> </div> <?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); 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%); } </style> <?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/datepicker.min.css')); ?>"> <?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/funds.upgrade.nicn.gov.ng/funds-upgraded/resources/views/ledgerBook/daybook.blade.php ENDPATH**/ ?>