@extends('layouts.master') @section('content')
{{Session::get('message')}}
@endif @if(Session::has('message_error')){{Session::get('message_error')}}
@endif| Code Piece | Nom piece | Reference piece | Action | |
|---|---|---|---|---|
| {{++$key}} | {{$p->code_piece}} | {{$p->nom_piece}} | {{$p->reference_piece}} | @if(Auth()->user()->roles()->whereIn('role_id', [1,25, 26,30])->exists()) @endif@if(Auth()->user()->roles()->whereIn('role_id', [1])->exists()) Delete @endif |