wip
This commit is contained in:
1 parent
7b36b71316
commit
df1061e51c
2 files changed
+6
-3
No files matched your search
@@ -353,6 +353,8 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// dd($this->boxes);
|
||||||
|
|
||||||
$this->calculateAspg();
|
$this->calculateAspg();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -558,6 +560,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
|||||||
// Il valore Y dovrebbe essere configurabile in una interfaccia. Il valore iniziale lo fissiamo a Y = 180
|
// Il valore Y dovrebbe essere configurabile in una interfaccia. Il valore iniziale lo fissiamo a Y = 180
|
||||||
|
|
||||||
// Somma Minuti Giocati da Player (SMG) nel DB
|
// Somma Minuti Giocati da Player (SMG) nel DB
|
||||||
|
$tmp['somma_minuti'] = $val->total_min;
|
||||||
|
|
||||||
// il valore corrispondente al ruolo del Player (esempio un giocatore in Details ha ruolo = RW
|
// il valore corrispondente al ruolo del Player (esempio un giocatore in Details ha ruolo = RW
|
||||||
// quindi Aspettativa Statistica (AS) per RW = 0.219)
|
// quindi Aspettativa Statistica (AS) per RW = 0.219)
|
||||||
@@ -570,8 +573,6 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
|||||||
// exp_total_shots
|
// exp_total_shots
|
||||||
// exp_shots_on_target
|
// exp_shots_on_target
|
||||||
|
|
||||||
$somma_minuti = $val->total_min;
|
|
||||||
|
|
||||||
$bettypes = ['goals', 'cards', 'fouls', 'offsides', 'total_shots', 'shots_on_target'];
|
$bettypes = ['goals', 'cards', 'fouls', 'offsides', 'total_shots', 'shots_on_target'];
|
||||||
foreach ($bettypes as $bettype) {
|
foreach ($bettypes as $bettype) {
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ return new class extends Migration
|
|||||||
$table->id();
|
$table->id();
|
||||||
$table->integer('client_id')->index();
|
$table->integer('client_id')->index();
|
||||||
$table->integer('sport_id')->default(1);
|
$table->integer('sport_id')->default(1);
|
||||||
$table->integer('sport_id')->default(1);
|
$table->integer('team_id')->index();
|
||||||
|
$table->string('lineup');
|
||||||
|
$table->text('placement');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user