From aa9b7828972fd43ecad00133ea07ad580d5496b9 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 15 Jul 2023 17:30:58 +0200 Subject: [PATCH] Mark joined_at field as required --- app/Member/MemberController.php | 1 + resources/js/views/member/VForm.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Member/MemberController.php b/app/Member/MemberController.php index f152a232..c057d49c 100644 --- a/app/Member/MemberController.php +++ b/app/Member/MemberController.php @@ -43,6 +43,7 @@ class MemberController extends Controller 'without_education_at' => null, 'without_efz_at' => null, 'more_ps_at' => null, + 'joined_at' => now()->format('Y-m-d'), ], 'mode' => 'create', 'meta' => MemberResource::meta(), diff --git a/resources/js/views/member/VForm.vue b/resources/js/views/member/VForm.vue index 37c0905f..c2a916c4 100644 --- a/resources/js/views/member/VForm.vue +++ b/resources/js/views/member/VForm.vue @@ -58,7 +58,7 @@ - +