Files
nutzwerte_fi4/app/Actions/Helper/ShowHelp.php
T
2025-11-05 18:07:50 +01:00

22 lines
427 B
PHP

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