@extends('layouts.app') @section('title', 'Industrial Attachments') @section('content')

Industrial attachments

Track learner placements, supervisors and attachment completion.
@include('academics._nav')
@forelse($attachments as $attachment) @php $student = $students->firstWhere('id', $attachment->student_id); @endphp @empty @endforelse
LearnerCompanyDepartmentSupervisorPeriodWeeksStatusGradeActions
{{ $student?->full_name ?? '—' }}{{ $student?->admission_no }}
{{ $attachment->company_name }} {{ $attachment->department ?: '—' }} {{ $attachment->supervisor_name ?: '—' }}
{{ $attachment->supervisor_phone }}
{{ $attachment->start_date ? \Carbon\Carbon::parse($attachment->start_date)->format('d M Y') : '—' }}
to {{ $attachment->end_date ? \Carbon\Carbon::parse($attachment->end_date)->format('d M Y') : 'present' }}
{{ $attachment->duration_weeks ?: '—' }} {{ $attachment->status }} {{ $attachment->grade ?: '—' }}
@csrf @method('DELETE')
@csrf
@foreach($attachments as $attachment)
@csrf @method('PUT')
@endforeach @endsection