@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

Add Residence

--}}
{{ csrf_field() }}
{{-- --}}
{{-- TODO:need to make required --}}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('mobile_number'))
{{ $errors->first('mobile_number') }}
@endif
{{--
--}}
@if (!empty($estate_details->id)) @endif
{{-- --}}
{{-- --}} {{-- @if ($errors->has('unit_error'))

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

@endif --}}
{{--
--}}

Vehicle Details:

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