mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +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: 'Status', value: booking.status },
|
||||||
{ name: 'Buchungszeitraum', value: daysFormatFrontend(booking.days) },
|
{ name: 'Buchungszeitraum', value: daysFormatFrontend(booking.days) },
|
||||||
{ name: 'Organisation', value: booking.org },
|
{ name: 'Organisation', value: booking.org },
|
||||||
|
{ name: 'Name', value: booking.name },
|
||||||
{
|
{
|
||||||
name: 'Addresse',
|
name: 'Addresse',
|
||||||
value: (
|
value: (
|
||||||
@@ -32,8 +33,10 @@ export default function BookingTable({
|
|||||||
</Link>
|
</Link>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
{ name: 'Phone', value: booking.phone },
|
||||||
{ name: 'Zweck', value: booking.purpose },
|
{ name: 'Zweck', value: booking.purpose },
|
||||||
{ name: 'Ziel', value: booking.destination },
|
{ name: 'Ziel', value: booking.destination },
|
||||||
|
{ name: 'CalendarEventId', value: booking.calendarEventId },
|
||||||
]
|
]
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
@@ -46,6 +49,12 @@ export default function BookingTable({
|
|||||||
Booking {booking.uuid}
|
Booking {booking.uuid}
|
||||||
</Link>
|
</Link>
|
||||||
</h3>
|
</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">
|
<p className="mt-1 max-w-2xl text-sm text-gray-500">
|
||||||
Last updated{' '}
|
Last updated{' '}
|
||||||
{new Date(booking.updatedAt as string).toLocaleString(
|
{new Date(booking.updatedAt as string).toLocaleString(
|
||||||
|
|||||||
Reference in New Issue
Block a user