Compare commits
No commits in common. "master" and "feature/Romain" have entirely different histories.
master
...
feature/Ro
46
Readme.md
46
Readme.md
@ -1,46 +0,0 @@
|
||||
# HegreHotel
|
||||
|
||||
**Projet de gestion hôtelière développé avec MAUI pour les réceptionnistes.**
|
||||
Permet la gestion des clients, des chambres, des réservations, et des réceptionnistes via une application mobile Android.
|
||||
|
||||
## 🔧 Installation
|
||||
|
||||
Cloner le projet :
|
||||
```bash
|
||||
git clone https://gitea.btssio-poitiers.fr/allavenavr/HegreHotel.git
|
||||
cd HegreHotel
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📱 Fonctionnalités principales
|
||||
|
||||
| Fonction | Description |
|
||||
|------------------------|-----------------------------------------------------------------------------|
|
||||
| Gestion des utilisateurs | Ajout, modification et suppression des clients et réceptionnistes |
|
||||
| Gestion des chambres | Création, modification, suppression, visualisation, blocage/déblocage |
|
||||
| Réservations | Création/modification avec dates, nombre d'invités, demandes spécifiques |
|
||||
| Historique client | Accès à l'historique complet des séjours, y compris les réservations annulées |
|
||||
| Affichage | Vue d’ensemble des chambres disponibles/occupées, filtrage par période |
|
||||
|
||||
---
|
||||
|
||||
## ▶️ Lancement de l’application
|
||||
|
||||
1. Sélectionner la plateforme cible : **Android**.
|
||||
2. Brancher un appareil ou utiliser un émulateur.
|
||||
3. Cliquer sur **Run** (ou `F5`) dans Visual Studio.
|
||||
|
||||
---
|
||||
|
||||
## 📦 Contraintes techniques
|
||||
|
||||
- Application mobile sous Android
|
||||
- Développée avec .NET MAUI
|
||||
- Utilisation d'une base de données SQLite
|
||||
|
||||
---
|
||||
|
||||
## 🕓 Deadline
|
||||
|
||||
- Livraison finale prévue : **9 mai 2025**
|
@ -10,126 +10,89 @@
|
||||
|
||||
<StackLayout>
|
||||
<StackLayout>
|
||||
<StackLayout Padding="20" Orientation="Vertical">
|
||||
<StackLayout Padding="20" Orientation="Horizontal">
|
||||
<StackLayout Padding="20" Orientation="Horizontal">
|
||||
<BoxView HeightRequest="5" Color="MediumPurple"/>
|
||||
<Label Text="Arrivée(s)"
|
||||
FontSize="24"
|
||||
FontAttributes="Bold"
|
||||
HorizontalOptions="Center"/>
|
||||
</StackLayout>
|
||||
|
||||
FontSize="24"
|
||||
FontAttributes="Bold"
|
||||
HorizontalOptions="Center"/>
|
||||
|
||||
</StackLayout>
|
||||
<ListView x:Name="GestionArriveListView" HasUnevenRows="True">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<StackLayout Orientation="Vertical" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<!-- Première ligne : ID chambre et Nombre de personnes -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="ID chambre :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="120"/>
|
||||
<Label Text="{Binding ChambreId}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
|
||||
<Label Text="Nombres de personnes :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="160"/>
|
||||
<Label Text="{Binding NbPersonnes}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
</StackLayout>
|
||||
|
||||
<!-- Deuxième ligne : Date d'arrivée -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="Date d'arrivée :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="150"/>
|
||||
<Label Text="{Binding DateDebut, StringFormat='{0:dd/MM/yyyy}'}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
|
||||
<!-- Troisième ligne : Date de départ -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="Date de départ :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="150"/>
|
||||
<Label Text="Aujourd'hui"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout>
|
||||
<Label Text="ID chambre :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="{Binding ChambreId}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="Nombres de personnes :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="{Binding NbPersonnes}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="Date d'arrivée : aujourd'hui"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
<Label Text="Date de départ :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
<Label Text="{Binding DateFin, StringFormat='{0:dd/MM/yyyy}'}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
|
||||
|
||||
<StackLayout Padding="20" Orientation="Vertical">
|
||||
<StackLayout Padding="20" Orientation="Horizontal">
|
||||
<BoxView HeightRequest="5" Color="MediumPurple"/>
|
||||
<Label Text="Départ(s)"
|
||||
FontSize="24"
|
||||
FontAttributes="Bold"
|
||||
HorizontalOptions="Center" />
|
||||
</StackLayout>
|
||||
|
||||
<ListView x:Name="GestionDepartListView" HasUnevenRows="True">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<!-- StackLayout principal avec orientation verticale -->
|
||||
<StackLayout Orientation="Vertical" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<!-- Première ligne : ID chambre et Nombre de personnes -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="ID chambre :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="120"/>
|
||||
<Label Text="{Binding ChambreId}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
|
||||
<Label Text="Nombres de personnes :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="160"/>
|
||||
<Label Text="{Binding NbPersonnes}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
</StackLayout>
|
||||
|
||||
<!-- Deuxième ligne : Date d'arrivée -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="Date d'arrivée :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="150"/>
|
||||
<Label Text="{Binding DateDebut, StringFormat='{0:dd/MM/yyyy}'}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
|
||||
<!-- Troisième ligne : Date de départ -->
|
||||
<StackLayout Orientation="Horizontal" Padding="5" HorizontalOptions="FillAndExpand">
|
||||
<Label Text="Date de départ :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="150"/>
|
||||
<Label Text="Aujourd'hui"
|
||||
<StackLayout>
|
||||
<StackLayout Padding="20" Orientation="Horizontal">
|
||||
|
||||
<BoxView HeightRequest="5" Color="MediumPurple"/>
|
||||
<Label Text="Départ(s)"
|
||||
FontSize="24"
|
||||
FontAttributes="Bold"
|
||||
HorizontalOptions="Center" />
|
||||
|
||||
</StackLayout>
|
||||
<ListView x:Name="GestionDepartListView" HasUnevenRows="True">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<StackLayout>
|
||||
<Label Text="ID chambre :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="{Binding ChambreId}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="Nombres de personnes :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="{Binding NbPersonnes}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="50"/>
|
||||
<Label Text="Date d'arrivée :"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
<Label Text="{Binding DateDebut, StringFormat='{0:dd/MM/yyyy}'}"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
|
||||
</StackLayout>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</StackLayout>
|
||||
|
||||
|
||||
<Label Text="Date de départ : aujourd'hui"
|
||||
VerticalOptions="Center"
|
||||
WidthRequest="100"/>
|
||||
</StackLayout>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</StackLayout>
|
||||
|
||||
</StackLayout>
|
||||
</ContentPage.Content>
|
||||
|
Loading…
x
Reference in New Issue
Block a user