diff --git a/resources/js/Components/FlightsGoneBy/Tooltips/MissingEntityLink.vue b/resources/js/Components/FlightsGoneBy/Tooltips/MissingEntityLink.vue new file mode 100644 index 0000000..4d1705d --- /dev/null +++ b/resources/js/Components/FlightsGoneBy/Tooltips/MissingEntityLink.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/resources/js/Pages/AddFlight.vue b/resources/js/Pages/AddFlight.vue index 5efafef..8e502d8 100644 --- a/resources/js/Pages/AddFlight.vue +++ b/resources/js/Pages/AddFlight.vue @@ -8,6 +8,7 @@ import AirportSearchBox from '@/Components/FlightsGoneBy/AirportSearchBox.vue' import type {SeatType, FlightReason, FlightClass, CrewType, SharedProps} from '@/Types/types' import { ref, watch, computed, onMounted, nextTick } from 'vue' import { VTimePicker, VDatePicker } from 'vuetify/components' +import MissingEntityLink from "@/Components/FlightsGoneBy/Tooltips/MissingEntityLink.vue"; defineOptions({ layout: MainLayout }) const page = usePage().props @@ -759,6 +760,10 @@ function commitArrivalTimeInput() { :prefilled-options="fromOptionsData" :error-messages="submitForm.errors.from_id" /> + +

If you can't find an airport we will be happy to add it, but you'll have to contact support with details of the airport.

+

Unfortunately you won't be able to proceed with adding this flight until the airport has been added.

+
@@ -783,6 +788,10 @@ function commitArrivalTimeInput() { :prefilled-options="airlineOptionsData" :error-messages="submitForm.errors.airline_id" /> + +

If you can't find the airline you flew with, just leave it blank but make sure to add a valid flight number. We will be notified of flights with missing airlines and add the airline shortly.

+

If you don't know your flight number or a missing airline hasn't been added within 48 hours, please contact support.

+