Add an accommodations reservations module #188

Merged
pierre merged 81 commits from accomodation_module into master 2024-06-22 21:30:26 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3a218cd3fb - Show all commits

View File

@ -111,7 +111,7 @@ export function UpdateAccommodationDialog(p: {
<PropCheckbox
checkboxAlwaysVisible
editable={accommodation?.open_to_reservations === true}
label="Validation des réservations requise"
label="Validation des réservations par un administrateur requise"
checked={accommodation?.need_validation === true}
onValueChange={(c) =>
setAccommodation((a) => {

View File

@ -55,7 +55,7 @@ function AccommodationsListCard(): React.ReactElement {
await accommodations.reloadAccommodationsList();
} catch (e) {
console.error("Failed to create accommodation!", e);
alert(`Echec de la création du logement! ${e}`);
alert(`Échec de la création du logement! ${e}`);
} finally {
loading.hide();
}