Basic implementation event signup

This commit is contained in:
2024-05-27 16:59:30 +02:00
parent a66f2d2422
commit a69d83bc0a
321 changed files with 138376 additions and 644 deletions

View File

@ -0,0 +1,13 @@
<?php
namespace Bdp\Modules\EventParticipants\Reqeust;
use Bdp\Libs\CommonModel;
class BathRequest {
public static function send(CommonModel $participant) {
return ($participant->badeerlaubnis == 'complete' || kompass_is_fullaged( $participant->geburtsdatum ) )
? 'Schwimmer*in' :
( $participant->badeerlaubnis == 'partial' ? '<b>Nicht</b>schwimmmer*in' : 'Keine Badeerlaubnis' );
}
}