multi betts wip
This commit is contained in:
1 parent
1aa044fff1
commit
b39196c9eb
62 files changed
+1237
-208
No files matched your search
@@ -34,17 +34,17 @@ class ColumnTotal extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_total) ? true : false;
|
||||
$this->has_data = count($record->odds_totals) ? true : false;
|
||||
|
||||
$this->act = $record->odds_total->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
$this->act = $record->odds_totals->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
$this->max['over'] = $record->odds_total->max('over');
|
||||
$this->max['over'] = $record->odds_totals->max('over');
|
||||
|
||||
$this->max['under'] = $record->odds_total->max('under');
|
||||
$this->max['under'] = $record->odds_totals->max('under');
|
||||
|
||||
$this->min['over'] = $record->odds_total->min('over');
|
||||
$this->min['over'] = $record->odds_totals->min('over');
|
||||
|
||||
$this->min['under'] = $record->odds_total->min('under');
|
||||
$this->min['under'] = $record->odds_totals->min('under');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user