Travel Desk forms should be created anytime a user is traveling by air.
Implementation
Genericized TravelDeskHotel edit table and children, so they can work outside of their current location.
Standardized the hotels table structure and updated the entity relationship diagrams.
Made paranoid mode the default for all models, enhancing data security.
Alphabetize model imports.
Add "blocked to true confirm" dialog helper, that lets the user keep deleting table entries after disabling the confirmation dialog.
Concerns
Selecting "no" for conference meeting/hotel, still requires that you enter a hotel/conference name.
This functionality was in the original code, but doesn't quite make sense to me.
It might make sense to either update the text on change?
Relates to:
Context
Using the existing Travel Desk forms (https://github.com/ytgov/travel-authorization/tree/main/web/src/modules/travelDesk) rewire the travel desk request to exist in the travel desk tab of the travel auth.
Travel Desk forms should be created anytime a user is traveling by air.
Implementation
TravelDeskHotel
edit table and children, so they can work outside of their current location.Concerns
Selecting "no" for conference meeting/hotel, still requires that you enter a hotel/conference name. This functionality was in the original code, but doesn't quite make sense to me. It might make sense to either update the text on change?
Screenshots
Hotel Request edit table![image](https://github.com/icefoganalytics/travel-authorization/assets/23045206/e97bab8f-b338-4edc-bf7d-fbe3a42e613d)
Create hotel dialog![image](https://github.com/icefoganalytics/travel-authorization/assets/23045206/1c2a0aff-db17-4735-846b-75c71846352e)
Edit Hotel dialog![image](https://github.com/icefoganalytics/travel-authorization/assets/23045206/214b6bbe-d028-4c79-9030-7df87f1057d3)
Testing Instructions
dev test
(ordev test_api
)dev up
Note that the Other Transportation Request section do not work yet.