stuck with livewire
This commit is contained in:
1 parent
b21cdb507a
commit
c0f2689ff6
30 files changed
+372
-64
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Console\Commands\Grapper\TxOdds\Odds;
|
||||
|
||||
use App\Console\Commands\Grapper\Helper\ActiveSpread;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Utilities\Margin;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
@@ -29,7 +30,7 @@ class _Totals
|
||||
$odds['margin'] = (float) Margin::calculate([$odds['over'], $odds['under']], 1);
|
||||
$odds['difference'] = abs(1 / $odds['over'] - 1 / $odds['under']);
|
||||
|
||||
FillCollector::set($odds, 'odds_totals');
|
||||
ActiveSpread::collect($odds, 'odds_totals');
|
||||
|
||||
DB::table('odds_totals')->updateOrInsert([
|
||||
'event_id' => Nuh::$id,
|
||||
|
||||
Reference in new issue
Block a user