@extends('layouts.admin-sidebar') @section('title', 'Notification Settings') @section('page-title', 'Notification Management') @section('page-description', 'Configure notification settings and send broadcast messages') @section('content')

Notification Management

Configure notification settings and manage user communications

Email Notifications

@foreach($settings['email_notifications'] as $notification => $enabled)

{{ ucwords(str_replace('_', ' ', $notification)) }}

@switch($notification) @case('user_registration') Welcome email when users register @break @case('kyc_approval') Email when KYC is approved @break @case('kyc_rejection') Email when KYC is rejected @break @case('transaction_success') Email for successful transactions @break @case('transaction_failure') Email for failed transactions @break @case('card_issuance') Email when virtual card is issued @break @case('suspicious_activity') Email for security alerts @break @case('password_reset') Email for password reset requests @break @case('low_balance_warning') Email when wallet balance is low @break @default Email notification setting @endswitch

@endforeach

SMS Notifications

@foreach($settings['sms_notifications'] as $notification => $enabled)

{{ ucwords(str_replace('_', ' ', $notification)) }}

@switch($notification) @case('transaction_alerts') SMS for transaction notifications @break @case('otp_verification') SMS for OTP codes @break @case('security_alerts') SMS for security notifications @break @case('balance_alerts') SMS for balance updates @break @case('promotional_messages') SMS for promotions and offers @break @default SMS notification setting @endswitch

@endforeach

Push Notifications

@foreach($settings['push_notifications'] as $notification => $enabled)

{{ ucwords(str_replace('_', ' ', $notification)) }}

@switch($notification) @case('transaction_updates') Push notifications for transactions @break @case('system_maintenance') Push notifications for maintenance @break @case('new_features') Push notifications for new features @break @case('promotional_offers') Push notifications for promotions @break @default Push notification setting @endswitch

@endforeach

Admin Notifications

@foreach($settings['admin_notifications'] as $notification => $enabled)

{{ ucwords(str_replace('_', ' ', $notification)) }}

@switch($notification) @case('new_user_registration') Notify when new users register @break @case('kyc_submissions') Notify when KYC is submitted @break @case('high_value_transactions') Notify for large transactions @break @case('failed_transactions') Notify when transactions fail @break @case('system_errors') Notify for system errors @break @case('security_incidents') Notify for security events @break @default Admin notification setting @endswitch

@endforeach

Recent Broadcast Messages

@if(count($broadcasts) > 0)
@foreach($broadcasts as $broadcast)

{{ $broadcast['title'] }}

{{ ucfirst($broadcast['type']) }} {{ ucfirst($broadcast['status']) }}

{{ $broadcast['message'] }}

Recipients: {{ ucwords(str_replace('_', ' ', $broadcast['recipients'])) }} Sent: {{ $broadcast['sent_at'] }}
@endforeach
@else

No broadcast messages

Get started by sending your first broadcast message to users.

@endif

Email Configuration (SMTP)

Configure SMTP settings for outgoing emails

@csrf

Configuration Tips:

  • • For Gmail: Use smtp.gmail.com:587 with TLS encryption
  • • For Gmail: Enable "App Passwords" and use that instead of your regular password
  • • Common ports: 587 (TLS), 465 (SSL), 25 (unencrypted)
  • • Test the connection before saving to ensure settings work
@endsection