@extends('adminlte::page') @section('title', 'Purchase History') @section('content_header')
Total Spent
Pending Payments
Total Purchases
| Transaction ID | Date | Amount | Shortlink | Status |
|---|---|---|---|---|
| {{ $transaction->unique_reference }} | {{ $transaction->created_at->format('d M Y H:i') }} | Rp {{ number_format($transaction->amount, 0, ',', '.') }} | {{ $transaction->shortlink ? $transaction->shortlink->id : 'N/A' }} | @if($transaction->status == 'settlement') Completed @elseif($transaction->status == 'pending') Pending @elseif($transaction->status == 'expired') Expired @else {{ ucfirst($transaction->status) }} @endif |