diff --git a/app/Nova/TravelAssignment.php b/app/Nova/TravelAssignment.php index c35d25379..e11fa109e 100644 --- a/app/Nova/TravelAssignment.php +++ b/app/Nova/TravelAssignment.php @@ -110,7 +110,8 @@ public function fields(NovaRequest $request): array ->withoutTrashed() ->searchable() ->rules('required', 'unique:travel_assignments,user_id,NULL,id,travel_id,'.$request->travel) - ->readonly(static fn (NovaRequest $request): bool => $request->editMode === 'update'), + ->readonly(static fn (NovaRequest $request): bool => $request->editMode === 'update') + ->help(view('nova.help.travel.assignment.member')->render()), BelongsTo::make('Trip', 'travel', Travel::class) ->withoutTrashed() diff --git a/resources/views/nova/help/travel/assignment/member.blade.php b/resources/views/nova/help/travel/assignment/member.blade.php new file mode 100644 index 000000000..5f1e6ce5a --- /dev/null +++ b/resources/views/nova/help/travel/assignment/member.blade.php @@ -0,0 +1 @@ +Only members that have recently paid dues are shown here by default. If you need to create an assignment for a member that hasn't paid dues, go to their user details page and click Create Trip Assignment there. diff --git a/resources/views/nova/help/travel/assignment/trip.blade.php b/resources/views/nova/help/travel/assignment/trip.blade.php index 910698344..7a01750e5 100644 --- a/resources/views/nova/help/travel/assignment/trip.blade.php +++ b/resources/views/nova/help/travel/assignment/trip.blade.php @@ -1 +1 @@ -Only upcoming trips are shown here by default. If you need to create an assignment for a past trip, go to the trip details page and click Create Trip Assignment there. +Only upcoming trips in draft status are shown here by default. If you need to create an assignment for a past trip, go to the trip details page and click Create Trip Assignment there.