wip
This commit is contained in:
1 parent
9ca5657827
commit
6f3d608704
47 files changed
+1005
-145
No files matched your search
@@ -17,6 +17,7 @@ class MaglooStorePoints
|
||||
$odds['active_spread'] = $value['active_spread'];
|
||||
$odds['handicap'] = $handicap;
|
||||
$odds['difference'] = abs(1 / $odds['home'] - 1 / $odds['away']);
|
||||
$odds['flags'] = 1;
|
||||
|
||||
$odds = array_merge($odds, $base);
|
||||
|
||||
@@ -28,6 +29,7 @@ class MaglooStorePoints
|
||||
if (! $res) {
|
||||
OddsPoint::create($odds);
|
||||
} else {
|
||||
$res->flags = 1;
|
||||
$res->home = number_format($odds['home'], 2);
|
||||
$res->away = number_format($odds['away'], 2);
|
||||
$res->handicap = number_format($odds['handicap'], 2);
|
||||
|
||||
Reference in new issue
Block a user