@extends('adminlte::page') @section('title', 'Transaction Logs') @section('content_header')

Transaction Logs

@stop @section('content')

Audit Trail for Transaction: {{ $transaction->unique_reference }}

@foreach($transaction->logs as $log) @endforeach
Timestamp Action Description User IP Address
{{ $log->created_at->format('d M Y H:i:s') }} {{ ucfirst(str_replace('_', ' ', $log->action)) }} {{ $log->description }} {{ $log->user ? $log->user->name : 'System' }} {{ $log->ip_address }}

Transaction Details

Unique Reference: {{ $transaction->unique_reference }}
Order ID: {{ $transaction->order_id }}
Amount: Rp {{ number_format($transaction->amount, 0, ',', '.') }}
Status: @if($transaction->status == 'settlement') Completed @elseif($transaction->status == 'pending') Pending @elseif($transaction->status == 'expired') Expired @else {{ ucfirst($transaction->status) }} @endif
Created At: {{ $transaction->created_at->format('d M Y H:i:s') }}
Platform Fee: Rp {{ number_format($transaction->platform_fee_amount, 0, ',', '.') }}
Seller Amount: Rp {{ number_format($transaction->seller_amount, 0, ',', '.') }}
Seller: {{ $transaction->seller ? $transaction->seller->name : 'N/A' }}
Buyer: {{ $transaction->buyer ? $transaction->buyer->name : 'Guest' }}
Shortlink: {{ $transaction->shortlink ? $transaction->shortlink->id : 'N/A' }}
@stop @section('css') @stop @section('js') @stop