@extends('layouts/layout') @section('content')

Deposits

@forelse ($deposits as $deposit) @empty @endforelse
User ID User Type Amount Status Amount Released Created At Action
{{ $deposit->user_id }}
{{ $deposit->user?->name ?? 'Deleted' }}
{{ $deposit->type == \App\Models\Deposit::TYPE_STAR_CLASH ? 'Star Clash' : 'Nebula' }}
{{ $deposit->amount }} {{ $deposit->bonus_credits != 0.00 ? '(Bonus: ' . $deposit->bonus_credits . ')' : '' }} @if ($deposit->status == \App\Models\DEPOSIT::STATUS_APPROVED || $deposit->status == \App\Models\DEPOSIT::STATUS_AUTOMATICALLY_APPROVED) APPROVED @elseif ($deposit->status == \App\Models\DEPOSIT::STATUS_REJECTED) REJECTED @else PENDING @endif {{ $deposit->amount_released ? 'Yes' : 'No' }} {{ $deposit->created_at->format('d M Y') }} {{-- @if ($deposit->status == \App\Models\DEPOSIT::STATUS_PENDING) @endif --}}
There are no deposits yet.
{{ $deposits->links() }}
@endsection