diff --git a/.bash_history b/.bash_history new file mode 100644 index 00000000..609c5a72 --- /dev/null +++ b/.bash_history @@ -0,0 +1,17 @@ +php artisan migrate:fresh --seed +exit +php artisan migrate:fresh --seed +php artisan migrate:fresh --database=mysqlrtest +php artisan migrate:fresh --database=mysqltest +exit +php artisan migrate:fresh --seed +exit +exit +php artisan migrate:fresh --seed +exit +exit +php artisan tinker +exit +php artisan tinker +v +exit diff --git a/.config/psysh/psysh_history b/.config/psysh/psysh_history new file mode 100644 index 00000000..94d40e5d --- /dev/null +++ b/.config/psysh/psysh_history @@ -0,0 +1,2 @@ +\App\User::factory()->create(); +\App\User::factory()->create(); diff --git a/app/Member/MemberResource.php b/app/Member/MemberResource.php index 21587a38..a7ae0975 100644 --- a/app/Member/MemberResource.php +++ b/app/Member/MemberResource.php @@ -61,6 +61,7 @@ class MemberResource extends JsonResource 'first_subactivity_id' => $this->first_subactivity_id, 'age_group_icon' => $this->age_group_icon, 'courses' => CourseResource::collection($this->whenLoaded('courses')), + 'efz' => $this->efz, ]; } } diff --git a/resources/js/views/member/VForm.vue b/resources/js/views/member/VForm.vue index fe97ef45..1e334c77 100644 --- a/resources/js/views/member/VForm.vue +++ b/resources/js/views/member/VForm.vue @@ -25,6 +25,7 @@ +

Erste Gruppierung

@@ -44,14 +45,16 @@
-
- +
- + - +
+ + +
@@ -67,7 +70,7 @@ export default { { id: 'stammdaten', title: 'Stammdaten' }, { id: 'kontakt', title: 'Kontakt' }, { id: 'system', title: 'System' }, - { id: 'sonstiges', title: 'Sonstiges' }, + { id: 'verwaltung', title: 'Verwaltung' }, ] }; }, @@ -103,6 +106,14 @@ export default { computed: { menuTitle() { return this.menu[this.active].title; + }, + hasEfz: { + set(v) { + this.inner.efz = v ? '' : null; + }, + get() { + return this.inner.efz !== null; + } } },