@extends('admin.layouts.app') @section('title','Project Report') @section('breadcrumb') / Reports / Projects @endsection @section('content')
@if($from || $to) {{ $from?->format('d M Y') ?? 'Beginning' }} — {{ $to?->format('d M Y') ?? 'Till Date' }} @else All Time @endif
| Code | Title | CSR Company | Category | Budget | Spent | Status |
|---|---|---|---|---|---|---|
{{ $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) }} | ||||