mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 14:37:13 +01:00
add some filed to booking table
This commit is contained in:
@@ -13,6 +13,7 @@ export default function BookingTable({
|
||||
{ name: 'Status', value: booking.status },
|
||||
{ name: 'Buchungszeitraum', value: daysFormatFrontend(booking.days) },
|
||||
{ name: 'Organisation', value: booking.org },
|
||||
{ name: 'Name', value: booking.name },
|
||||
{
|
||||
name: 'Addresse',
|
||||
value: (
|
||||
@@ -32,8 +33,10 @@ export default function BookingTable({
|
||||
</Link>
|
||||
),
|
||||
},
|
||||
{ name: 'Phone', value: booking.phone },
|
||||
{ name: 'Zweck', value: booking.purpose },
|
||||
{ name: 'Ziel', value: booking.destination },
|
||||
{ name: 'CalendarEventId', value: booking.calendarEventId },
|
||||
]
|
||||
return (
|
||||
<div
|
||||
@@ -46,6 +49,12 @@ export default function BookingTable({
|
||||
Booking {booking.uuid}
|
||||
</Link>
|
||||
</h3>
|
||||
<p className="mt-1 max-w-2xl text-sm text-gray-500">
|
||||
Created{' '}
|
||||
{new Date(booking.createdAt as string).toLocaleString(
|
||||
new Intl.Locale('de')
|
||||
)}
|
||||
</p>
|
||||
<p className="mt-1 max-w-2xl text-sm text-gray-500">
|
||||
Last updated{' '}
|
||||
{new Date(booking.updatedAt as string).toLocaleString(
|
||||
|
||||
Reference in New Issue
Block a user