@extends('layouts.app') @section('title', $school->name) @section('content')
Client profile & active issues
Phone: {{ $school->contact_number ?? '—' }}
Email: {{ $school->contact_email ?? '—' }}
{{ $school->address_line ?? '—' }}
{{ $school->city ? $school->city . ',' : '' }}
{{ $school->state ?? '' }} {{ $school->postal_code ?? '' }}
| S.No | Type | Assigned | Status |
|---|---|---|---|
| {{ $issue->serial_no }} | {{ $issue->issueType?->name }} | {{ $issue->assignee?->name ?? '—' }} | @php $statusBadges = [ \App\Models\Issue::STATUS_NOT_STARTED => ['class' => 'warning', 'label' => 'Not Started'], \App\Models\Issue::STATUS_ASSIGNED => ['class' => 'info', 'label' => 'Assigned'], \App\Models\Issue::STATUS_IN_PROGRESS => ['class' => 'primary', 'label' => 'In Progress'], \App\Models\Issue::STATUS_COMPLETED => ['class' => 'success', 'label' => 'Completed'], ]; $statusInfo = $statusBadges[$issue->status] ?? ['class' => 'secondary', 'label' => ucfirst(str_replace('_', ' ', $issue->status))]; @endphp {{ $statusInfo['label'] }} |
| No issues recorded for this school. | |||