@extends('back.layout.app') @section('title', config('app.name') . ' - Types d\'opération') @php $breadcrumb = 'parameters.operation_types'; @endphp @section('content')

Types d'opération

Gestion des types et de leurs critères associés
@can('manage-operation-types')
@endcan
@include('back.modules.parameters.operation_types.partials.create_op_type')
@foreach ($types as $type) @endforeach
Nom Statut Critères
{{ $type->name }} @if ($type->description) {{ Str::limit($type->description, 60) }} @endif
@if ($type->status) Actif @else Inactif @endif
@forelse ($type->operationCriterias as $criteria) {{ $criteria->name }} @empty Aucun critère @endforelse
@can('manage-operation-types')
Modifier
@endcan
{{ __('ui.datatable.show') }}{{ __('ui.datatable.per_page') }}
{{-- Drawers édition --}} @foreach ($types as $type) @include('back.modules.parameters.operation_types.partials.edit_op_type', ['type' => $type]) @endforeach @endsection