@extends('restaurant.layouts.panel') @section('title', 'Withdrawals') @section('content') @if (session('success'))
{{ session('success') }}
@endif
Available Balance
₹{{ number_format($availableBalance, 2) }}
Request Withdrawal
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf
Paid out to: {{ $restaurant->bank_account_no ?? 'No bank details on file — update your profile.' }}
@forelse ($withdrawals as $withdrawal) @empty @endforelse
Amount Status Requested Processed Admin Note
₹{{ number_format($withdrawal->amount, 2) }} {{ ucfirst($withdrawal->status) }} {{ $withdrawal->created_at->format('d M Y') }} {{ $withdrawal->processed_at?->format('d M Y') ?? '-' }} {{ $withdrawal->admin_note ?? '-' }}
No withdrawal requests yet.
{{ $withdrawals->links() }}
@endsection