Billing changes

This commit is contained in:
Frank Schubert
2024-08-05 21:09:13 +02:00
parent 75f75b6327
commit a6389f014f
10 changed files with 357 additions and 149 deletions

View File

@@ -152,6 +152,7 @@ class VoiceCallHistoryModel {
public static function countVoiceCallHistory($filters) {
$db = FronkDB::singleton();
$sql = "SELECT COUNT(*) as `total_rows` FROM `VoiceCallHistory` WHERE 1 " . self::getSqlFilter($filters);
mfLoghandler::singleton()->debug($sql);
$result = $db->query($sql);
return $result->fetch_assoc()['total_rows'];
}