You can access the Port to Port Fares page by expanding the 'Fares' dropdown under the 'Administration' section in the left sidebar and clicking on 'Port to Port'. This page allows administrators to manage fare rates for passenger travel between different ports via vessels. Here, you can view, add, update, and delete port fare records.

1. Add New Fare
To add a new port fare, click the "Add New Fare" button. This will open a modal where you can enter the new fare's details, including:
- Origin Port: Select the starting port for the fare.
- Destination Port: Select the arrival port for the fare.
- Oneway Fares:
- Adult Fare Oneway: The one-way fare for an adult.
- Student Fare Oneway: The one-way fare for a student.
- Child Fare Oneway: The one-way fare for a child.
- Infant Fare Oneway: The one-way fare for an infant.
- Return Fares:
- Adult Fare Return: The return fare for an adult.
- Student Fare Return: The return fare for a student.
- Child Fare Return: The return fare for a child.
- Infant Fare Return: The return fare for an infant.
Click "Create" within the modal to save the new record.
2. Port Fares Table
The main section of the page displays a table listing all existing port fares with the following columns:
- Origin Port: The starting port for the fare.
- Destination Port: The arrival port for the fare.
- Fares: Displays both one-way and return fares for different passenger types (Adult, Student, Child, Infant).
- Oneway: Shows fares with a
icon.
- Return: Shows fares with a
icon.
- Each fare type is displayed with an icon (e.g.,
for Adult,
for Student,
for Child,
for Infant) and its respective price.
- Created By: The user who created the fare record.
- Status: Indicates whether the fare is `Active` or disabled.
Badge: bg-success
(green) for Active. - Action: Contains icons for performing actions on the fare record:
(Edit icon): Click to edit the fare's details. This opens an "Edit Port Fare" modal.
(Delete icon): Click to delete the fare. This opens a "Delete Fare" confirmation modal.
The table also includes pagination controls (e.g., "10 entries per page") and a search bar to filter fare records.