@extends('dashboard') @section('content')
NOUVELLE VISITE

LISTE DES VISITES

@foreach($visites as $v) @foreach($programmes as $p) @if($v->id_site == $p->id ) @endif @endforeach @endforeach
Client Contact Parcelle Agent Date Commentaires Action
{{ $v->prenom .' '. $v->nom }} {{ $v->telephone }} {{ $p->site . ' numéro : ' . $v->numero . ' ' . $v->surface . ' m²'}} {{ $v->agent_prenom . ' ' . $v->agent_nom }} {{ Carbon\Carbon::parse($v->created_at)->day . '-' . Carbon\Carbon::parse($v->created_at)->month . '-'. Carbon\Carbon::parse($v->created_at)->year }} {{ $v->commentaires }}   @if(Auth::user()->type == 'Super Administrateur') @endif
@endsection