@extends('frontend.user_dashboard.layouts.app') @section('content')

Property Detail

Property Information ({{$property->booking_amount}})

@csrf
@php if($property->booking_status != 'available'){ $book_property = App\Models\BookProperty::where('property_id',$property->id)->with('user')->latest()->first(); $total_paid_amount = App\Models\Installment::where('booking_id',$book_property->id)->sum('final_amount'); }else{ $book_property = null; } @endphp @if(!$book_property?->user?->id)
Add Customer
@else
@endif
@endsection