@extends('layouts.dashboard') @section('title', __('messages.properties')) @section('header', 'Property Portfolio Management') @section('sidebar') @include('company-admin.partials.sidebar') @endsection @section('content') @php $propertyRoutePrefix = request()->routeIs('agent.*') ? 'agent' : 'company'; @endphp @if(session('success'))
{{ session('success') }}
@endif @if(session('upload_errors'))
Upload Warnings:
    @foreach(session('upload_errors') as $error)
  • {{ $error }}
  • @endforeach
@endif

Property Portfolio

Manage all your properties and listings

Add Property
@forelse($properties as $property)
@if($property->images->count() > 0) {{ $property->title }} @else
@endif
{{ $property->type }}
@if($property->status === 'available') Available @elseif($property->status === 'rented') Rented @else {{ ucfirst($property->status) }} @endif

{{ $property->title }}

{{ $property->address }}, {{ $property->city }}{{ $property->country ? ', '.$property->country : '' }}

@if($property->description)

{{ Str::limit(strip_tags($property->description), 120) }}

@endif
@if($property->bedrooms !== null) {{ $property->bedrooms }} bed @endif @if($property->bathrooms !== null) {{ $property->bathrooms }} bath @endif @if($property->area) {{ number_format($property->area, 0) }} {{ $property->area_unit ?: 'm²' }} @endif

Price

{{ number_format($property->price, 0) }} {{ $property->currency }}

View Edit
@csrf @method('DELETE')
@empty

No properties found

Create your first property to get started

Add Property
@endforelse
@if($properties->hasPages())
{{ $properties->links() }}
@endif @endsection