ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.224.62.233 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/fundscopied/resources/views/cpo/ |
Upload File : |
@extends('layouts.layout') @section('pageTitle') Generated Payment @endsection @section('content') <div class="modal">I'm the Modal Window!</div> <div class="box-body"> <div class="box-body hidden-print"> <div class="row"> <div class="col-sm-12"> @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> <br /> @foreach ($errors->all() as $error) <p>{{ $error }}</p> @endforeach </div> @endif @if(session('msg')) <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Success!</strong> <br /> {{ session('msg') }} </div> @endif @if(session('err')) <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Operation Error !</strong> <br /> {{ session('err') }} </div> @endif </div> </div><!-- /row --> </div><!-- /div --> <div class="box-body"> <div class="col-sm-12"> @include('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'Generated Payment', 'title2'=>'', 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>0, 'hideLogos'=>0, 'hideAddress'=>0]) <br /> <!--search all vouchers--> <div class="row hidden-print"> <div class="col-sm-6"> </div> <div class="col-sm-6"> </div> </div> <!--Search all vouchers--> <!-- 1st column --> <br /> <div> <form action="{{url('/cpo/confirm')}}" method="post"> {{ csrf_field() }} <table id="myTable" class="table table-bordered" cellpadding="10"> <thead> <tr> <th>S/N</th> <th>Beneficiary</th> <th class="text-center">Amount ( ₦)</th> <th>Account No</th> <th>Bank</th> <th colspan="3"> Check For Payment</th> </tr> </thead> <tbody> @php $key = 1; @endphp @foreach($audited as $list) @php $v = DB::table('tblVATWHTPayee') ->join('tblbanklist','tblbanklist.bankID','=','tblVATWHTPayee.bankid') ->where('ID','=',$list->VATPayeeID)->first(); $w = DB::table('tblVATWHTPayee') ->join('tblbanklist','tblbanklist.bankID','=','tblVATWHTPayee.bankid') ->where('ID','=',$list->WHTPayeeID)->first(); //$v = DB::table('tblbanklist')->where('bankID','=',$list->VATPayeeID)->first(); @endphp <tr> <input type="hidden" name="id[]" value="{{$list->transID}}"/> <input type="hidden" name="contractor[]" value="{{$list->contractor}}"/> <input type="hidden" name="amount[]" value="{{$list->amtPayable}}"/> <input type="hidden" name="accountNo[]" value="{{$list->AccountNo}}"/> <input type="hidden" name="bank[]" value="{{$list->bank}}"/> <input type="hidden" name="bankBranch[]" value="{{$list->bank_branch}}"/> <input type="hidden" name="vatAmount[]" value="{{$list->VATValue}}"/> <input type="hidden" name="whtAmount[]" value="{{$list->WHTValue}}"/> <input type="hidden" name="purpose[]" value="{{$list->paymentDescription}}"/> @if(count($v) !=0) <input type="hidden" name="vatPayee[]" value="@if($v->payee != ''){{$v->payee}} @endif"/> <input type="hidden" name="vatBranch[]" value="{{$v->bank_branch}}"/> <input type="hidden" name="vatBank[]" value="{{$v->bank}}"/> <input type="hidden" name="vatAccount[]" value="{{$v->accountno}}"/> <input type="hidden" name="vatSortCode[]" value="{{$v->sort_code}}"/> @else <input type="hidden" name="vatPayee[]" value=""/> <input type="hidden" name="vatBranch[]" value=""/> <input type="hidden" name="vatBank[]" value=""/> <input type="hidden" name="vatAccount[]" value=""/> <input type="hidden" name="vatSortCode[]" value=""/> @endif @if(count($w) !=0) <input type="hidden" name="whtPayee[]" value="{{$w->payee}} "/> <input type="hidden" name="whtBranch[]" value="{{$w->bank_branch}}"/> <input type="hidden" name="whtBank[]" value="{{$w->bank}}"/> <input type="hidden" name="whtAccount[]" value="{{$w->accountno}}"/> <input type="hidden" name="whtSortCode[]" value="{{$w->sort_code}}"/> @else <input type="hidden" name="whtPayee[]" value=""/> <input type="hidden" name="whtBranch[]" value=""/> <input type="hidden" name="whtBank[]" value=""/> <input type="hidden" name="whtAccount[]" value=""/> <input type="hidden" name="whtSortCode[]" value=""/> @endif <td>{{$key++}}</td> <td>{{$list->contractor}}</td> <td class="text-center">{{number_format($list->amtPayable,2)}}</td> <td>{{$list->AccountNo}}</td> <td>{{$list->bank}}</td> <td> <input type="checkbox" name="checkname[]" checked="checked" value="{{$list->transID}}"> </td> </tr> @endforeach </tbody> </table> <input type="submit" name="submit" value="Confirm" class="btn btn-success pull-right hidden-print"> </form> </div> <br /> <!-- /.col --> </div> <!-- /.row --> </div> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Confirmation</h4> </div> <div class="modal-body"> <div id="desc"></div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!--///// end modal --> @endsection @section('styles') <link rel="stylesheet" type="text/css" href="{{asset('assets/css/datepicker.min.css')}}"> <link rel="stylesheet" type="text/css" href="{{asset('assets/css/custom-style.css')}}"> <style type="text/css"> .status { font-size: 15px; padding: 0px; height: 100%; } .textbox { border: 1px; background-color: #66FFBA; outline:0; height:25px; width: 275px; } .autocomplete-suggestions{ color:#66FFBA; height:125px; } .table,tr,td{ border: #9f9f9f solid 1px !important; font-size: 12px !important; } .table thead tr th { font-weight: 700; font-size: 17px; border: #9f9f9f solid 1px } </style> @endsection