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