Files
2025-11-07 10:52:36 +01:00

24 lines
461 B
PHP

<?php
namespace App\Actions\Helper;
use App\Models\Help;
use Filament\Actions\Action;
class ShowHelp
{
public static function show($kennung)
{
$helping = Help::where('kennung', $kennung)->first();
if (! $helping) {
return false;
}
return Action::make('help')
->icon('phosphor-question')
->tooltip(view('pages.help')->with('helping', $helping))
->iconButton();
}
}