PROMOTIONS
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session("success"))
{{session('success')}}
@elseif(session("error"))
{{session('error')}}
@endif
@php $i=1; @endphp @foreach($promotions as $promotion) @php $i++; @endphp @endforeach
Action Slug Image Nom Type Code Utilisateur Maximum Reduction Date debut Date fin Actif Créer
{{$promotion->slug}} {{$promotion->name}} {{$promotion->type}} {{$promotion->code}} {{$promotion->max_user}} {{$promotion->percentage}} % {{date("d-m-Y h:i:s",strtotime($promotion->debut))}} {{date("d-m-Y h:i:s",strtotime($promotion->fin))}} slug])}}')"> @if($promotion->actif==1) Actif @else Désactivé @endif {{date("d-m-Y h:i:s",strtotime($promotion->created_at))}}
{{ $promotions->links() }}