feat: keep questionnaires until submitted, remind teamers daily and take bus feedback per leg

This commit is contained in:
fromme committed 2026-11-10 16:38:51 +01:00
1 parent abf9c1be0b
commit e72616fdbf
37 files changed
+1119 -238

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Enum;
/**
* One ride of a bus escort. The bus feedback is given once per leg the teamer escorted: the
* assignment only records the outbound stop, so the teamer says which legs they rode.
*/
enum BusLeg: string
{
case OUTBOUND = 'outbound';
case RETURN = 'return';
public function label(): string
{
return match ($this) {
self::OUTBOUND => 'Hinfahrt',
self::RETURN => 'Rückfahrt',
};
}
}