@extends('central.super.layout') @section('title', __('central.PendingOfflinePayments')) @section('content')

{{ __('central.AwaitingVerification') }}

{{ $registrations->total() }} {{ Str::plural(__('central.Registration'), $registrations->total()) }}
@if($registrations->isNotEmpty())
@foreach($registrations as $reg) @endforeach
{{ __('central.Company') }} {{ __('central.Email') }} {{ __('central.Plan') }} {{ __('central.Amount') }} {{ __('central.Cycle') }} {{ __('central.Proof') }} {{ __('central.Date') }} {{ __('central.Actions') }}
{{ $reg->company_name }} {{ $reg->admin_email }} {{ $reg->plan->name ?? '—' }} {{ $reg->currency }} {{ number_format($reg->amount, 2) }} {{ ucfirst($reg->billing_cycle) }} @if($reg->payment_proof_path) @php $ext = strtolower(pathinfo($reg->payment_proof_path, PATHINFO_EXTENSION)); $isImage = in_array($ext, ['jpg', 'jpeg', 'png', 'webp']); @endphp {{ __('central.View') }} @else {{ __('central.NoProof') }} @endif {{ $reg->created_at->format('M d, Y') }}
@csrf
@if($registrations->hasPages())
{{ $registrations->links('vendor.pagination.bootstrap-5') }}
@endif @else

{{ __('central.NoPendingPayments') }}

{{ __('central.AllProofsReviewed') }}

@endif
@push('scripts') @endpush @endsection