busao
    Preparing search index...

    Function renderTripsTable

    • Renders the table used to see all trips by date, direction and status.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • database: BunSQLiteDatabase

        The project's database.

      • date: Date

        The desired date.

      • trip: TripDirection

        The direction of the trips.

      • status: TripStatus

        The status of the trips.

      • swap: boolean = true

        Whether to swap any tables with matching ID.

      Returns string

      A table containing the names of all trips by date, direction and status.