@extends('admin.layouts.app') @section('title', get_setting('site_name').' | GF Withdrawals') @section('content')
{{ __('GF Withdrawals') }}
{{ __('Clear') }}
@forelse($rows as $row) @empty @endforelse
{{ __('Employee') }} {{ __('Type') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Requested') }} {{ __('Paid') }} {{ __('Action') }}
{{ $row->account?->staff?->user?->name }}
{{ $row->account?->staff?->user?->id }}
@if(($row->kind ?? 'withdrawal') === 'settlement') {{ __('Settlement') }} @else {{ __('Withdrawal') }} @endif {{ $row->status }} {{ number_format((float)$row->amount, 2) }} {{ $row->requested_at?->format('Y-m-d') }} {{ $row->paid_at?->format('Y-m-d') }} @if($row->status === 'pending')
@csrf
@csrf
@elseif($row->status === 'approved')
@csrf
@else {{ __('No actions') }} @endif
{{ __('No records') }}
{{ $rows->links() }}
@endsection