@extends('layouts.app') @section('title', 'Subscription Invoice Verifications - Admin') @push('style') @endpush @section('content')
Verify proof of purchase, invoices, and transaction details submitted by subscription owners to grant them Verified Invoice badges.
| ID & Subscription | Subscription Owner | Invoice / Proof File | Transaction Details | Status | Submitted At | Actions |
|---|---|---|---|---|---|---|
|
@if(! empty($inv['service_logo']))
{{ $inv['service_name'] }}
Subscription #{{ $subId }}
|
@if(! empty($inv['user_avatar']))
{{ $inv['user_name'] }}
{{ $inv['user_email'] }}
|
@if($isPdf)
View PDF
{{ $inv['file_original_name'] ?: 'invoice.pdf' }}
@else
{{ $inv['file_original_name'] ?: 'invoice_image' }}
@endif
|
@if(! empty($inv['transaction_details']))
{{ $inv['transaction_details'] }}
@else
No additional details provided.
@endif
|
@php
$invStatus = strtolower(trim((string) ($inv['status'] ?? 'pending')));
@endphp
@if(in_array($invStatus, ['approved', 'approve', 'verified'], true))
Approved
@elseif(in_array($invStatus, ['rejected', 'reject', 'declined'], true))
Rejected
@if(! empty($inv['admin_notes']))
Note: {{ $inv['admin_notes'] }}
@endif
@else
Pending Review
@endif
|
{{ \Carbon\Carbon::parse($inv['created_at'])->format('M d, Y h:i A') }}
@if(! empty($inv['reviewed_at']))
Reviewed: {{ \Carbon\Carbon::parse($inv['reviewed_at'])->format('M d, Y') }}
@endif
|
@if($inv['status'] !== 'approved')
@endif
@if($inv['status'] !== 'rejected')
@endif
|
| No invoice verifications found for this filter. | ||||||