@extends('layouts.app') @section('title', 'Payment Planning Task Details') @section('content')

{{ $task->title }}

Payment Planning Task Details

Report Add School Back to Calendar
@include('partials.alerts')
Schools List
@forelse($schools as $school) @empty @endforelse
School Name Contact Number Payment Status Action
{{ $school->school_name }} @if($school->contact_numbers && count($school->contact_numbers) > 0) @foreach($school->contact_numbers as $contact) @php $contactData = is_array($contact) ? $contact : ['number' => $contact, 'name' => '', 'position' => '']; @endphp
@if(!empty($contactData['name'])) {{ $contactData['name'] }} @if(!empty($contactData['position'])) ({{ $contactData['position'] }}) @endif
@endif {{ $contactData['number'] ?? $contact }}
@endforeach @else - @endif
@if($school->is_paid) Paid @else Not Paid @endif
No schools added yet. Click "Add School" to get started.
@endsection