@extends('layouts.dashboard') @section('title', 'Pending Invoices') @section('content') @role('Admin')
@endrole {{-- Pending Amount Box --}}

๐Ÿ’ฐ Total Pending Amount

${{ number_format($totalPendingAmount, 2) }}

๐Ÿงพ Pending Invoices

@forelse ($projects as $key => $project) @empty @endforelse
# Name/URL Office Details Price Added On Client Actions
{{ $projects->firstItem() + $key }} {{ $project->name_or_url }}
Dashboard Link
PM: {{ optional($project->projectManager)->name ?? '-' }}
TL: {{ optional($project->teamLead)->name ?? '-' }}
Sales: {{ optional($project->salesPerson)->name ?? '-' }}
Dept: {{ optional($project->department)->name ?? '-' }}
Main Emp: {{ optional($project->assignMainEmployee)->name ?? '-' }}
@if($project->upsell_employee_id) Upsell: {{ optional($project->upsellEmployee)->name ?? '-' }}
@endif
Price: {{ $project->price ?? '0' }}
{{ $project->created_at->format('d-M-Y') }} {{ $project->client_name }}
Email: {{ $project->client_email }}
Info: {{ Str::limit($project->client_other_info, 20) }}
Update Payment View
No pending invoices found.
{{ $projects->appends(request()->all())->links() }}
@endsection