@extends('layouts.app') @section('content')

{{ __('Withdraws') }}

@forelse($withdraws as $key => $withdraw) @php $serial = $withdraws->firstItem() + $key; @endphp @empty @endforelse
{{ __('SL') }} {{ __('Amount') }} {{ __('Request Date') }} {{ __('Status') }} {{ __('Action') }}
{{ $serial }} {{ $withdraw->amount }} {{ $withdraw->created_at->format('F d, Y') }}
{{ $withdraw->created_at->diffForHumans() }}
@if ($withdraw->status == 'pending') {{ __($withdraw->status) }} @elseif($withdraw->status == 'approved') {{ __($withdraw->status) }} @else {{ __($withdraw->status) }} @endif @if ($withdraw->status == 'pending') {{__('Cancel Withdraw')}} @else @endif
{{ __('No Data Found') }}
{{ $withdraws->withQueryString()->links() }}
@csrf
@endsection @push('scripts') @endpush