@extends('admin.layouts.app') @section('title','Project Report') @section('breadcrumb') / Reports / Projects @endsection @section('content')
Clear
Total Projects
{{ $summary['total'] }}
Total Budget
₹{{ number_format($summary['total_budget'],2) }}
Total Spent
₹{{ number_format($summary['total_spent'],2) }}
Active
{{ $summary['by_status']['active'] ?? 0 }}
Project Records
{{ $projects->count() }} records
@forelse($projects as $p) @empty @endforelse @if($projects->count()) @endif
CodeTitleCSR CompanyCategoryBudgetSpentStatus
{{ $p->project_code }} {{ Str::limit($p->project_title,30) }} {{ $p->csrCompany->company_name ?? '—' }} {{ $p->category->name ?? '—' }} ₹{{ number_format($p->budget_allocation,2) }} ₹{{ number_format($p->total_spent,2) }} {{ ucfirst($p->status) }}
No projects found
TOTAL ₹{{ number_format($summary['total_budget'],2) }} ₹{{ number_format($summary['total_spent'],2) }}
@endsection @push('scripts') @endpush