]> _ Git - psq.git/commitdiff
boolean nova profile filled
authorLouis Jeckel <louis.jeckel@outlook.com>
Mon, 14 Dec 2020 17:00:25 +0000 (18:00 +0100)
committerLouis Jeckel <louis.jeckel@outlook.com>
Mon, 14 Dec 2020 17:00:25 +0000 (18:00 +0100)
app/Nova/User.php

index aee97f01a663101ea24799c1a7c767f93aacbf68..18ed6c05b7583254a3c9deab8a6d5982b46dbd3a 100644 (file)
@@ -94,6 +94,7 @@ class User extends Resource
                     AppUser::TYPE_DISCOVER => 'Découverte',
                 ])->hideFromIndex()->required()->withMeta(['value' => $this->type ?? static::$type ?? AppUser::TYPE_SUBSCRIBER]),
                 Boolean::make('Compte activé', 'reg_complete')->hideWhenCreating()->hideWhenUpdating()->readonly(),
+                Boolean::make('Profil rempli', 'profile_filled')->hideWhenCreating()->hideWhenUpdating()->readonly(),
                 Boolean::make('Reçoit fichier PDF', 'receives_pdf')->hideFromIndex(),
 
             ]),