@extends('admin.layouts.app') @section('title', 'Main page') @section('content')
@csrf

Enable Firebase OTP

@php $enableFirebaseOTPValue = $sms_settings->where('name', 'enable_firebase_otp')->first(); $firebaseisChecked = ($enableFirebaseOTPValue && $enableFirebaseOTPValue->value == 1) ? 'checked' : ''; @endphp

Twilio

@php $enabletwilioValue = $sms_settings->where('name', 'enable_twilio')->first(); // Check if $enabletwilioValue is null or 0 $twilioisChecked = ($enabletwilioValue && $enabletwilioValue->value == 1) ? 'checked' : ''; @endphp

SMS ALA

@php $enableSmsAlaValue = $sms_settings->where('name', 'enable_smsala')->first(); // Check if $enableSmsAlaValue is null or 0 $smsalaisChecked = ($enableSmsAlaValue && $enableSmsAlaValue->value == 1) ? 'checked' : ''; @endphp

Msg91

@php $enableMsg91Value = $sms_settings->where('name', 'enable_msg91')->first(); // Check if $enableMsg91Value is null or 0 $msg91isChecked = ($enableMsg91Value && $enableMsg91Value->value == 1) ? 'checked' : ''; @endphp

Sparrow

@php $enableSparrowValue = $sms_settings->where('name', 'enable_sparrow')->first(); // Check if $enableSparrowValue is null or 0 $sparrowisChecked = ($enableSparrowValue && $enableSparrowValue->value == 1) ? 'checked' : ''; @endphp

SMS India Hub

@php $enablesms_india_hubValue = $sms_settings->where('name', 'enable_sms_india_hub')->first(); // Check if $enablesms_india_hubValue is null or 0 $sms_india_hubisChecked = ($enablesms_india_hubValue && $enablesms_india_hubValue->value == 1) ? 'checked' : ''; @endphp
@endsection