Give department admins the ability to create travel authorizations for another employee in there department.
Requirements
utilize the same UI as the /my-travel-requests, but will require the ability to pick the user the travel request is applied to.
create travel request for other user button could be located in the /manage-travel-requests page or the /travel-request pages. /travel-request should be renamed to /travel-requests
Route for edit access should be /travel-requests/46/details/edit
Rename DEPT_ADMIN = "dept_admin", to department_admin for better future readability.
Implementation
Opted to go with adding the button to /manage-travel-requests page because I don't want to deal with code mess in the /travel-request component tree.
Relates to:
Context
Give department admins the ability to create travel authorizations for another employee in there department.
Requirements
department_admin
for better future readability.Implementation
Opted to go with adding the button to /manage-travel-requests page because I don't want to deal with code mess in the /travel-request component tree.