help wip
This commit is contained in:
1 parent
3791379c41
commit
ec5a56a9b1
27 files changed
+514
-143
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user