@extends('admin.layouts.master') @section('headerFiles') @endsection @section('content')
@if(!isset($deals_of_month)) @endif @foreach ($data["property"] as $key => $row) @if(!isset($deals_of_month)) @endif @endforeach
# Code Name Category TypeActuall Price (AED) Offer Price (AED)Status Created At NearBy Areas Actions
{{ $key +1 }} {{ $row->property_code }} {{ $row->property_name }} @if ($row->category != null) {{ $row->category->name_en }} @endif {{----}} @if ($row->propertytype != null) {{ $row->propertytype->name_en }} @endif AED {{ $row->property_price }} AED {{ $row->offer_price > 0 ? $row->offer_price : 0 }}{{ $row->property_status == 1 ? "Active" : "Inactive" }} {{ date('d-m-Y ',strtotime($row->property_created_date)) }} Areas
  • @php $route = route("admin.property.edit", ['id' => $row->property_id]); if(isset($deals_of_month)){ $route = route("admin.property.edit", ['id' => $row->property_id,'deals_of_month' => true]); } @endphp
@endsection @section('footerJs') @endsection