Add an accommodations reservations module #188

Merged
pierre merged 81 commits from accomodation_module into master 2024-06-22 21:30:26 +00:00
Showing only changes of commit 337f6ced5d - Show all commits

View File

@ -5,11 +5,13 @@ import interactionPlugin from "@fullcalendar/interaction";
import listPlugin from "@fullcalendar/list"; import listPlugin from "@fullcalendar/list";
import FullCalendar from "@fullcalendar/react"; import FullCalendar from "@fullcalendar/react";
import { import {
Alert,
Checkbox, Checkbox,
FormControl, FormControl,
FormControlLabel, FormControlLabel,
FormGroup, FormGroup,
FormLabel, FormLabel,
Typography,
} from "@mui/material"; } from "@mui/material";
import React from "react"; import React from "react";
import { FamilyApi, FamilyUser } from "../../../api/FamilyApi"; import { FamilyApi, FamilyUser } from "../../../api/FamilyApi";
@ -101,7 +103,11 @@ export function AccommodationsReservationsRoute(): React.ReactElement {
errMsg="Echec du chargement de la liste des réservations !" errMsg="Echec du chargement de la liste des réservations !"
build={() => ( build={() => (
<div style={{ display: "flex", flexDirection: "row" }}> <div style={{ display: "flex", flexDirection: "row" }}>
<div style={{ flex: 1, maxWidth: "250px" }}> <div style={{ flex: 1, maxWidth: "250px", marginRight: "20px" }}>
<Alert severity="info">
Cliquez sur le calendrier pour créer une réservation.
</Alert>
{/* Invitation status */} {/* Invitation status */}
<FormControl <FormControl
sx={{ m: 3 }} sx={{ m: 3 }}