@php // This file is now used to include form fields only - the main form structure is in _form.blade.php // Redirecting to the appropriate page based on whether it's an edit or create operation $isEdit = isset($record) && $record->exists; $url = $isEdit ? route('customer-agent-type.edit', $record->id) : route('customer-agent-type.create'); header("Location: $url"); exit; @endphp
@if(session('tenant_id')) @else
@error('tenant_id') {{ $message }} @enderror
@endif
@error('user_type_id') {{ $message }} @enderror
@error('title') {{ $message }} @enderror
Options
@if(count($options) > 0) @foreach($options as $option)
id])) ? 'checked' : '' }}>
@endforeach @else
No options available. Please add options first.
@endif
Cancel
@endsection @section('scripts') @endsection