@extends('crm.layouts.master') @section('title','Deposits') @section('page-css') @endsection @section('main-content')
@if(session('status'))| # | 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') @else — @endif |