@extends('layouts.page') @section('title', 'Settings') @section('content') @php $pageName = 'Settings'; @endphp @include('session-message')

Manage mail delivery, issue types, reminders, and user roles.

{{ $users->count() }} Users
{{ $users->where('mail_receiver', true)->count() }} Mail Receivers
{{ $organizations->where('status', true)->count() }} Organizations

Mail Receiver Settings

Choose who receives notification emails.

@forelse($users as $user) @empty @endforelse
Name Role Mail Receiver
{{ $user->name ?? 'No Name' }} {{ $user->roles->pluck('name')->map(fn($name) => $roleNameMap[$name] ?? $name)->join(', ') ?: 'No Role' }}
@csrf @method('PATCH')
mail_receiver ? 'checked' : '' }} onchange="this.form.submit()">

No users found.

Issue Type Setting

Register a new software or hardware issue type per organization.

@csrf
@error('organization_id')
{{ $message }}
@enderror

Issue Reminder Mail Setting

Control how often reminder emails go out.

@csrf
@csrf
status ? 'checked' : '' }} onchange="this.form.submit()">

User Role Settings

Update a user's role directly from this list.

@forelse($users as $user) @empty @endforelse
Name Role
{{ $user->name ?? 'No Name' }}
@csrf

No users found.

@endsection