@extends('backoffice.layouts.app') @push('styles') @endpush @section('content')
| ID | TRX ID | User | Type | Bank | Account | Amount | Unique | Status | Date |
|---|---|---|---|---|---|---|---|---|---|
| #{{ $trx->id }} | {{ $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 ?? '-' }} |
{{ $trx->account_name ?? '-' }}
{{ $trx->account_number ?? '-' }}
|
Rp {{ number_format((float) $trx->amount, 0, ',', '.') }} | Rp {{ number_format((float) ($trx->unique_code ?? 0), 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') }} |
| Tidak ada data transaksi | |||||||||