Add statistics feature with bookings tracking functionality

Introduce a scalable statistics architecture including `statistics` class, interface, and related implementations. Added support for tracking new bookings with routes and data handling through `bookings_s` and `statistic_t`. Integrated the feature into the application using autoloaders and response mechanisms.
This commit is contained in:
Jepp9350
2025-01-31 12:32:22 +01:00
parent ca52d3b248
commit e09eedb010
6 changed files with 226 additions and 0 deletions
+8
View File
@@ -28,6 +28,13 @@ foreach ( glob(WD . '/traits/*.php') as $trait ) {
require_once $trait;
}
/**
* Load all statistics
*/
foreach ( glob(WD . '/statistics/*.php') as $statistic ) {
require_once $statistic;
}
/** Load all Classes */
require_once 'classes/encrypt.php';
require_once 'classes/authentication.php';
@@ -43,6 +50,7 @@ require_once 'classes/slack.php';
require_once 'classes/wordpress_bookings_remote.php';
require_once 'classes/language_packs.php';
require_once 'classes/economic.php';
require_once 'classes/statistics.php';
/**
* Modules