@extends('layout') @section('content')
@php $statusCheck = true; if (old('status', $ticket->status) === 'inactive') { $statusCheck = false; } @endphp
@csrf @method('PUT')

Basic Information icon

@error('name') {{ $message }} @enderror
@error('ticket_category_id') {{ $message }} @enderror
@error('description') {{ $message }} @enderror

Price Information icon

icon 15% VAT will be added automatically. Final price: {{ old('price', $ticket->price) * 1.15 }} @error('price') {{ $message }} @enderror
@error('currency_id') {{ $message }} @enderror

Ticket Features icon

icon Type a new feature and press Enter to add it
{{-- @if (!empty($ticket->features) && is_array($ticket->features)) @foreach ($ticket->features as $feature)
{{ $feature }}
@endforeach @endif --}}
@php $features = implode(',', $ticket->features ?? []); if (old('features') ?? '') { $features = old('features'); } @endphp
Cancel
{{-- active and inactive --}} {{-- --}} {{-- Include JustValidate --}} @endsection