wip
This commit is contained in:
1 parent
a7e09c6590
commit
641b362752
2 files changed
+37
-31
No files matched your search
@@ -2,9 +2,11 @@
|
||||
|
||||
namespace App\Filament\Clusters\Maintenance\Resources\Events\Tables;
|
||||
|
||||
use App\Models\Liga;
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
@@ -21,12 +23,16 @@ class EventsTable
|
||||
return $record->sport->icon;
|
||||
}),
|
||||
TextColumn::make('starttime')->dateTime('M j, Y H:i')->sortable(),
|
||||
IconColumn::make('liga.country.icon')->label('')
|
||||
->icon(function ($state): string {
|
||||
return $state;
|
||||
}),
|
||||
// IconColumn::make('liga_id')->label('Flag')
|
||||
// ->icon(fn (string $state): Heroicon => match ($state) {
|
||||
// default => Heroicon::OutlinedPencil,
|
||||
// // return Liga::where('id', $state)->value('country.icon')->first();
|
||||
// }),
|
||||
TextColumn::make('liga.country.name'),
|
||||
TextColumn::make('liga.name')->searchable(),
|
||||
// TextColumn::make('liga.name')->searchable()
|
||||
// ->icon(fn (string $record): string => match ($record) {
|
||||
// default => $record->liga->country->icon
|
||||
// }),
|
||||
TextColumn::make('home.name')->searchable(),
|
||||
TextColumn::make('away.name')->searchable(),
|
||||
// TextColumn::make('prid')
|
||||
|
||||
Generated
+26
-26
@@ -2527,16 +2527,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v12.26.2",
|
||||
"version": "v12.26.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "56c5fc46cfb1005d0aaa82c7592d63edb776a787"
|
||||
"reference": "1a8e961a1801794c36c243bb610210d0a2bd61cb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/56c5fc46cfb1005d0aaa82c7592d63edb776a787",
|
||||
"reference": "56c5fc46cfb1005d0aaa82c7592d63edb776a787",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/1a8e961a1801794c36c243bb610210d0a2bd61cb",
|
||||
"reference": "1a8e961a1801794c36c243bb610210d0a2bd61cb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2576,8 +2576,8 @@
|
||||
"symfony/http-kernel": "^7.2.0",
|
||||
"symfony/mailer": "^7.2.0",
|
||||
"symfony/mime": "^7.2.0",
|
||||
"symfony/polyfill-php83": "^1.31",
|
||||
"symfony/polyfill-php84": "^1.31",
|
||||
"symfony/polyfill-php83": "^1.33",
|
||||
"symfony/polyfill-php84": "^1.33",
|
||||
"symfony/polyfill-php85": "^1.33",
|
||||
"symfony/process": "^7.2.0",
|
||||
"symfony/routing": "^7.2.0",
|
||||
@@ -2740,7 +2740,7 @@
|
||||
"issues": "https://github.com/laravel/framework/issues",
|
||||
"source": "https://github.com/laravel/framework"
|
||||
},
|
||||
"time": "2025-08-26T18:04:56+00:00"
|
||||
"time": "2025-08-27T13:51:06+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/prompts",
|
||||
@@ -4435,16 +4435,16 @@
|
||||
},
|
||||
{
|
||||
"name": "openspout/openspout",
|
||||
"version": "v4.30.1",
|
||||
"version": "v4.31.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/openspout/openspout.git",
|
||||
"reference": "4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc"
|
||||
"reference": "90dc2f7ce0b59084b78cd86ca7c5d367759496cd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/openspout/openspout/zipball/4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc",
|
||||
"reference": "4550fc0dbf01aff86d12691f8a7f6ce22d2b2edc",
|
||||
"url": "https://api.github.com/repos/openspout/openspout/zipball/90dc2f7ce0b59084b78cd86ca7c5d367759496cd",
|
||||
"reference": "90dc2f7ce0b59084b78cd86ca7c5d367759496cd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -4454,17 +4454,17 @@
|
||||
"ext-libxml": "*",
|
||||
"ext-xmlreader": "*",
|
||||
"ext-zip": "*",
|
||||
"php": "~8.3.0 || ~8.4.0"
|
||||
"php": "~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-zlib": "*",
|
||||
"friendsofphp/php-cs-fixer": "^3.80.0",
|
||||
"infection/infection": "^0.30.1",
|
||||
"friendsofphp/php-cs-fixer": "^3.86.0",
|
||||
"infection/infection": "^0.31.2",
|
||||
"phpbench/phpbench": "^1.4.1",
|
||||
"phpstan/phpstan": "^2.1.17",
|
||||
"phpstan/phpstan-phpunit": "^2.0.6",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.4",
|
||||
"phpunit/phpunit": "^12.2.6"
|
||||
"phpstan/phpstan": "^2.1.22",
|
||||
"phpstan/phpstan-phpunit": "^2.0.7",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.6",
|
||||
"phpunit/phpunit": "^12.3.7"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)",
|
||||
@@ -4512,7 +4512,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/openspout/openspout/issues",
|
||||
"source": "https://github.com/openspout/openspout/tree/v4.30.1"
|
||||
"source": "https://github.com/openspout/openspout/tree/v4.31.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -4524,7 +4524,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-07-07T06:15:55+00:00"
|
||||
"time": "2025-08-29T05:42:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "outhebox/blade-flags",
|
||||
@@ -10751,16 +10751,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
"version": "11.0.10",
|
||||
"version": "11.0.11",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||
"reference": "1a800a7446add2d79cc6b3c01c45381810367d76"
|
||||
"reference": "4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1a800a7446add2d79cc6b3c01c45381810367d76",
|
||||
"reference": "1a800a7446add2d79cc6b3c01c45381810367d76",
|
||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4",
|
||||
"reference": "4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -10817,7 +10817,7 @@
|
||||
"support": {
|
||||
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
||||
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
|
||||
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/show"
|
||||
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.11"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -10837,7 +10837,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2025-06-18T08:56:18+00:00"
|
||||
"time": "2025-08-27T14:37:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-file-iterator",
|
||||
|
||||
Reference in new issue
Block a user