@extends('layout.master') @section('content') @php $userType = \App\Helpers\Helpers::getUserRole()->type_id ?? []; $menu = $_GET['menu'] ?? ''; @endphp
@if (!empty($menu) && $menu == 'estates') @else @endif {{--
❮  Back

Edit Residence

--}}
{{ csrf_field() }}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('mobile_number'))
{{ $errors->first('mobile_number') }}
@endif
{{-- --}}
{{-- @if ($errors->has('unit_error'))

{{ $errors->first('unit_error') }}

@endif --}}
{{--
is_active == 1 ? 'checked' : '' }}> is_active == 0 ? 'checked' : '' }}>
--}}

Vehicle Details:

@if (!empty(old('vehicle_license')) && count(old('vehicle_license')) > 0) @foreach (old('vehicle_license') ?? [] as $key => $vehicle_license)
@endforeach @elseif(!empty($vehicle_details) && count($vehicle_details) > 0) @foreach ($vehicle_details ?? [] as $vehical_detail)
@endforeach @else
@endif
Cancel
@push('scripts') @endPush @endsection