This commit is contained in:
salam committed 2026-10-13 18:17:36 +02:00
1 parent 483b5e1abe
commit e41168121f
3 files changed
+12 -3

No files matched your search

@@ -43,7 +43,6 @@ class PlayerPropsTable extends TableWidget
<div>Foot</div>
<div>Evt</div>
<div>Min</div>
</div>');
}
@@ -8,6 +8,7 @@ use App\Models\SofaScoreTaskDay;
use App\Utilities\Notice;
use Illuminate\Support\Carbon;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Mail;
@@ -51,10 +52,16 @@ trait GrappingSofascore
public function handle(): void
{
ini_set('memory_limit', '2048M');
set_time_limit(0);
error_reporting(E_ALL);
ini_set('display_errors', 1);
DB::connection()->disableQueryLog();
$this->debug = $this->options()['d'] ?? 0;
$this->restart = $this->options()['r'] ?? 0;
@@ -6,7 +6,11 @@
<div class="text-3xl font-bold"> {{ $team_name }} <span
class="text-sm font-light">({{ $player_on_field_counter }})</span></div>
<div class="flex gap-3">
<x-filament::button icon="phosphor-user-circle-check" color="success" tooltip="Find best formation and create lineup" wire:click="generateBestLineUp()"/>
<x-filament::button
icon="phosphor-user-circle-check"
tooltip="Find best formation and create lineup"
wire:click="generateBestLineUp"
/>
<x-filament::button icon="phosphor-user-switch" tooltip="Create lineup for selected formation" wire:click="generateLineUp()"/>
<x-filament::button icon="phosphor-x" tooltip="Clear all" wire:click="clearResultTable()" />
@@ -27,7 +31,6 @@
</x-slot>
</x-filament::modal>
<x-filament::button icon="phosphor-arrows-clockwise" tooltip="Reload" wire:click="loadPlacement()" />
{{-- <x-filament::button icon="phosphor-calculator" tooltip="Calculate" wire:click="calculateAspg(1)" /> --}}
<x-filament::button icon="phosphor-copy" color="success"
tooltip="Copy results for pasting into a spread sheet" wire:click="copyResult()" />
@role('super_admin')