fumetto 1col & 2col
This commit is contained in:
1 parent
937c5908d2
commit
531b4c0dc9
34 files changed
+809
-673
No files matched your search
@@ -16,7 +16,7 @@ class Column3way extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class Column3way extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_3ways) ? true : false;
|
||||
$this->has_data = count($record->odds_3ways);
|
||||
|
||||
$this->act = $record->odds_3ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class Column3wayHt extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class Column3wayHt extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_3ways_ht) ? true : false;
|
||||
$this->has_data = count($record->odds_3ways_ht);
|
||||
|
||||
$this->act = $record->odds_3ways_ht->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnDc extends Column
|
||||
|
||||
protected ?array $bookmakers;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnDc extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_dc) ? true : false;
|
||||
$this->has_data = count($record->odds_dc);
|
||||
|
||||
$this->act = $record->odds_dc->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnDnb extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnDnb extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_dnb) ? true : false;
|
||||
$this->has_data = count($record->odds_dnb);
|
||||
|
||||
$this->act = $record->odds_dnb->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnGgng extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnGgng extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_ggng) ? true : false;
|
||||
$this->has_data = count($record->odds_ggng);
|
||||
|
||||
$this->act = $record->odds_ggng->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnMl extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnMl extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_2ways) ? true : false;
|
||||
$this->has_data = count($record->odds_2ways);
|
||||
|
||||
$this->act = $record->odds_2ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnMlS1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnMlS1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_2ways_s1) ? true : false;
|
||||
$this->has_data = count($record->odds_2ways_s1);
|
||||
|
||||
$this->act = $record->odds_2ways->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnPoint extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnPoint extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_points) ? true : false;
|
||||
$this->has_data = count($record->odds_points);
|
||||
|
||||
$this->act = $record->odds_points->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnPointQ1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnPointQ1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_points_q1) ? true : false;
|
||||
$this->has_data = count($record->odds_points_q1);
|
||||
|
||||
$this->act = $record->odds_points_q1->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotal extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotal extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals) ? true : false;
|
||||
$this->has_data = count($record->odds_totals);
|
||||
|
||||
$this->act = $record->odds_totals->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotalHt extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotalHt extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals_ht) ? true : false;
|
||||
$this->has_data = count($record->odds_totals_ht);
|
||||
|
||||
$this->act = $record->odds_totals_ht->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTotalQ1 extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTotalQ1 extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_totals_q1) ? true : false;
|
||||
$this->has_data = count($record->odds_totals_q1);
|
||||
|
||||
$this->act = $record->odds_totals_q1->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class ColumnTq extends Column
|
||||
|
||||
protected $act;
|
||||
|
||||
protected ?bool $has_data;
|
||||
protected ?int $has_data;
|
||||
|
||||
public function bookmakers(?array $bookmakers): static
|
||||
{
|
||||
@@ -37,7 +37,7 @@ class ColumnTq extends Column
|
||||
|
||||
public function loadData($record)
|
||||
{
|
||||
$this->has_data = count($record->odds_tq) ? true : false;
|
||||
$this->has_data = count($record->odds_tq);
|
||||
|
||||
$this->act = $record->odds_tq->where('bookmaker_id', auth()->user()->bookmaker_id)->first();
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class FilterOdds
|
||||
$checked_at = Carbon::createFromDate($model->checked_at)->timestamp;
|
||||
|
||||
if (! isset($filter['margin'])) {
|
||||
dd($model->bookmaker_id);
|
||||
Bookmakers::updateOrCreate(['id' => (int) $model->bookmaker_id], ['need_check' => 1]);
|
||||
}
|
||||
|
||||
if ($model->margin <= $filter['margin'] && $checked_at > time() - $filter['time_lastcheck']) {
|
||||
|
||||
Reference in new issue
Block a user