@extends("layouts.dashboard") @section("wrapper")
@include("layouts.second-header")
@lang("Retour")

@lang("Liste") des {{ $title ?? "Titre" }}

{{ $annonces->total() }} @lang("Enregistrement")
@lang("Liste") @if(Auth::user()->annonceur_id!=null) @can('annonce-create') @lang("Ajouter") @endcan @endif @can('annonce-pdf') @lang("PDF") @endcan
@if(session()->has('message'))
× {{session()->get('message')}}
@endif
@if($isannonceur==null)
@endif

@if(count($annonces) > 0) @foreach($annonces as $annonce) @endforeach @else @endif
@lang("Nature") @lang("annonceur_id") @lang("statutparution_id") @lang("libelle") @lang("date_parution") @lang("montant_ttc") @lang("est_paye") Actions
{{$annonce->natureannonce->libelle}} {{$annonce->annonceur->nom_prenoms_contact}} {{$annonce->statutparution->libelle}} {{$annonce->libelle}} {{$annonce->date_parution}} {{$annonce->montant_ttc}} @if($annonce->est_paye==0)Non Payé @elseif($annonce->est_paye==1) Payé @else En attente paiement @endif @if($annonce->natureannonce->id==1) @lang(" Premium") @endif @if(Auth::user()->annonceur_id!=null) @if($annonce->est_paye==0) @if($annonce->natureannonce->id==2) @lang(" Payer") @endif @endif @endif @lang("Afficher") @if(Auth::user()->annonceur_id!=null) @can('annonce-edit') @lang("Editer") @endcan @can('annonce-statut') @if($annonce->active == 1) @else @endif @endcan @endif
@lang("listeempty")
{{ $annonces->appends(request()->input())->links('layouts.paginationlinks') }}
@endsection