Quick Actions

Operational shortcuts for invoicing, ordering, and profile management.

@foreach ($actions as $action) @php $styleClasses = match ($action['style']) { 'primary' => 'border-cyan-200 bg-cyan-50 text-cyan-800 hover:bg-cyan-100', 'success' => 'border-emerald-200 bg-emerald-50 text-emerald-800 hover:bg-emerald-100', default => 'border-slate-200 bg-slate-50 text-slate-700 hover:bg-slate-100', }; $hasWireAction = ! empty($action['wire_action']); $wireParam = $action['wire_action_param'] ?? null; @endphp @if ($hasWireAction) {{-- Livewire action button (e.g. filter shortcuts) --}} @elseif ($action['url']) {{-- External / internal navigation link --}} {{ $action['label'] }} @else {{-- Disabled: no url and no wire action --}} @endif @endforeach