@extends('backoffice.layouts.app') @push('styles') @endpush @section('content')
{{-- HEADER --}}
All Transactions
View all deposit, withdraw, and automatic transactions
Refresh
{{-- ALERT --}} @include('backoffice.pages.transaction.partials.alert') {{-- SEARCH --}}
{{-- SEARCH --}}
@if(request('search')) Reset @endif
{{-- EXPORT --}}
{{-- TABLE --}}
Transaction List
Semua data transaksi website
{{ $transactions->count() }} Transactions
@forelse($transactions as $trx) @empty @endforelse
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
{{-- PAGINATION --}} @include('backoffice.pages.transaction.partials.pagination')
@endsection @push('scripts') @endpush