Dev:LH Core Admin-Destinations/Ports

From Kordeus Wiki
Jump to navigation Jump to search

The Destinations / Ports application allows administrators to manage airports (and potentially other ports) used within the system.

It ensures that:

•Airport master data (IATA, ICAO, location) is accurate

•Geographical coordinates are stored correctly

•Local time zones are aligned with the selected city

•Operational processes (routing, medical coordination, service planning) rely on consistent and validated port data

This module supports operational precision and regulatory compliance.Ž

The Ports module ensures:

•Accurate routing information

•Correct time calculations (medical deadlines, Fit-to-Fly timing)

•Correct geolocation for operational planning

•Clean master data across all workflows

It forms a core reference database for all flight-related processes in the system.


Ports Overview Screen

The Ports Overview screen provides a searchable, sortable list of all configured destinations.

Main Features

➕ Add New Port

Button: “Add new”

•Located at the top left

•Opens the Port Details Page

🔍 Search

•Search field in the top-right corner

•Icon: 🔍

•Allows filtering by:

•Port Name

•IATA Code

•ICAO Code

Search results update dynamically.

Table View

The overview displays the following columns

Column Description

Destination / Port Name Full airport name

IATA Code 3-letter airport code (e.g., FRA)

ICAO Code 4-letter code (e.g., EDDF)

Geo Location Country, City + Latitude & Longitude

✏️ Edit Action

•Opens the selected port in edit mode

🗑 Delete Action

•Allows deletion of a port

•Requires confirmation popup before deletion

Confirmation Popup:

•“Are you sure you want to delete this port?”

•Options:

•Confirm

•Cancel

Deletion is blocked if:

•The port is actively used in operational workflows (future enhancement rule)

Port Details Page

The Port Details Page allows administrators to create or edit a port.

General Information Section

Name (Required)

•Text input

•Multilingual support (as seen with language toggle flag in mockup)

•Example: “Frankfurt Main Airport”

IATA Code (Required)

•3-character code

•Example: FRA

•Validation:

•Must be exactly 3 characters

•Uppercase only

ICAO Code (Required)

•4-character code

•Example: EDDF

•Validation:

•Must be exactly 4 characters

•Uppercase only

Location Section

Country (Required)

•Dropdown selection

•Example: Germany

City (Required)

•Text input with language toggle (as shown in mockup)

•Example: Frankfurt

Smart Prefill Logic:

When a city is selected:

•Local time zone is automatically prefilled

•Longitude is prefilled

•Latitude is prefilled

These values remain editable.

Local Time Zone (Required)

•Dropdown

•Example: Europe/Amsterdam

•Must correspond to selected country/city

Longitude (Required)

•Decimal format

•Example: 8.570000

Latitude (Required)

•Decimal format

•Example: 50.030000


Actions

Save

•Saves all changes

•Validates required fields

•Shows error messages if:

•Required fields are missing

•Codes are invalid format

•Coordinates are not valid decimal numbers

Cancel

•Cancels editing

•Shows confirmation popup:

“Discard changes?”

Options:

•Yes (leave without saving)

•No (stay on page)


Validation Rules

The system ensures:

•Name cannot be empty

•IATA Code must be 3 characters

•ICAO Code must be 4 characters

•Country and City must be selected

•Local time zone must be selected

•Longitude and Latitude must be valid decimal numbers

Clear inline error messages are displayed next to invalid fields.

Related articles

Translations