@extends('mainlayout.layout') @section('title', config('app.name') . ' | ' . $property->name) @section('topbar-search', 'enabled') @push('css') @endpush @section('content') @php $encryptedProjectId = encrypt($property->id); $canEditProject = Auth::user()->hasRole('superadmin') || Auth::user()->can('property.edit'); $descriptionPreview = Str::limit(trim(strip_tags($property->description_mini_en ?: $property->description_en ?: 'No project description has been provided.')), 180); $kpis = [ ['label' => 'Plots', 'value' => $metrics['plots'], 'caption' => 'Total plots', 'icon' => 'bx-grid-alt', 'variant' => ''], ['label' => 'Images', 'value' => $metrics['images'], 'caption' => 'Project images', 'icon' => 'bx-image', 'variant' => ''], ['label' => 'Media Items', 'value' => $metrics['media'], 'caption' => 'Video sources', 'icon' => 'bx-video', 'variant' => 'pm-purple'], ['label' => 'Pricing Rules', 'value' => $metrics['pricing'], 'caption' => 'Land use pricing', 'icon' => 'bx-purchase-tag-alt', 'variant' => 'pm-orange'], ['label' => 'Site Visits', 'value' => $metrics['visits'], 'caption' => 'Configured slots', 'icon' => 'bx-calendar', 'variant' => 'pm-blue'], ['label' => 'Total Likes', 'value' => $metrics['likes'], 'caption' => 'From users', 'icon' => 'bx-like', 'variant' => ''], ['label' => 'Reviews', 'value' => $metrics['reviews'], 'caption' => 'From users', 'icon' => 'bx-star', 'variant' => 'pm-blue'], ['label' => 'Orders', 'value' => $metrics['orders'], 'caption' => 'Total orders', 'icon' => 'bx-receipt', 'variant' => ''], ]; @endphp
All projects Property management

{{ $property->name }}

{{ $property->status_label }}

Manage project profile, pricing, plots, media, visitation, and customer engagement.

@if($canEditProject)
Edit Project Order Config Add Plots
@csrf
@endif
@if(session('message'))
{{ session('message') }}
@endif @if($errors->any())@endif
@foreach($kpis as $kpi)
{{ $kpi['label'] }}{{ number_format($kpi['value']) }}{{ $kpi['caption'] }}
@endforeach
@endsection @push('scripts') @endpush