@extends('admin.layouts.app') @section('content') @php( $name = $user->fullname ?? 'No Name Yet')
{{$user->fullname}}'s Avatar

{{$user->fullname}} {{$user->email}} {{$user->phone}} {{$user->address}}, {{$user->state->name ?? "No State Yet!"}}.

{{$user->farmSponsoredCount()}} {{$user->depositsCount()}} {{$user->withdrawals()->count()}}
Sponsorships Deposits Withdrawals
Vest Bank Details
Balance {{$user->vestbank->balanceForDisplay}}
Capital NGN {{number_format($user->vestbank->capital)}}
Return NGN {{number_format($user->vestbank->interest)}}
Vest For Farm {{$user->farmVestingBalance()}}
Bank Account Details

Valid Thru **/**

{{$user->bank->name ?? 'No Bank Name Yet'}}

Name: {{$user->bank->account_name ?? 'No Bank Account Name Yet'}}

Number: {{$user->bank->account_number ?? 'No Bank Account Number Yet'}}

Add Funds

@csrf
@if ($errors->has('amount')) {{$errors->first('amount')}} @endif

Remove Funds

@csrf
@if ($errors->has('amount')) {{$errors->first('amount')}} @endif

Move Funds to Vest For Farms

@csrf
@if ($errors->has('amount')) {{$errors->first('amount')}} @endif

Sponsor Agroestate

@csrf
@if ($errors->has('unit')) {{$errors->first('unit')}} @endif

Sponsor Unbehalf

@csrf
@if ($errors->has('unit')) {{$errors->first('unit')}} @endif

Agro Estate Retain

@csrf
@if ($errors->has('amount_to_agro')) {{$errors->first('amount_to_agro')}} @endif
@if ($errors->has('amount_to_pay')) {{$errors->first('amount_to_pay')}} @endif
@endsection