@extends('crm.layouts.master') @section('title','Deposits') @section('page-css') @endsection @section('main-content')
@if(session('status'))
{{ session('status') }}
@endif
@foreach($deposits as $dep) @endforeach
# Client Amount Currency Status Reference Created By Approved By Date Action
{{ $dep->id }} {{ $dep->lead->fname ?? '' }} {{ $dep->lead->lname ?? '' }} {{ number_format($dep->amount, 2) }} {{ $dep->currency }} {{ ucfirst($dep->status) }} {{ $dep->reference ?? '—' }} {{ $dep->creator->name ?? '—' }} {{ $dep->approver->name ?? '—' }} {{ $dep->created_at->format('Y-m-d H:i') }} @if($dep->status === 'pending')
@csrf
@csrf
@else — @endif
{{-- Add Deposit Modal --}} @endsection @section('page-js') @endsection