@section('site_title', formatTitle([__('Payments'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('account'), 'title' => __('Account')], ['title' => __('Payments')] ]])

{{ __('Payments') }}

{{ __('Payments') }}
@include('shared.message') @if(count($payments) == 0) {{ __('No results found.') }} @else
{{ __('Amount') }}
{{ __('Status') }}
{{ __('Created at') }}
@foreach($payments as $payment)
@if($payment->status == 'completed') {{ $payment->invoice_id }} @endif
@if($payment->status == 'completed') {{ __('Completed') }} @elseif($payment->status == 'pending') {{ __('Pending') }} @else {{ __('Cancelled') }} @endif
{{ $payment->created_at->diffForHumans() }}
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $payments->firstItem(), 'to' => $payments->lastItem(), 'total' => $payments->total()]) }}
{{ $payments->onEachSide(1)->links() }}
@endif