]> _ Git - psq.git/commitdiff
Update User.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Fri, 11 Sep 2020 14:04:36 +0000 (16:04 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Fri, 11 Sep 2020 14:04:36 +0000 (16:04 +0200)
app/Nova/User.php

index 9c4a0be465fbbcc6c6ab68619c6c7daf2eeb3bb2..9d764e1a04d1d2c3ed41ec69f48a14745eaa7cd2 100644 (file)
@@ -68,8 +68,7 @@ class User extends Resource
             Text::make('Téléphone', 'phone'),
             new Panel('Adresse', $this->addressFields()),
             new Panel('Affiliation', [
-                BelongsTo::make('Organisation', 'organization', Organization::class)->searchable()->required(),
-
+                BelongsTo::make('Organisation', 'organization', Organization::class)->searchable(),
             ]),
             Boolean::make('Compte activé', 'reg_complete')->hideWhenCreating(),
             Select::make('Type')->options([