@extends('layouts.app') @section('content')

Feature Codes

Manage dial codes for DND, forwarding, voicemail, parking, and other PBX features.
@csrf
@if (session('success')) @endif @foreach($categories as $catKey => $catLabel) @php $catCodes = $codes->where('category', $catKey); @endphp @if($catCodes->isNotEmpty())
{{ $catLabel }} {{ $catCodes->count() }}
@foreach($catCodes as $fc) @endforeach
Code Feature Description Status Actions
{{ $fc->code }} {{ $fc->name }} {{ $fc->description }} @if($fc->enabled) Active @else Disabled @endif
@csrf
@endif @endforeach {{-- Edit Modals --}} @foreach($codes as $fc) @endforeach @endsection