@extends('admin.layouts.main') @section('title', 'Notification Preferences - ' . $user->first_name . ' ' . $user->last_name) @section('menu', 'Customers') @section('content')
@csrf @method('PUT')
Notification Preferences for {{ $user->first_name }} {{ $user->last_name }}

Override system defaults for this customer. Unchecked = this customer won't receive that notification even if it's enabled system-wide.

@foreach($events as $slug => $label) @php $pref = $prefs[$slug] ?? null; @endphp @endforeach
Event Email SMS
{{ $label }}
email : true) ? 'checked' : '' }}>
sms : true) ? 'checked' : '' }}>
@endsection