fimetto minimum ok

This commit is contained in:
salam committed 2026-01-03 18:15:52 +01:00
1 parent 9c78f507f4
commit a2b0569c9e
20 files changed
+134 -25

No files matched your search

+10
View File
@@ -11,6 +11,8 @@ class ColumnTq extends Column
protected ?array $max;
protected ?array $min;
protected $data;
protected ?array $bookmakers;
@@ -34,10 +36,13 @@ class ColumnTq extends Column
$this->data = OddsQualify::with('bookmaker')->where('event_id', $record->id)->get();
$this->max['htq'] = $this->data->max('htq');
$this->min['htq'] = $this->data->min('htq');
$this->max['atq'] = $this->data->max('atq');
$this->min['atq'] = $this->data->min('atq');
$this->max['margin'] = $this->data->max('margin');
$this->min['margin'] = $this->data->min('margin');
$this->has_data = count($this->data) ? true : false;
}
@@ -52,6 +57,11 @@ class ColumnTq extends Column
return $this->max;
}
public function getMin()
{
return $this->min;
}
public function hasData()
{
return $this->has_data;