@extends('layouts.app') @section('title', 'Modifier la catégorie') @section('styles') @endsection @section('content')

Configuration Catégorie : {{ $category->name }} 📂

Paramètres Généraux
@csrf @method('PUT')
Sélectionnez une catégorie parente si cette catégorie est une sous-catégorie.
Ajouter un champ personnalisé
Ces champs seront affichés dans le formulaire ticket de cette catégorie.
no_tickets === 1 ? 'checked' : '' }}> Empêcher l'ouverture de ticket
Retour
Champs Personnalisés
@forelse(\Illuminate\Support\Facades\DB::table('ticket_custom_fields') ->join('ticket_custom_field_cats', 'ticket_custom_fields.ID', '=', 'ticket_custom_field_cats.fieldid') ->where('ticket_custom_field_cats.catid', $category->ID) ->orderBy('ticket_custom_field_cats.order_field') ->select('ticket_custom_fields.*', 'ticket_custom_field_cats.order_field') ->get() as $field)
{{ $field->name }}
Champ {{ $field->required ? '• OBLIGATOIRE' : 'optionnel' }}
@empty

Aucun champ spécifique.

@endforelse Gérer l'ordre & les champs

Aperçu du Webform 📱

LIVE PREVIEW
@forelse(\Illuminate\Support\Facades\DB::table('ticket_custom_fields') ->join('ticket_custom_field_cats', 'ticket_custom_fields.ID', '=', 'ticket_custom_field_cats.fieldid') ->where('ticket_custom_field_cats.catid', $category->ID) ->orderBy('ticket_custom_field_cats.order_field') ->select('ticket_custom_fields.*', 'ticket_custom_field_cats.order_field') ->get() as $field)
...
@empty

Aucun champ personnalisé.

@endforelse
ACTIVER CE FORMULAIRE
@endsection @section('scripts') @endsection