mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
allow sending email again
This commit is contained in:
@@ -2,12 +2,11 @@ import React from 'react'
|
||||
import Link from 'next/link'
|
||||
|
||||
import { daysFormatFrontend } from '../helpers/date'
|
||||
import { BookingDocument } from '../db/booking'
|
||||
|
||||
export default function BookingTable({
|
||||
booking,
|
||||
}: {
|
||||
booking: BookingDocument
|
||||
booking: Booking
|
||||
}) {
|
||||
const data = [
|
||||
{ name: 'Status', value: booking.status },
|
||||
@@ -58,9 +57,8 @@ export default function BookingTable({
|
||||
{data.map(({ name, value }, index) => (
|
||||
<div
|
||||
key={`${booking.uuid}-${name}`}
|
||||
className={`${
|
||||
index % 2 === 1 ? 'bg-white' : 'bg-gray-100'
|
||||
} px-2 py-3 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6`}
|
||||
className={`${index % 2 === 1 ? 'bg-white' : 'bg-gray-100'
|
||||
} px-2 py-3 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6`}
|
||||
>
|
||||
<dt className="text-sm font-medium text-gray-500">{name}</dt>
|
||||
<dd className="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
|
||||
@@ -72,4 +70,4 @@ export default function BookingTable({
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user