This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
{{ \Filament\Support\Facades\FilamentView::renderHook('panels::head.start') }} | |
<meta charset="utf-8" /> | |
<meta name="csrf-token" content="{{ csrf_token() }}" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
@if ($favicon = filament()->getFavicon()) | |
<link rel="icon" href="{{ $favicon }}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
{{ \Filament\Support\Facades\FilamentView::renderHook('panels::head.start') }} | |
<meta charset="utf-8" /> | |
<meta name="csrf-token" content="{{ csrf_token() }}" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
@if ($favicon = filament()->getFavicon()) | |
<link rel="icon" href="{{ $favicon }}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Resources\ClubResource\Pages; | |
use App\Models\User; | |
use App\Models\Customer; | |
use Illuminate\Support\Facades\Auth; | |
use Filament\Notifications\Notification; | |
use Filament\Notifications\Actions\Action; | |
use Filament\Resources\Pages\CreateRecord; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Tables\Columns; | |
use Filament\Tables\Columns\Column; | |
class Base64ImageView extends Column | |
{ | |
protected string $view = 'tables.columns.base64-image-view'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div class="p-1 drop-shadow-sm" style="width: 1rem;"> | |
{!! $getRecord()->qr_code !!} | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Actions; | |
use Filament\Forms; | |
use Filament\Pages\Actions\Action; | |
class PasswordAction extends Action | |
{ | |
protected function isPasswordSessionValid() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Simple, based on field max length | |
Textarea::make('content') | |
->hint(fn ($state, $component) => 'left: ' . $component->getMaxLength() - strlen($state) . ' characters') | |
->maxlength(10) | |
->lazy() //or: reactive() for instant update, but less efficient | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Widgets; | |
use App\Models\Order; | |
use Illuminate\View\View; | |
use App\Enums\OrderStatus; | |
use Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget; | |
class OrderStatusChart extends ApexChartWidget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Enums; | |
use Filament\Support\Contracts\HasIcon; | |
use Filament\Support\Contracts\HasColor; | |
use Filament\Support\Contracts\HasLabel; |
OlderNewer