@php use GuzzleHttp\Client; $baseurl = env('API_URL') $sort_no = Config::get('app.sort_no'); $end_no = Config::get('app.end_no'); @endphp @extends('mainlayout') @section('title') MILIKI | Search Results {{$term}} @endsection @section('content')

{{$term}} Search Results

@if(count($properties)==0)

No Results Found

@elseif(count($properties)>0))
@foreach($properties as $project)
@php $images = $project->propertyimage; @endphp @if(count($images)>0) {{$project->name}} Image @else(count($images)==0) {{$project->name}} Image @endif
@php $prop_owner = $project->propertyownerid; $client = new Client(['base_uri' => env('API_URL').'/api/v1/frontend']); $response = $client->request('POST', env('API_URL').'/api/v1/frontend', [ 'form_params' => [ 'method'=>'propertyowner', 'propertyowner'=>$prop_owner ] ]); $content = json_decode($response->getBody()); $propowner = $content->data->propertyowner; @endphp By {{$propowner[0]->name}}

{{$project->name}}

  • {{$project->rate}}
  • From TZS {{number_format($project->total_minimum_fullprice)}}
  • {{number_format($project->total_plots)}} Plots
@endforeach
@endif

Other Popular Projects

@foreach($pop_projects as $project)
@php $images = $project->propertyimage; @endphp @if(count($images)>0) {{$project->name}} Image @else(count($images)==0) {{$project->name}} Image @endif
@php $prop_owner = $project->propertyownerid; $client = new Client(['base_uri' => env('API_URL').'/api/v1/frontend']); $response = $client->request('POST', env('API_URL').'/api/v1/frontend', [ 'form_params' => [ 'method'=>'propertyowner', 'propertyowner'=>$prop_owner ] ]); $content = json_decode($response->getBody()); $propowner = $content->data->propertyowner; @endphp By {{$project->propertyowner->name}}

{{$project->name}}

  • {{$project->rate}}
  • From TZS {{number_format($project->total_minimum_fullprice)}}
  • {{number_format($project->total_plots)}} Plots
@endforeach
Start Financing Your Property Read Terms & Conditions
@endsection