@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) }}
@if($dep->credited_usd_amount !== null && $dep->currency !== 'USD')
Credited USD {{ number_format($dep->credited_usd_amount, 2) }}
@endif
|
{{ $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 @if(Auth::user()->access_level === 'Admin') @endif |