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

PIN Codes

Manage authorization PINs for gated outbound dialing.

Export New PIN
@if (!empty($missingTable) && $missingTable)
The pins table has not been created yet. Run php artisan migrate.
@endif @if (session('success')) @endif @if (session('error')) @endif @if (session('import_errors') && count(session('import_errors'))) @endif {{-- Summary stats --}}
Total PINs
{{ $rows->count() }}
Active PINs
{{ $rows->where('enabled', 1)->count() }}
Departments
{{ $rows->whereNotNull('department_name')->pluck('department_name')->unique()->count() }}
Disabled PINs
{{ $rows->where('enabled', 0)->count() }}
Authorization PINs PIN-protected extensions are asked for a PIN on outbound calls
@forelse($rows as $r) @empty @endforelse
PIN Name Label / Description Department Account Code Enabled Actions
{{ $r->pin }} {{ $r->name ?: '—' }}
{{ $r->label }}
@if($r->description)
{{ $r->description }}
@endif
@if($r->department_name) {{ $r->department_name }} @else — @endif @if($r->accountcode) {{ $r->accountcode }} @else — @endif
enabled ? 'checked' : '' }} style="cursor:pointer;">
@csrf @method('DELETE')
No PINs configured yet. Create the first one.
@push('scripts') @endpush @endsection