@php $page = 'deposits' @endphp @php function getBadgeClass($status) { switch ($status) { case 'processed': return 'success'; case 'declined': return 'danger'; case 'processing': return 'warning'; default: return 'info'; } } @endphp @extends('includes.layout') @section('content')

Deposit Details

${{ number_format($order->amount, 2) }}

@if ($order->status == 'confirmed')

Deposit Completed

You successfully deposited ${{ number_format($order->amount, 2) }}

@else

Deposit Pending

Your deposit of ${{ number_format($order->amount, 2) }} is pending

@endif
Trx:

{{ Str::upper($order->id) }}


Created Time:

{{ $order->created_at->diffForHumans() }}


Merchant Name:

{{ $order->user->name }}


Status:

{{ Str::ucfirst($order->status) }}

@endsection