@extends('layouts.master') @section('breadcrumb') @include('components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => route("home"), ] ], 'active' => __(@$title)]) @endsection @section('content')

{{ $title }}

@can("typepiece-create") @endcan
@include("layouts.alert")
@if(count($typepieces) > 0) @foreach($typepieces as $typepiece) @endforeach @else @endif
@lang("code") @lang("libelle") @lang("Actions")
{{$typepiece->code}} {{$typepiece->libelle}} @can('typepiece-edit') @endcan @can('typepiece-statut') @if($typepiece->active == 1) @else @endif @endcan
@lang("listeempty")
{{ $typepieces->appends(request()->input())->links('layouts.paginationlinks') }}
@endsection