@extends('layouts.app') @section('title', 'Team Progress') @section('page-title', 'Team Progress Tracking - ' . $team->team_name) @section('content')
Current Progress
Premium Target Progress
{{ number_format($team->getPremiumProgressPercentage(), 1) }}%

Achieved: {{ number_format($team->current_premium) }} BDT | Target: {{ number_format($team->target_premium) }} BDT

Client Acquisition Progress
{{ number_format($team->getClientProgressPercentage(), 1) }}%

Acquired: {{ $team->current_clients }} | Target: {{ $team->target_clients }} Clients

Update Weekly Progress
@csrf
Total premium collected this week
Number of new corporate clients this week
Service coordination tasks completed
Current Week Status
@if($currentWeekProgress)
Week of {{ $currentWeekProgress->week_start_date->format('d M Y') }}
@if($currentWeekProgress->notes) @endif
Premium Achieved: {{ number_format($currentWeekProgress->premium_achieved_this_week) }} BDT
New Clients: {{ $currentWeekProgress->clients_acquired_this_week }}
Service Tasks: {{ $currentWeekProgress->service_tasks_completed }}
Notes: {{ $currentWeekProgress->notes }}
@else

No progress recorded for this week yet.

@endif
Progress History (Last 12 Weeks)
@if($history->count() > 0)
@foreach($history as $record) @endforeach
Week Premium (BDT) New Clients Service Tasks Notes
{{ $record->week_start_date->format('d M') }} - {{ $record->week_end_date->format('d M Y') }} {{ number_format($record->premium_achieved_this_week) }} {{ $record->clients_acquired_this_week }} {{ $record->service_tasks_completed }} {{ Str::limit($record->notes, 50) }}
@else

No history available. Start recording your weekly progress.

@endif
@endsection