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

Company Settings

Configure your company and system settings

@csrf
@csrf

Note: When generating new accounts, the system will find the highest account number matching this length. Set to 1 to continue from the absolute highest account number regardless of length. Defaults to 5 digits for new customers when no existing accounts are found.

@csrf

Customer Types to Notify

Notification Types

@csrf

System WhatsApp Server Status: {{ $companySettings['whatsapp_server_status'] ?? 'N/A' }}
@csrf
@if($companySettings['whatsapp_status'] == 0) {{--
--}}

Step 1: Add Phone Number

@csrf
{{--
--}} @endif @if($companySettings['whatsapp_status'] == 1 && $companySettings['whatsapp_active'] == "inactive")

Step 2: Connect Phone

Phone Status Expiry Actions
{{ $whatsapp->phonenumber }} {{ $whatsapp->status }} {{ $whatsapp->expiry }}
@csrf @method('DELETE')
@elseif($companySettings['whatsapp_status'] == 1 && $companySettings['whatsapp_active'] == "active")

✓ WhatsApp Connected Successfully!

Phone: {{ $whatsapp->phonenumber }}

Gateway Expiry: {{ $whatsapp->expiry }}

Gateway Url: {{ $whatsapp->url }}

@csrf

Customer Types to Notify

Notification Types

@endif
@csrf

M-Pesa Business

Personal Paybill

Personal Till

Personal Bank

@endsection