@extends('layouts.master') @section('breadcrumb') @include('components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => route("home"), ] ], 'active' => __(@$title)]) @endsection @section('content')

{{ $title }}

@can("marchand-create") @endcan
@include("layouts.alert")
@if(\Illuminate\Support\Facades\Auth::user()->pays_id ==null)
@endif @if(\Illuminate\Support\Facades\Auth::user()->pays_id ==null)
@else
@error("zone_id")
{{$message}}
@enderror
@endif
@if(count($marchands) > 0) @foreach($marchands as $key => $marchand) @if($marchand->statutMarchand->id== config('appconstants.statut_marchand.non_actif')) @else @endif @endforeach @else @endif
@lang('nom') @lang('prenoms') @lang('email') @lang('tel') @lang('zone_id') @lang('statut') @lang("Actions")
{{ $marchand->nom }} {{ $marchand->prenoms }} {{ $marchand->email }} {{ $marchand->login }} {{ $marchand->zone->libelle }} {{ $marchand->statutMarchand->libelle??"" }} {{ $marchand->statutMarchand->libelle??"" }}marchandId) }}"> @can('marchand-edit') @endcan @can('marchand-statut') @if($marchand->active == 1) @else @endif @endcan
@lang("listeempty")
{{ $marchands->appends(request()->input())->links('layouts.paginationlinks') }}
@endsection @section('js') @endsection