@extends('admin.base') @section('content')

Список депозитов

Создать Сбросить
@if($deposits->count()) @foreach($deposits as $deposit) @endforeach
ID Пользователь План Сумма Валюта Дата создания Статус
{{ $deposit->id }} {{ $deposit->user->name ?? 'Пользователь не найден' }} (ID: {{ $deposit->user_id }}) {{ $plans[$deposit->plan_type]['name'] ?? $deposit->plan_type }} {{ number_format($deposit->amount, 2) }} {{ $deposit->currency }} {{ $deposit->created_at->format('d.m.Y H:i') }} {{ $deposit->is_active == 1 ? "Активно" : "Неактивно" }}
{{ $deposits->links() }}
@else

Депозиты не найдены.

@endif
@endsection