@include('common.header')

PET Application

{{--
--}} @csrf
Basic Information ( मुलभूत माहिती ) :-
अर्जदाराचे नाव /
Name of Applicant :
मालकाचे नाव /
Name of Owner's :
मालकाचा निवासी पत्ता / Residential Address of Owner's

Dog Details :
@php $is_rabies_vaccinated = null; $is_91_vaccinated = null; if (!empty($pet_registration_view)) { $is_rabies_vaccinated = $pet_registration_view->date_of_rabies_vaccination ? 'yes' : 'no'; $is_91_vaccinated = $pet_registration_view->date_of_91_vaccination ? 'yes' : 'no'; } @endphp
@if ($is_rabies_vaccinated == 'yes')
@endif @if ($is_91_vaccinated == 'yes')
@endif

Documents :
@php $docs = []; if ( !empty($pet_registration_view) && !empty($pet_registration_view->vaccination_card_doc) ) { $decoded = json_decode( $pet_registration_view->vaccination_card_doc, true, ); if (is_array($decoded)) { $docs = array_filter($decoded); // filter out empty values } elseif (!empty($decoded)) { $docs = [$decoded]; } } @endphp
@if (count($docs) > 0) @foreach ($docs as $doc) @php $ext = pathinfo($doc, PATHINFO_EXTENSION); @endphp
@if (in_array(strtolower($ext), ['jpg', 'jpeg', 'png', 'gif'])) Rabies Vaccination Certificate @elseif (strtolower($ext) === 'pdf') View File @endif
@endforeach @else

No Document Uploaded

@endif
Cancel @if ($pet_registration_view->close_application_status == 0) @endif
{{--
--}}
@include('common.footer')