@extends('crm.layouts.master') @section('title','Withdrawals') @section('page-css') @endsection @section('main-content')
@if(session('status'))
{{ session('status') }}
@endif
@foreach($withdrawals as $w) @endforeach
# Client Amount Currency Status Notes Created By Approved By Date Action
{{ $w->id }} {{ $w->lead->fname ?? '' }} {{ $w->lead->lname ?? '' }} {{ number_format($w->amount, 2) }} {{ $w->currency }} {{ ucfirst($w->status) }} {{ $w->notes ? \Illuminate\Support\Str::limit($w->notes, 40) : '—' }} {{ $w->creator->name ?? '—' }} {{ $w->approver->name ?? '—' }} {{ $w->created_at->format('Y-m-d H:i') }} @if($w->status === 'pending')
@csrf
@csrf
@else — @endif
{{-- New Withdrawal Modal --}} @endsection @section('page-js') @endsection