Compare commits

..

11 Commits

Author SHA1 Message Date
philipp lang 56af6f4cbf Fix tests
continuous-integration/drone/push Build is passing Details
2025-12-01 23:53:48 +01:00
philipp lang ac88df2cad Lint CreateExcelDocumentAction 2025-12-01 23:53:48 +01:00
philipp lang adc78a65e7 Lint 2025-12-01 23:53:48 +01:00
philipp lang c7618b0545 Fix stubs 2025-12-01 23:53:48 +01:00
philipp lang e5c2599846 Fix tests 2025-12-01 23:53:48 +01:00
philipp lang 3a80e3bcee Fix participant scout index 2025-12-01 23:53:48 +01:00
philipp lang 4abdac75f6 Add ID to participant excel document 2025-12-01 23:53:48 +01:00
philipp lang 1e4361c709 Add cancelled participants to excel sheet 2025-12-01 23:53:48 +01:00
philipp lang 8924774ed0 Add Soft deletes to participants
Fix tests
2025-12-01 23:53:46 +01:00
philipp lang f0ed9185ba Update changelog
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details
2025-11-18 12:36:53 +01:00
philipp lang f9deb56d22 Fix: Update work phone 2025-11-18 12:36:08 +01:00
3 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# Letzte Änderungen # Letzte Änderungen
### 1.12.22
- Bei Mitgliedern wird nun auch die geschäftliche tel-nr aktualisiert
### 1.12.21 ### 1.12.21
- Reply-To-Header bei Versand von Prävention-und-Veranstaltungs-Mails kann nun eingestellt werden - Reply-To-Header bei Versand von Prävention-und-Veranstaltungs-Mails kann nun eingestellt werden

View File

@ -75,6 +75,7 @@ class MemberRequest extends FormRequest
'send_newspaper' => 'boolean', 'send_newspaper' => 'boolean',
'main_phone' => ['nullable', new ValidPhoneRule('Telefon (Eltern)')], 'main_phone' => ['nullable', new ValidPhoneRule('Telefon (Eltern)')],
'mobile_phone' => ['nullable', new ValidPhoneRule('Handy (Eltern)')], 'mobile_phone' => ['nullable', new ValidPhoneRule('Handy (Eltern)')],
'work_phone' => ['nullable', new ValidPhoneRule('Tel geschäftlich')],
'invoice_address' => '', 'invoice_address' => '',
'gender_id' => 'nullable|exists:genders,id', 'gender_id' => 'nullable|exists:genders,id',
'region_id' => 'nullable|exists:regions,id', 'region_id' => 'nullable|exists:regions,id',

View File

@ -157,6 +157,18 @@ it('testItSetsLocationToNull', function () {
]); ]);
}); });
it('updates work phone', function () {
$this->withoutExceptionHandling()->login()->loginNami();
$member = factory()->notInNami()->create();
fakeRequest();
NamiPutMemberAction::allowToRun();
$this->patch("/member/{$member->id}", MemberUpdateRequestFactory::new()->noNami()->create([
'work_phone' => '+49 212 1353688',
]));
test()->assertDatabaseHas('members', ['work_phone' => '+49 212 1353688']);
});
it('testItUpdatesContact', function () { it('testItUpdatesContact', function () {
$this->withoutExceptionHandling()->login()->loginNami(); $this->withoutExceptionHandling()->login()->loginNami();
$member = factory()->notInNami()->create(); $member = factory()->notInNami()->create();