busao
    Preparing search index...

    Function getSuccessContent

    • Builds the content of the "Success" page based on the provided tokens.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • database: BunSQLiteDatabase

        The project's database.

      • date: Date

        The date the trip was registered in.

      • oneWayTripToken: string

        The token of the associated one-way trip.

      • returnTripToken: string

        The token of the associated return trip.

      Returns responseInformation

      The status message of the trip.

      In case both tokens are provided, it's inferred that the trip is a roundtrip.