Registration Status Screen
fun RegistrationStatusScreen(navController: NavController, controllers: AppControllers, campsiteId: String, fromDate: LocalDate, endDate: LocalDate, numPeople: Int)
Displays the campsite registration status and lottery entry options.
Shows the selected reservation details and allows users to join an available lottery. Checks whether registration is open and whether the lottery is full.
Successful entries navigate to the lottery confirmation screen, while failed entries display an error message.
Parameters
nav Controller
The NavController used for navigation.
controllers
The AppControllers used to access campsite, lottery, and user information.
campsite Id
The ID of the selected campsite.
from Date
The reservation start date.
end Date
The reservation end date.
num People
The number of guests included in the entry.