@extends('layouts.app') @section('title', _lang('Payment History')) @section('content')

{{ _lang('Payment History') }}

{{ _lang('All subscription payments across organizations.') }}

{{ _lang('Dashboard') }}
@include('partials.alerts')
@forelse ($payments as $p) @empty @endforelse
{{ _lang('Date') }} {{ _lang('Organization') }} {{ _lang('Invoice') }} {{ _lang('Method') }} {{ _lang('Amount') }} {{ _lang('Status') }} {{ _lang('Trx') }}
{{ optional($p->created_at)->format('d M Y, h:i A') }} {{ optional($p->organization)->name ?? '—' }} @if ($p->invoice) {{ $p->invoice->invoice_no }} @else — @endif {{ ucfirst($p->method) }} ৳{{ number_format($p->amount / 100) }} {{ ucfirst($p->status) }} {{ $p->gateway_trx_id ?? '—' }}
{{ _lang('No payments yet.') }}
@if ($payments->hasPages()) @endif
@endsection