Basic signup for events

This commit is contained in:
2026-03-21 21:02:15 +01:00
parent 23af267896
commit b8341890d3
74 changed files with 4046 additions and 947 deletions

View File

@@ -58,6 +58,7 @@ return new class extends Migration
$table->string('medications')->nullable();
$table->string('allergies')->nullable();
$table->string('intolerances')->nullable();
$table->date('tetanus_vaccination')->nullable();
$table->string('eating_habits')->nullable();
$table->string('swimming_permission')->nullable();
$table->string('first_aid_permission')->nullable();

View File

@@ -26,8 +26,10 @@ return new class extends Migration {
$table->string('tenant');
$table->string('type');
$table->string('name');
$table->string('description')->default('');
$table->float('amount',2);
$table->string('description')->nullable()->default('');
$table->float('amount_standard',2);
$table->float('amount_reduced',2)->nullable();
$table->float('amount_solidarity', 2)->nullable();
$table->timestamps();
$table->foreign('type')->references('slug')->on('participation_types')->restrictOnDelete()->cascadeOnUpdate();

View File

@@ -22,8 +22,7 @@ return new class extends Migration {
$table->foreignId('event_id')->constrained('events', 'id')->cascadeOnDelete()->cascadeOnUpdate();
$table->foreignId('user_id')->nullable()->constrained('users', 'id')->cascadeOnDelete()->cascadeOnUpdate();
$table->string('identifier');
$table->string('firstname');
$table->string('lastname');
$table->string('nickname')->nullable();
@@ -41,7 +40,9 @@ return new class extends Migration {
$table->string('contact_person')->nullable();
$table->string('allergies')->nullable();
$table->string('intolerances')->nullable();
$table->string('eating_habits')->nullable();
$table->string('medications')->nullable();
$table->date('tetanus_vaccination')->nullable();
$table->string('eating_habit')->nullable();
$table->string('swimming_permission')->nullable();
$table->string('first_aid_permission')->nullable();
$table->boolean('foto_socialmedia')->default(false);
@@ -56,6 +57,7 @@ return new class extends Migration {
$table->longText('notes')->nullable();
$table->float('amount', 2);
$table->float('amount_paid',0)->default(0);
$table->string('payment_purpose');
$table->string('efz_status');
$table->timestamps();
$table->dateTime('unregistered_at')->nullable();