wip
This commit is contained in:
1 parent
e661474891
commit
65fb48b5fa
1 file changed
+8
@@ -232,11 +232,16 @@ class PlayerPropsDrop extends Widget
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->player_on_field_counter = 0;
|
$this->player_on_field_counter = 0;
|
||||||
|
|
||||||
|
$this->dispatch('update-players', players: $this->players);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function copyDevelopment()
|
public function copyDevelopment()
|
||||||
{
|
{
|
||||||
if ($this->player_on_field_counter < 10) {
|
if ($this->player_on_field_counter < 10) {
|
||||||
|
Notification::make()->title('Needs a calculation first ')
|
||||||
|
->info()
|
||||||
|
->send();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -259,6 +264,9 @@ class PlayerPropsDrop extends Widget
|
|||||||
public function copyResult()
|
public function copyResult()
|
||||||
{
|
{
|
||||||
if ($this->player_on_field_counter < 10) {
|
if ($this->player_on_field_counter < 10) {
|
||||||
|
Notification::make()->title('Needs a calculation first ')
|
||||||
|
->info()
|
||||||
|
->send();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$header = ['name', 'foot', 'events', 'average min', 'position', 'on field', 'gls', 'fls', 'ofs', 'snt', 'tsh', 'crd'];
|
$header = ['name', 'foot', 'events', 'average min', 'position', 'on field', 'gls', 'fls', 'ofs', 'snt', 'tsh', 'crd'];
|
||||||
|
|||||||
Reference in new issue
Block a user