@extends('backoffice.layouts.master') @section('content')

{{ $titre }}

Selected
@foreach($actualites as $data) @if($data->status == 1) @php $icone = 'check'; $status = 'Activé'; $title = 'Désactiver'; $color = 'success'; @endphp @else @php $icone = 'ban'; $status = 'Désactivé'; $title = 'Activer'; $color = 'danger'; @endphp @endif @php endforeach @endphp
Image Titre Date ajout Statut Actions
{{ $data->titre }}
{{ $data->titre }} {{ $data->created_at }} {{ $status }} Actions
@endsection @section('scripts') @endsection