diff --git a/app/Filament/Resources/UserResource.php b/app/Filament/Resources/UserResource.php index b64202f..859b540 100644 --- a/app/Filament/Resources/UserResource.php +++ b/app/Filament/Resources/UserResource.php @@ -40,6 +40,14 @@ public static function form(Form $form): Form ->required(), Forms\Components\Toggle::make('is_admin') ->required(), + Forms\Components\Toggle::make('is_cashier') + ->required(), + // pin_code 6 digits + Forms\Components\TextInput::make('pin_code') + ->required() + ->minLength(6) + ->maxLength(6), + ]); }