Skip to content

Commit

Permalink
telegram user data in admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
romo4ko committed Oct 27, 2024
1 parent 9794f21 commit cb707c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ public static function form(Form $form): Form
Forms\Components\TextInput::make('email')
->disabled()
->required(),
Forms\Components\TextInput::make('telegram_username')
->label('Telegram username')
->unique()
->nullable(),
Forms\Components\TextInput::make('telegram_id')
->label('Telegram ID')
->disabled()
->nullable(),
Forms\Components\Section::make()->schema([
Forms\Components\Checkbox::make('is_confirmed')->label('Верифицирован'),
Forms\Components\Checkbox::make('is_admin')->label('Администратор'),
Expand Down

0 comments on commit cb707c4

Please sign in to comment.