This commit is contained in:
salam committed 2026-09-21 22:24:29 +02:00
1 parent 2085d0f512
commit b72b99273f
5 files changed
+19 -13

No files matched your search

@@ -34,10 +34,12 @@ class SofaScoreTaskForm
'excel' => '<span class="text-rose-600">Excel</span>',
]),
DatePicker::make('day_from')
->belowLabel('Full: 01.01 - Half: 01.07')
->required()
->native()
->visible(fn(Get $get): bool => in_array($get('mode'), ['date', 'range'])),
DatePicker::make('day_to')
->belowLabel('Full: 31.12 - Half: 30.06')
->required()
->native()
->visible(fn(Get $get): bool => $get('mode') === 'range'),
+4 -4
View File
@@ -248,9 +248,9 @@ class PlayerPropsDrop extends Widget
$this->players[$k]['gls'] = '';
$this->players[$k]['fls'] = '';
$this->players[$k]['ofs'] = '';
$this->players[$k]['crd'] = '';
$this->players[$k]['snt'] = '';
$this->players[$k]['tsh'] = '';
$this->players[$k]['crd'] = '';
}
$this->storePlacement();
@@ -272,9 +272,9 @@ class PlayerPropsDrop extends Widget
$this->players[$k]['gls'] = '';
$this->players[$k]['fls'] = '';
$this->players[$k]['ofs'] = '';
$this->players[$k]['crd'] = '';
$this->players[$k]['snt'] = '';
$this->players[$k]['tsh'] = '';
$this->players[$k]['crd'] = '';
}
$this->player_on_field_counter = 0;
@@ -335,9 +335,9 @@ class PlayerPropsDrop extends Widget
$tmp[] = $row['gls'];
$tmp[] = $row['fls'];
$tmp[] = $row['ofs'];
$tmp[] = $row['crd'];
$tmp[] = $row['snt'];
$tmp[] = $row['tsh'];
$tmp[] = $row['crd'];
$copystring .= implode(';', $tmp) . "\n";
}
@@ -356,9 +356,9 @@ class PlayerPropsDrop extends Widget
$this->players[$k]['gls'] = '';
$this->players[$k]['fls'] = '';
$this->players[$k]['ofs'] = '';
$this->players[$k]['crd'] = '';
$this->players[$k]['snt'] = '';
$this->players[$k]['tsh'] = '';
$this->players[$k]['crd'] = '';
}
$this->dispatch('update-players', players: $this->players);
+2 -2
View File
@@ -37,9 +37,9 @@ class PlayerPropsTable extends TableWidget
<div>Gls</div>
<div>Fls</div>
<div>Ofs</div>
<div>Crd</div>
<div>Snt</div>
<div>Tsh</div>
<div>Crd</div>
<div>Foot</div>
<div>Evt</div>
<div>Min</div>
@@ -57,7 +57,7 @@ class PlayerPropsTable extends TableWidget
->emptyStateHeading('No team selected')
->columns([
ViewColumn::make('drag_card')
->label(fn () => $this->getHeadingTable())
->label(fn() => $this->getHeadingTable())
->view('filament.tables.columns.drag-card'),
])->extraAttributes([
'id' => 'playerdragtable',