@extends('layouts.admin')
@section('content')
@can('client_create')
LISTE DES INTERVENTIONS
@endcan
|
Date
|
Client
|
Description
|
Statut
|
Action
|
@foreach($interventions as $key => $i)
|
{{ Carbon\Carbon::parse($i->datec)->format('d/m/Y') ?? '' }}
|
{{ $i->nom ?? '' }}
|
{{ $i->description ?? '' }}
|
@if($i->fk_statut == 0)
Brouillon
|
@endif
@if($i->fk_statut == 1)
Non Traité
|
@endif
@if($i->fk_statut == 2)
En cours
|
@endif
@if($i->fk_statut == 3)
Traitée
|
@endif
@can('commande_fournisseur_supprimer')
@endcan
|
@endforeach
|
|
@endsection
@section('scripts')
@parent
@endsection