VSN-1963 : Refactoring listing display & filters logic and Integrating the functionality of Individual adding of a new prepared passenger
Frontend and Integration Updates
1. Views and UI Adjustments
Feature: Prepared Passengers List View
- Updated the prepared passengers list to display only the required columns: Address, Firstname, Lastname, Establishment Name, and Passenger Actions.
- Removed unnecessary columns to streamline and simplify the table view.
Feature: Prepared Passenger Actions
- Restricted the enable/disable passenger switch to users with either normalized or validated status.
Refactor: Prepared Passenger Actions
- Replaced ternary expressions with
ConditionalComponentfor clearer, more maintainable conditional rendering.
2. Form Behavior
Refactor: Passenger Form
- Added a preparation mode flag to dynamically adjust mandatory form fields depending on whether the passenger is in preparation mode or normal mode.
3. New Functionalities
Feature: Add Prepared Passenger
- Integrated the individual prepared passenger creation functionality.
Feature: Saving Integration Reactivity
- Added pre-catch handling to improve stability and error resilience during the prepared passenger saving process.
4. Code Quality and Cleanup
Refactor: Code Cleanup
- Removed unused code snippets and obsolete commented lines.
Refactor: General Cleanup
- Removed unused imports to ensure cleaner, leaner modules.
5. Configuration
Config: Gateway Context Path
- Updated the gateway context path to point to the remote environment.
Closes VSN-1963