tooltip final

This commit is contained in:
salam committed 2025-12-23 12:43:06 +01:00
1 parent c9588f39b6
commit 4ab4dcfd8c
19 files changed
+130 -220

No files matched your search

+8 -23
View File
@@ -13,6 +13,8 @@ class Columns3way extends Column
protected ?array $fumetto;
protected ?bool $has_odds;
public function loadData($record, $multiline_client)
{
@@ -32,29 +34,7 @@ class Columns3way extends Column
}
}
// $this->multiline = [];
// foreach ($multiline_client as $slot => $bookmaker) {
// $open = true;
// foreach ($this->fumetto as $item) {
// if ($item['bookmaker_id'] == $bookmaker->bookmaker_id) {
// $this->multiline[$slot] = $item;
// $open = false;
// }
// }
// if ($open) {
// $item = new stdClass;
// $item['icon'] = $bookmaker->bookmaker->icon;
// $item['h3w'] = 0;
// $item['d3w'] = 0;
// $item['a3w'] = 0;
// $item['margin'] = 0;
// $item['bookmaker_id'] = $bookmaker->bookmaker_id;
// $this->multiline[$slot] = $item;
// }
// }
$this->has_odds = count($this->multiline) ? true : false;
}
public function getMultilines(): ?array
@@ -66,4 +46,9 @@ class Columns3way extends Column
{
return $this->fumetto;
}
public function hasodds()
{
return $this->has_odds;
}
}