1.1.11
What's Changed
- allow to customize the user model
- Models from config
- ui improvements
Changelogs and Releases Notes for Athena: Booking and Appointments Managements.
to get the users list for services, yo can implement the method:
public static function athenaUsers(): Collection | array
{
return config('auth.providers.users.model')::query()->pluck(self::getAthenaUserFullNameAttribute(), 'id');
}
now you can assign services to users, and they will be able to. manage their requests.
php artisan vendor:publish --tag=zeus-athena-migrations
customize the service manager by implementg the method isServicesManager
public function isServicesManager(): bool
{
return str_ends_with($this->email, '@yourdoma.com');
}