set alatm for total and point only when same hcap or total

This commit is contained in:
salam committed 2026-02-24 18:23:12 +01:00
1 parent bfecd7b536
commit a6ef8e74cc
3 files changed
+39 -13

No files matched your search

@@ -66,11 +66,13 @@ class GenerateAlarms
$odds = AlarmLoadOdds::get($event->event_id, $table, $oddnames[$table]);
// check if margin is > 1
$compare_odds = AlarmFilterCompare::get($odds, $filter);
// check if client has odds
$client_odds = AlarmFilterClient::get($odds, $client_bookmaker_id);
AlarmStore::get($event->event_id, $oddnames[$table], $client_bookmaker_id, $alarm_threshold[$multiline_id], $compare_odds, $client_odds);
AlarmStore::get($table, $event->event_id, $oddnames[$table], $client_bookmaker_id, $alarm_threshold[$multiline_id], $compare_odds, $client_odds);
}
}
}