Similar Posts

Subscribe
Notify of
4 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
iQa1x
3 months ago

In principle, if I understand correctly, you have to ask for the transferred room number freeBis and then sort in the list the previous cleaning jobs, i.e. not insert at the end or beginning, but so that this list of cleaning jobs is then sorted according to freeBis, i.e. the shortest period at the beginning.

TUrabbIT
3 months ago

The task is funny. You don’t need to filter after my understanding, but don’t care. You will load the room from the database using the number of rooms or from the list “freerooms” and add the room to the list that you will sort by ascending to freeBis date. Here is the problem that the attribute freeBis is a string (why, completely incomprehensible) and on the image is not recognizable as the date is formatted.

Well, at least you would have to write your own sorting method and either manually compare it with string or convert the data to a date object and then compare it.

Elizabeth2
3 months ago

As room staff, I would stalk who says today that “woman” is woman and “man” is man, and why are these all single room occupancy…

Otherwise, that’s a tough job for insiders. You better ask in your circle of friends who really knows each other.

Jannixk14
3 months ago

Send this to your friend and helper (AI)