@extends('layouts/contentNavbarLayout') @section('title', 'Police Record Details') @section('vendor-style') @endsection @section('content')

Police Record Details

Submit verification details of residents to the nearest police station. Use View Form to open the Marathi declaration for printing.

@forelse($active as $s) @php $firstAg = $s->agreementHistories->sortBy('from_date')->first(); $latestAg = $s->agreementHistories->sortByDesc('to_date')->first(); @endphp @empty @endforelse
Student Room / Bed Aadhar No. Admission Leaving Date Action
@if($s->documents->where('document_type', 'profile_photo')->first()) @else {{ strtoupper(mb_substr($s->first_name ?? '', 0, 1)) }} @endif
{{ $s->full_name }} {{ $s->student_mobile ?? '—' }} / {{ $s->parent_mobile ?? '—' }}
{{ $s->room_bed_identifier ?? '—' }} {{ $s->aadhar_number ?? '—' }} {{ $firstAg?->from_date?->format('d/m/Y') ?? '—' }} {{ $latestAg?->to_date?->format('d/m/Y') ?? '—' }} View Form
No active students.
@forelse($released as $s) @php $latestAg = $s->agreementHistories->sortByDesc('to_date')->first(); @endphp @empty @endforelse
Student Room / Bed Aadhar No. Leaving Date Action
{{ strtoupper(mb_substr($s->first_name ?? '', 0, 1)) }}
{{ $s->full_name }} {{ $s->student_mobile ?? '—' }}
{{ $s->room_bed_identifier ?? '—' }} {{ $s->aadhar_number ?? '—' }} {{ $latestAg?->to_date?->format('d/m/Y') ?? '—' }} View Form
No released students.
@endsection