@extends('frontend.layouts.app') @section('content') Checkout Home {{ $property->property_name }} {{ $property->property_location }} {{ amount_currency($property->offer_price) }} /Day @if($property->discount_percentage>0) {{ round($property->discount_percentage) }} % OFF @endif @if($property->discount_percentage>0) {{ amount_currency($property->property_price)}} /Day @endif Description {!! $property->property_desc !!} Property Details Property ID: {{ $property->property_id }} Property Type: {{ $property->property_type }} Property status: {{ $property->property_status == 1 ? 'For Rent' : 'For Rent' }} Bed rooms: {{ $property->property_bedroom }} Bath: {{ $property->property_bathroom }} Listing On: {{ dateformat($property->property_created_date) }} Property Price: {{ amount_currency($property->offer_price) }} /Day Amenities @php $amenity_arr=explode(',',$property->property_amenities); $amenity_arr=array_values(array_unique($amenity_arr)); $amenities = App\Models\Amenity::whereIn('amenities_id',$amenity_arr)->get()->toArray(); @endphp @foreach ($amenities as $row) {{ $row['amenities_name'] }} @endforeach @if(true) @csrf {{-- @csrf Apply --}} @else @csrf @endif @endsection @section('script') @endsection
{!! $property->property_desc !!}