@if ($errors->has('shift'))
{{ $errors->first('shift') }}
@endif
@if ($errors->has('version'))
{{ $errors->first('version') }}
@endif
@if ($errors->has('section'))
{{ $errors->first('section') }}
@endif
@if ($errors->has('branch'))
{{ $errors->first('branch') }}
@endif
@if ($errors->has('class'))
{{ $errors->first('class') }}
@endif
@if ($errors->has('registration_year'))
{{ $errors->first('registration_year') }}
@endif
@if ($errors->has('gender'))
{{ $errors->first('gender') }}
@endif
{{-- @php
$currentDate = date('Y-m-d');
$maxDate = date('Y-m-d', strtotime('-10 years'));
$minDate = date('Y-m-d', strtotime('-20 years'));
@endphp --}}
{{-- @php
$currentYear = date('Y');
$maxYear = $currentYear - 10;
$minYear = $currentYear - 20;
@endphp --}}
@if ($errors->has('division_id'))
{{ $errors->first('division_id') }}
@endif
@if ($errors->has('district_id'))
{{ $errors->first('district_id') }}
@endif
@if ($errors->has('upazila_id'))
{{ $errors->first('upazila_id') }}
@endif