# TODO Booking - [ ] Selected time breaks if we click on a date that has reservations already. - [ ] **URGENT**: You cannot reserve for already booked hours! - In validation -- **OMAR** - [ ] develop a simple `/admin` UI(without Auth for now) so that we can see a list of all reservations for each day and a delete action so that we can remove reservations. **Mehrad** ![](https://i.imgur.com/LgtGVWb.png) - [x] Tooltip bug(check image below) - [x] tooltip needs to show hours in military format - [ ] it should display "delivery on monday" or "deliver next day"(in Italian) for those reservations ![](https://i.imgur.com/UUJBGnH.png) "Il giorno dopo entro le 10" -> - [x] tooltip needs to show hours in military format - [ ] it should display "delivery on monday" or "deliver next day"(in Italian) for those reservations - [ ] make the day darker if there is a single reservation but it's reserving the whole day - [ ] add errors when time range is reserved and user try to reserve //"Il giorno Venerdi 17 entro le 10" --- ## Not urgent but nice to have - [ ] Loading spinning - [ ] "Queste date non sono selezionabili" : Toast message on selecting Sat and Sund (Sa Do) ![](https://i.imgur.com/InaeoUj.png) - [x] Insert an list of blocked days other than su/sun : Staic arrays that contains holidays - Same behavour - [x] Change the backgound color of Sat sund - [ ] Le mie prenotazioni (My reservations): Shows in a table list all the reservations for the user: /reservation as usual and you loop in the array and in each reservation you filter the bookings belonging to the current user ('mrossi') ## DONE - [x] On click on Prenota, `currentBooking` goes null. Default value - [x] It is still not possible to book on friday and decide to return the monday next before 10 - [x] Remove border from Prenota button and make it the same color as Electro logo. ***Sina*** - [x] if 3 ore selected, summary won't update correctly when clicking on other days. - [x] make all the times militar time (replace 9:00am for 9:00 and 2:00pm for 14:00). ***Sina*** - [x] Remove 9 and 9:30 pick up times. Add next day return time at 10:00 for everyday. ***Sina*** - [x] Use toastify https://fkhadra.github.io/react-toastify/. **Sina** - [x] Add the ability for the user to select a date with a reservation, show a button that says `Cancella` at the bottom left corner of the summary box so that user can delete his/her reservation. **Mehrad** - [x] **URGENT**: The **Il giorno dopo entro le 10** is not showing in Update Reservations. **Sina** - [x] fix time format on tooltip - ***Sina*** - [x] remove **AM** from 10AM in **Per quante ore** select box - **Sina** - [x] Show Toast Error if selected hour is not valid - ***Sina*** - [x] Elimina- >Delete and popup to confirm deletio will remove from reservation booking ***Sina***