@extends('layouts.app') @section('title', 'Dropdown Configuration') @section('page-title', 'Dropdown Configuration') @section('content')
Dropdown Options

Configure all CRM dropdown menus and values

{{-- Type Tabs --}}
@foreach($types as $t) {{ $typeLabels[$t] }} @endforeach
{{ $typeLabels[$type] }} {{ $options->count() }}
@if($options->isNotEmpty())
@foreach($options as $opt) @endforeach
Label Value (slug) Badge Color Status System Actions
{{ $opt->label }} {{ $opt->value }} @if($opt->is_active) Active @else Hidden @endif @if($opt->is_system) @else @endif
@if(!$opt->is_system)
@csrf @method('DELETE')
@endif
@else

No options defined yet.

@endif
{{-- Add new option --}}
Add New Option
@csrf
{{-- Color guide --}}
Badge Color Preview
@foreach(['primary'=>'Blue','success'=>'Green','danger'=>'Red','warning'=>'Yellow','info'=>'Cyan','secondary'=>'Grey'] as $c => $name) {{ $name }} @endforeach
{{-- Edit Modal --}} @endsection @push('scripts') @endpush