@push('styles') @endpush
@if($showActions ?? false) @endif @forelse($transactions as $trx) {{-- TRX ID --}} {{-- USER --}} {{-- TYPE --}} {{-- BANK --}} {{-- ACCOUNT --}} {{-- AMOUNT --}} {{-- STATUS --}} {{-- DATE --}} {{-- ACTION --}} @if($showActions ?? false) @endif @empty @endforelse
TRX ID User Tipe Bank Rekening Amount Status Tanggal Aksi
{{ $trx->trxid }}
{{ $trx->user?->username ?? '-' }}
ID: {{ $trx->user_id ?? '-' }}
@php $type = strtolower($trx->payment_type ?? '-'); @endphp @if($type === 'deposit') Deposit @elseif($type === 'withdraw') Withdraw @else {{ ucfirst($trx->payment_type ?? '-') }} @endif {{ $trx->bank ?? '-' }} Rp {{ number_format((float) $trx->amount, 0, ',', '.') }} @if($trx->status === 'pending') Pending @elseif($trx->status === 'success') Success @elseif($trx->status === 'failed') Failed @elseif($trx->status === 'rejected') Rejected @else {{ $trx->status }} @endif {{ optional($trx->created_at)->format('d-m-Y H:i') }}
@csrf
@csrf
Tidak ada data transaksi
{{-- PAGINATION --}}