@extends('layout.layoutAdmin') @section('title', "Estim'bien - Estimateur de biens immobilier sur Montpellier - liste demande estimation ") @section('content')
@if($biensStatut0->isEmpty()) @else

Nouvelles demandes d'estimation

@foreach($biensStatut0 as $bien)

{{ $bien->adresse }}

{{ $bien->typeBien }}

@if($bien->typeBien == 'maison')

T{{ $bien->maisons->nbPieces }}

@elseif($bien->typeBien == 'appartement')

T{{ $bien->appartements->nbPieces }}

@endif

{{ $bien->client->nom }} {{ $bien->client->prenom }}

{{ $bien->created_at->format('d/m/Y') }}

@endforeach
@endif

Demandes d'estimation en cours

@if($biensStatut1->isEmpty())

Aucune demande d'estimation en cours

@else
@foreach($biensStatut1 as $bien)

{{ $bien->adresse }}

{{ $bien->typeBien }}

@if($bien->typeBien == 'maison')

T{{ $bien->maisons->nbPieces }}

@elseif($bien->typeBien == 'appartement')

T{{ $bien->appartements->nbPieces }}

@endif

{{ $bien->client->nom }} {{ $bien->client->prenom }}

{{ $bien->created_at->format('d/m/Y') }}

@endforeach
@endif

Estimations terminées

@endsection @push('scripts') @endpush