@if(!isAdmin())
user
{!! $row->user->full_name !!} {{$row->user->email}}
@endif {{ currencyFormat($row->amount) }} @php $bgColor = $row->is_approved == \App\Models\Withdrawal::APPROVED ? 'bg-success' : ($row->is_approved == \App\Models\Withdrawal::INPROCESS ? 'bg-warning' :'bg-danger'); @endphp {{ \App\Models\Withdrawal::APPROVAL_STATUS[$row->is_approved] }} {{ Carbon\Carbon::parse($row->created_at)->isoFormat('Do MMM, YYYY') }} @if( $row->is_approved == \App\Models\Withdrawal::INPROCESS && !isAdmin())
@else @endif