@extends('layouts.app') @section('title', $trainingPlan->title) @section('content')
Back to Training Plans

{{ $trainingPlan->title }}

{{ $trainingPlan->reference_number }}

@if($trainingPlan->status === 'draft')
@csrf
@endif @if($trainingPlan->status === 'approved' && !$trainingPlan->budget_approved)
@csrf
@endif @if($trainingPlan->status === 'draft') Edit @endif @if($trainingPlan->sessions->count() === 0)
@csrf @method('DELETE')
@endif
{!! $trainingPlan->getStatusBadge() !!}

Plan Details

@if($trainingPlan->description)

Description

{{ $trainingPlan->description }}

@endif

Training Type

{{ ucfirst(str_replace('_', ' ', $trainingPlan->training_type)) }}

Delivery Method

{{ ucfirst($trainingPlan->delivery_method) }}

@if($trainingPlan->planned_start_date)

Start Date

{{ $trainingPlan->planned_start_date->format('M j, Y') }}

@endif @if($trainingPlan->planned_end_date)

End Date

{{ $trainingPlan->planned_end_date->format('M j, Y') }}

@endif
@if($trainingPlan->sessions->count() > 0)

Training Sessions

Schedule Session
@foreach($trainingPlan->sessions as $session)

{{ $session->title }}

{{ $session->scheduled_start->format('M j, Y g:i A') }}

View
@endforeach
@else

No Sessions Scheduled

Schedule training sessions for this plan.

@if($trainingPlan->status === 'approved') Schedule Session @endif
@endif

Quick Info

@if($trainingPlan->trainingNeed) @endif @if($trainingPlan->instructor)

Instructor

{{ $trainingPlan->instructor->name }}

@endif @if($trainingPlan->estimated_cost)

Estimated Cost

${{ number_format($trainingPlan->estimated_cost, 2) }}

@endif @if($trainingPlan->budget_approved)
Budget Approved
@endif
@endsection