diff --git a/app/Console/Commands/Grapper/Betsapi/Bet365.php b/app/Console/Commands/Grapper/Betsapi/Bet365.php index 09051da4..216e5c65 100644 --- a/app/Console/Commands/Grapper/Betsapi/Bet365.php +++ b/app/Console/Commands/Grapper/Betsapi/Bet365.php @@ -33,7 +33,7 @@ class Bet365 $bookmaker_id = 126; if ($single) { - $events = Event::where('id', Nuh::$options['id'])->select('id', 'sport_id', 'bet365_id', 'starttime')->get(); + $events = Event::where('id', Nuh::$options['id'])->where('bet365_id', '>', 0)->select('id', 'sport_id', 'bet365_id', 'starttime')->get(); } elseif ($today) { $events = Event::where('bet365_id', '>', 0)->where('starttime', '>', Carbon::now()->toDateTimeString())->where('starttime', '<', Carbon::now()->addDay()->toDateTimeString())->select('id', 'sport_id', 'bet365_id', 'starttime')->get(); } elseif ($week) { @@ -42,7 +42,9 @@ class Bet365 // all $events = Event::where('bet365_id', '>', 0)->where('starttime', '>', Carbon::now()->toDateTimeString())->select('id', 'sport_id', 'bet365_id', 'starttime')->get(); } - + if ($events ?? null && $debug) { + Notice::note('No events', 'r'); + } foreach ($events as $key => $event) { if ($debug) { diff --git a/todo.md b/todo.md index 5d982099..6427dcdd 100644 --- a/todo.md +++ b/todo.md @@ -1,19 +1,20 @@ -- [ ] betsapi last call -- [ ] service auto mapper all provider - [ ] move ip from tiger to db1 then close tiger or just downsize him - [ ] txdds inactive and closed events feeds - [ ] txdds bookmaker flags - [ ] add start and end time to groups (make groups garpper?) -- [ ] grap goldbet -- [ ] grap betica - [ ] role inside roles make script for standard user - [ ] counry icons in prod not showing +- [ ] grap betica +- [ ] grap goldbet + +- [ ] find fixture +- [ ] service auto mapper all provider +- [ ] betsapi last call + - [x] stars in frontend - [x] txodds last call - [x] logifuture production grapper +- [x] Event Filter Indicators and reset button - -- [ ] Find Fixture -- [ ] Event Filter Indicators and reset button \ No newline at end of file