@extends('layouts.app') @section('title', 'Credit Points Summary') @section('content')

Credit Points Summary Sheet

{{ $application->user->name }} - Application #{{ $application->application_number }}

Summary Statistics

{{ $summary['total_claimed'] }}
Total Points Claimed
{{ $summary['total_awarded'] }}
Total Points Awarded
{{ $summary['pending_activities'] }}
Pending Review
{{ $summary['approved_activities'] }}
Approved Activities

Detailed Credit Points Summary

@forelse($application->creditPointClaims as $index => $claim) @empty @endforelse @if($application->creditPointClaims->count() > 0) @endif
Sr. No. Activity Credit Points Available Applicable Conditions Claimed by Applicant Points Awarded by Committee Status
{{ $index + 1 }}
{{ $claim->activity->activity_name }}
{{ $claim->activity->category_label }}
{{ $claim->activity->point_range }}
{{ $claim->activity->unit_type_label }}
{{ Str::limit($claim->activity->applicable_conditions, 100) }}
{{ $claim->claimed_instances }} {{ $claim->activity->unit_type_label }}
{{ $claim->claimed_points }} points
@if($claim->hasDocuments())
{{ $claim->getDocumentCount() }} documents
@endif
@if($claim->award)
{{ $claim->award->awarded_instances }} {{ $claim->activity->unit_type_label }}
{{ $claim->award->awarded_points }} points
@if($claim->award->committee_remarks)
Remarks available
@endif @else
-
@endif
{{ $claim->status_label }}
No credit point claims found.
Total: {{ $summary['total_claimed'] }} points {{ $summary['total_awarded'] }} points
@if(!empty($summary['by_category']))

Category-wise Summary

@foreach($summary['by_category'] as $category => $categoryData)

{{ App\Models\CreditPointActivity::CATEGORIES[$category] ?? $category }}

Activities: {{ $categoryData['count'] }}
Claimed: {{ $categoryData['claimed'] }} points
Awarded: {{ $categoryData['awarded'] }} points
@endforeach
@endif

Note: This summary sheet shows all credit point activities claimed by the applicant. Points are awarded by the scrutiny committee after reviewing the supporting documents and verifying the claims.

Generated on: {{ now()->format('F d, Y \a\t h:i A') }}

@endsection