@extends('layouts.app') @section('content')

Verifikasi Pembayaran

{{-- Flash Message --}} @if(session('message'))
{{ session('message') }}
@endif {{-- Filter --}}
{{-- Batch Approve --}}
@csrf
{{-- Tabel --}}
@foreach($transactions as $trx) @endforeach
Invoice User Total Status Bukti Aksi
{{ $trx->id }} {{ $trx->user->name ?? '-' }} Rp {{ number_format($trx->total, 0, ',', '.') }} @php $badgeColor = match($trx->status) { 'pending' => 'bg-yellow-400', 'payment_verification' => 'bg-blue-500', 'paid' => 'bg-green-500', 'rejected' => 'bg-red-500', 'expired' => 'bg-gray-400', default => 'bg-gray-300' }; @endphp {{ ucfirst(str_replace('_', ' ', $trx->status)) }} @if($trx->payment_proof) Lihat @else - @endif @if($trx->payment_proof && $trx->status == 'payment_verification')
@csrf
@csrf
@else - @endif
@endsection