updating reports

This commit is contained in:
Flatlogic Bot 2026-03-24 12:52:05 +00:00
parent 0d0f7b2fd8
commit c5ebc795f7

15
api/check_settings.php Normal file
View File

@ -0,0 +1,15 @@
<?php
require_once __DIR__ . '/../db/config.php';
require_once __DIR__ . '/../includes/functions.php';
header('Content-Type: text/plain');
$settings = get_company_settings();
echo "Company Settings:\n";
print_r($settings);
echo "\nChecking values:\n";
echo "whatsapp_report_enabled: " . (isset($settings['whatsapp_report_enabled']) ? $settings['whatsapp_report_enabled'] : 'NOT SET') . "\n";
echo "whatsapp_report_number: " . (isset($settings['whatsapp_report_number']) ? $settings['whatsapp_report_number'] : 'NOT SET') . "\n";
?>