This commit is contained in:
salam committed 2026-01-26 02:06:46 +01:00
1 parent d317c733b9
commit 3b8cebf10a
6 files changed
+17 -33

No files matched your search

+11 -3
View File
@@ -323,10 +323,18 @@ class ColumnOdds extends Column
$filter = $this->filter[$model->bookmaker_id] ?? 0;
if ($filter) {
if ($model->margin <= $filter['margin']) {
$this->compare = $this->data->where('bookmaker_id', $model->bookmaker_id)->first();
if ($this->bettype == 'odds_dc') {
if ($model->margin <= $filter['margin'] * 2) {
$this->compare = $this->data->where('bookmaker_id', $model->bookmaker_id)->first();
return;
return;
}
} else {
if ($model->margin <= $filter['margin']) {
$this->compare = $this->data->where('bookmaker_id', $model->bookmaker_id)->first();
return;
}
}
}
}