ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.116.69.227 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/nicnModuleViews/epaymentShedule/ |
Upload File : |
@extends('layouts.layout') @section('pageTitle') {{strtoupper("Payment History")}} @endsection @section('content') <form method="post" action="{{ url('/restore/e-payment/archive') }}"> <div class="box-body"> <div class="row"> <div class="col-md-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> @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> {{ 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>No Beneficiary Selected !</strong> {{ session('err') }} </div> @endif </div> {{ csrf_field() }} </div><!-- /.col --> </div><!-- /.row --> <div class="box-body"> <div align="center" class="alert alert-success" style="font-size: 20px;"> <strong>{{strtoupper(' Payment archive')}}</strong> </div> <hr> <input type="text" id="myInput" class="form-control" onkeyup="myFunction()" placeholder="Search by Beneficiary/Name..." title="Type in a Beneficiary or name"> <br /> <div> <table id="myTable" class="table table-hover table-striped table-responsive table-condensed table-bordered input-sm"> <thead> <tr> <th>S/N</th> <th><input type="checkbox" tabindex="1" name="globalCheckbox" id="globalCheckbox"></th> <th>{{strtoupper("Beneficiary's Name")}}</th> <th>{{strtoupper("Bank")}}</th> <th>{{strtoupper("Account No.")}}</th> <th>{{strtoupper('Sort Code')}}</th> <th>{{strtoupper('Voucher TYpe')}}</th> <th>{{strtoupper('Amount')}} ₦</th> <th>{{strtoupper('Description')}}</th> <th>{{strtoupper('Status')}}</th> <th>{{strtoupper('Date')}}</th> </tr> </thead> <tbody> @php $key = 1; @endphp @foreach ($companyList as $bl) @php $getSubHeader = DB::table('tbldescription') ->join('tblgroup','tblgroup.groupID','=','tbldescription.groupID') ->first(); @endphp <tr> <td> {{($companyList->currentpage()-1) * $companyList->perpage() + $key ++}} </td> <td> <input type="checkbox" tabindex="1" name="beneficiary[]" id="{{$bl->transactionID}}" value="{{$bl ->transactionID}}" class="checkBox"> </td> <td> @if($bl->companyname != ''){{$bl->companyname}} @endif @if($bl->companyname == ''){{$bl->payee}} @endif </td> <td>{{$bl->bank}}</td> <td>{{$bl->accountnumber}}</td> <td>{{$bl->sortcode }}</td> <td>{{$getSubHeader->groupname}}</td> <td>{{number_format(($bl->amount), 2, '.', ',')}}</td> <td>{{$bl->description}}</td> <td class="text-success">{{$bl->approval_status}}</td> <td> {{$bl->date}} <span class="hidden-print"> <br /> @if($bl->vat == '' or $bl->wht == '') @if(DB::table('transaction_voucher_staff')->where('transactionID', $bl->transactionID)->first()) <a href="{{url('/staff/report/e-payment/'.$bl->transactionID)}}" class="btn btn-success btn-sm">View More</a> @endif @endif </span> </td> </tr> @endforeach </tbody> </table> </div> <br /> <div align="right"> Showing {{($companyList->currentpage()-1)*$companyList->perpage()+1}} to {{$companyList->currentpage()*$companyList->perpage()}} of {{$companyList->total()}} entries </div> <div class="hidden-print">{{ $companyList->links() }}</div> <div align="center"> <button type="submit" class="btn btn-success"> Restore Payment <i class="fa fa-book"></i> </button> </div> </div> </form> @endsection @section('scripts') <script src="{{asset('assets/js/jquery-ui.min.js')}}"></script> <script type="text/javascript"> //SELECT/DESELECT ALL CHECKBOX $(document).ready(function () { $('#globalCheckbox').click(function(){ if($(this).prop("checked")) { $(".checkBox").prop("checked", true); } else { $(".checkBox").prop("checked", false); } }); }); //Table search and pagination function myFunction() { // Declare variables var input, filter, table, tr, td, i; input = document.getElementById("myInput"); filter = input.value.toUpperCase(); table = document.getElementById("myTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[2]; if (td) { if (td.innerHTML.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } //ends here </script> @endsection