In the top right click on the kebab menu and select Administration.
Click on the User Management entry.
Find your user in the table and click on them.
Set your user's first name, last name, and department and then click save.
Note that there is no way to edit your division, branch or unit via the UI.
In the database, find your user's record update the department, division, and branch to match something like
Health and Social Services -> Community and Primary Care -> Integrated Health Services
This information can be found in the YgDepartments table.
Go to your profile via the top nav kebab menu and refresh the page to check that your details are correct.
Go to the My Travel Request page via the top drop down nav.
Click on the "+ Travel Authorization" button to create a travel authorization.
Fill in the first two sections and make sure that your travel method is "Aircraft".
Generate the estimate via the call-to-action button.
Submit to yourself as the supervisor.
Go to the Manager View via the top drop down nav.
Find your approval in the Pending Approvals section and click on it.
Scroll down to the bottom and approve it via the button and dialog.
Go back to the "My Travel Request" page via the top drop down nav.
Find you travel request in the table and click the "Submit Travel Desk Request button.
Fill in all required fields and submit the request.
Go to the "Travel Desk" page via the top drop down nav.
Find the request in the Travel Desk Requests table, and note that the department and branch are missing.
Note that the "Travel Start Date" column is returning "Dec 29 1969" which is unlikely to be correct.
The "Travel End Date" column is blank.
Expected behavior The traveler name, department and branch should be populated.
Screenshots
Desktop (please complete the following information):
Browser: Chrome
Version v2024.7.29.1
Implementation
Standardize travel desk page component.
Break export to csv code out into a component.
Move csv and print data serialization to back-end.
Standardize travel-desk-travel-requests use files, front-end api, back-end api, policy and serializer.
Update TravelSegment#departureOn field type to match actual type returned by Sequelize. DATEONLY returns a string, but accepts both Date and string. Sadly Sequelize + Typescript doesn't support one format for setter and a different format for getter.
In the top right click on the kebab menu and select Administration.
Click on the User Management entry.
Find your user in the table and click on them.
Set your user's first name, last name, and department and then click save.
Note that there is no way to edit your division, branch or unit via the UI.
In the database, find your user's record update the department, division, and branch to match something like
Health and Social Services -> Community and Primary Care -> Integrated Health Services
This information can be found in the YgDepartments table.
Go to your profile via the top nav kebab menu and refresh the page to check that your details are correct.
Go to the My Travel Request page via the top drop down nav.
Click on the "+ Travel Authorization" button to create a travel authorization.
Fill in the first two sections and make sure that your travel method is "Aircraft".
Generate the estimate via the call-to-action button.
Submit to yourself as the supervisor.
Go to the Manager View via the top drop down nav.
Find your approval in the Pending Approvals section and click on it.
Scroll down to the bottom and approve it via the button and dialog.
Go back to the "My Travel Request" page via the top drop down nav.
Find you travel request in the table and click the "Submit Travel Desk Request button.
Fill in all required fields and submit the request.
Go to the "Travel Desk" page via the top drop down nav.
Check that the table now has the correct Department, Branch, Travel Start Date, Travel End Date info.
Fixes https://github.com/ytgov/travel-authorization/issues/113
Context
Describe the bug On the https://travel-auth-dev.ynet.gov.yk.ca/travel-desk grid screen the user, department and branch fields are not being populated. To Reproduce Steps to reproduce the behavior:
Updated steps to reproduce.
Health and Social Services -> Community and Primary Care -> Integrated Health Services
This information can be found in theYgDepartments
table.Note that the "Travel Start Date" column is returning "Dec 29 1969" which is unlikely to be correct. The "Travel End Date" column is blank.
Expected behavior The traveler name, department and branch should be populated.
Screenshots
Desktop (please complete the following information):
Browser: Chrome
Version v2024.7.29.1
Implementation
Screenshots
Table View with fixed data
Pre-Print view with fixed data
Print view with fixed data
CSV export of table
Testing Instructions
dev test
(ordev test_api
)dev up
Health and Social Services -> Community and Primary Care -> Integrated Health Services
This information can be found in theYgDepartments
table.