@extends('layouts.admin') @section('title', $title) @section('content')
Needs attention

{{ $title }}

Review the details carefully before completing an action.

@if ($type === 'deposits')
@forelse ($records as $item)
{{ $item->user?->name ?: $item->user?->email ?: 'User #'.$item->user_id }}
{{ $item->reference }}
Amount
{{ rtrim(rtrim($item->amount, '0'), '.') }} {{ $item->asset->symbol }}
Transaction hash
{{ $item->transaction_hash ?: 'Not provided' }}
Submitted
{{ $item->created_at->format('M j, Y H:i') }}
@if($item->proof_path)Download Proof@endif @if ($item->status === 'pending')
@csrf
@csrf
@endif
@empty@endforelse
@elseif ($type === 'withdrawals')
@forelse ($records as $item)
{{ $item->user?->name ?: $item->user?->email ?: 'User #'.$item->user_id }}
{{ $item->reference }}
User receives
{{ rtrim(rtrim($item->net_amount, '0'), '.') }} {{ $item->asset->symbol }}
Destination
{{ $item->destination_address }}
Requested
{{ $item->created_at->format('M j, Y H:i') }}
@if (in_array($item->status, ['pending', 'processing']))
@csrf
@endif
@empty@endforelse
@else

Task submissions

@forelse($records as $item)
{{ $item->user?->name ?: $item->user?->email ?: 'User #'.$item->user_id }}

Task submission #{{ $item->id }}

{{ $item->proof_text ?: 'No written proof provided.' }}

@if($item->proof_path)Download Proof@endif
@csrf
@empty@endforelse

Airdrop claims

@forelse($airdropClaims as $claim)
{{ $claim->user?->name ?: $claim->user?->email ?: 'User #'.$claim->user_id }}

Airdrop claim #{{ $claim->id }}

@csrf
@empty@endforelse
@endif @endsection