@extends('layouts.dashboard')
@section('pageTitle')
Tous les Annonces Particuliers
@endsection
@section('sectionTitle')
Tous les Annonces Particuliers
@endsection
@section('content')
{{-- {{dd("Particuliers")}} --}}
{{-- {{dd($usersData )}} --}}
{{-- @foreach ($users as $item)
{{dd($item)}}
@endforeach --}}
{{-- {{ dd(Route::current()->getName()) }} --}}
{{--
--}}
@if ($errors->has('propertyError'))
{{ $errors->first('propertyError') }}
@endif
@if (session()->has('success'))
{{ session()->get('success') }}
@endif
Affichage
{{ $props->appends(request()->query())->total() }} Résultats
{{-- --}}
@if (count($props) > 0)
| Informations sur les annonces |
Utilisateur |
Categorie |
{{-- Prix | --}}
Views |
Status |
Action |
@foreach ($props as $item)
|
|
{{ $item->user->userTypeName() }} |
{{ ucfirst($item->category->name) }} |
{{ $item->count_views }} |
@if ($item->state == 'valid')
Active
@elseif ($item->state == 'waiting')
En attente
@else
Inactive
@endif
|
@if ($featuresExist[$item->id])
@else
@endif
@if ($featuresExist[$item->id])
@endif
|
@endforeach
{{-- {{ $props->links() }} --}}
{!! $props->appends(request()->query())->links('vendor.pagination.default') !!}
@else
Pas des annonces
@endif
{{-- --}}
@endsection