@extends('admin.layout') @section('title', 'Gestion des refabrications') @section('content')

@yield('title')

@can('refabrications.create') @can('refabrications.create') @endcan @endcan

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@php $counter = count($refabrications); @endphp @foreach ($refabrications as $refabrication) @endforeach
# Lien Fautif Raison
{{ $counter-- }} FAB :{{ $refabrication->fabrication_id }}
REFAB : {{ $refabrication->autre_fab_id }}
{{ $refabrication->fautif }} {{ $refabrication->raison }} {{-- Bouton SHOW --}} @can('refabrications.view') @endcan {{-- Bouton EDIT --}} @can('refabrications.edit') @endcan {{-- Bouton DELETE --}} @can('refabrications.delete')
@csrf @method('DELETE')
@endcan
@endsection