return "Prospects";
}
+ public static function singularLabel()
+ {
+ return "Prospect";
+ }
+
public static function indexQuery(NovaRequest $request, $query)
{
return $query->where('type', 1);
return "Autres utilisateurs";
}
+ public static function singularLabel()
+ {
+ return "Utilisateur (autre)";
+ }
+
public static function indexQuery(NovaRequest $request, $query)
{
return $query->where('type', 2);
return "Abonnés";
}
+ public static function singularLabel()
+ {
+ return "Abonné";
+ }
+
+
public static function indexQuery(NovaRequest $request, $query)
{
return $query->where('type', 0);
* @package App
* @property $first_name
* @property $last_name
+ * @property $email
* @property $id
* @property-read $name
* @property Organization $organization
'last_name' => $this->last_name,
'position' => $this->position,
'organization' => $this->organization->name ?? null,
+ 'email' => $this->email,
];
}