diff --git a/app/Activity/Resources/ActivityResource.php b/app/Activity/Resources/ActivityResource.php index 54b38d05..4bf99653 100644 --- a/app/Activity/Resources/ActivityResource.php +++ b/app/Activity/Resources/ActivityResource.php @@ -55,6 +55,7 @@ class ActivityResource extends JsonResource 'links' => [ 'index' => route('activity.index'), 'create' => route('activity.create'), + 'membership_masslist' => route('membership.masslist.index'), ], ]; } diff --git a/app/Group/Actions/ListAction.php b/app/Membership/Actions/MassListAction.php similarity index 78% rename from app/Group/Actions/ListAction.php rename to app/Membership/Actions/MassListAction.php index a2e89133..a148ec20 100644 --- a/app/Group/Actions/ListAction.php +++ b/app/Membership/Actions/MassListAction.php @@ -1,6 +1,6 @@ put('menu', 'group'); - session()->put('title', 'Gruppen'); + session()->put('menu', 'activity'); + session()->put('title', 'Mitgliedschaften zuweisen'); $activities = Activity::with('subactivities')->get(); return Inertia::render('group/Index', [ diff --git a/app/Membership/Actions/StoreForGroupAction.php b/app/Membership/Actions/MassStoreAction.php similarity index 99% rename from app/Membership/Actions/StoreForGroupAction.php rename to app/Membership/Actions/MassStoreAction.php index 37316eee..b5824bc8 100644 --- a/app/Membership/Actions/StoreForGroupAction.php +++ b/app/Membership/Actions/MassStoreAction.php @@ -14,7 +14,7 @@ use Illuminate\Support\Facades\DB; use Lorisleiva\Actions\ActionRequest; use Lorisleiva\Actions\Concerns\AsAction; -class StoreForGroupAction +class MassStoreAction { use AsAction; use TracksJob; diff --git a/resources/js/layouts/AppLayout.vue b/resources/js/layouts/AppLayout.vue index 12d3308e..1ba4fcb8 100644 --- a/resources/js/layouts/AppLayout.vue +++ b/resources/js/layouts/AppLayout.vue @@ -2,11 +2,13 @@ -
+ }" + >
Dashboard Mitglieder @@ -14,7 +16,6 @@ Rechnungen Zuschüsse Tätigkeiten - Gruppen Mail-Verteiler
@@ -31,7 +32,7 @@