@extends('layouts.base') @section('content') @section('breadcrumb') @endsection
@if ($errors->any()) @endif
@if($workflow)

{{ $workflow->name }}

{{ $workflow->slug }}

@else

Nouveau workflow

Création d'un nouveau workflow de vente

@endif
@if($workflow) Voir le workflow @endif Retour
{{ $workflow ? 'Modifier le workflow' : 'Créer un workflow' }}
@csrf @if($workflow) @method('PUT') @endif
@error('name')
{{ $message }}
@enderror
@if($workflow)
Le slug est généré automatiquement et ne peut pas être modifié
@endif
@if(!$workflow)
@error('workflowable_type')
{{ $message }}
@enderror @if($hasDefaultWorkflow ?? false) Un workflow par défaut existe déjà pour cette application. Vous ne pouvez en créer qu'un seul. @endif
@endif @if($workflow)
Le token est généré automatiquement et ne peut pas être modifié
@else
Le slug et le token seront générés automatiquement lors de la création du workflow.
@endif
@if($workflow) Annuler @else Annuler @endif
@if(!$workflow) @push('scripts') @endpush @endif @endsection