{{-- resources/views/employee/payments/index.blade.php --}} @extends('layouts.employee') @section('title', 'Payment Verification') @section('page_title', 'Payment Verification') @section('icon', 'fa-money-check-alt') @section('breadcrumb') @endsection @section('content')
Filter Payments
Payments ({{ $payments->total() }}) @if(request('status') == 'pending') {{ $pendingCount ?? 0 }} Pending @endif
Total: Rp {{ number_format($totalAmount ?? 0, 0, ',', '.') }}
@forelse($payments as $payment) @empty @endforelse
Payment ID Order Customer Method Amount Proof Status Time Verified By Actions
#{{ $payment->payment_code }} @if($payment->is_verified) @endif #{{ $payment->order->order_number ?? 'N/A' }} {{ $payment->customer_name ?? $payment->order->customer_name ?? 'Guest' }} {{ ucfirst($payment->method) }} Rp {{ number_format($payment->amount, 0, ',', '.') }} @if($payment->proof_image) View @else No proof @endif {{ ucfirst($payment->status) }} {{ $payment->created_at->format('H:i') }}
{{ $payment->created_at->format('d/m') }}
@if($payment->verified_by) {{ $payment->verifier->name ?? 'Staff' }}
{{ $payment->verified_at->format('H:i') }} @else - @endif
@if($payment->status == 'pending') @endif @if($payment->status == 'verified') @endif
No payments found

Try adjusting your filters

@if($payments->hasPages())
{{ $payments->links() }}
@endif
Total Verified

Rp {{ number_format($verifiedAmount ?? 0, 0, ',', '.') }}

{{ $verifiedCount ?? 0 }} payments
Pending Verification

Rp {{ number_format($pendingAmount ?? 0, 0, ',', '.') }}

{{ $pendingCount ?? 0 }} payments
Failed Payments

Rp {{ number_format($failedAmount ?? 0, 0, ',', '.') }}

{{ $failedCount ?? 0 }} payments
Refunded

Rp {{ number_format($refundedAmount ?? 0, 0, ',', '.') }}

{{ $refundedCount ?? 0 }} payments
@endsection @section('scripts') @endsection