Adds /berth-reservations/[id] with state-aware agreement card (none / in-flight / completed) and the Generate-agreement entry point that opens the wizard prefilled. handleDocumentCompleted now mirrors a signed reservation_agreement onto berth_reservations.contractFileId so the portal can resolve contracts without joining through documents. Reservation merge tokens (startDate/endDate/tenureType/termSummary/ signedDate) added to the catalog. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 lines
352 B
TypeScript
11 lines
352 B
TypeScript
import { ReservationDetail } from '@/components/reservations/reservation-detail';
|
|
|
|
interface PageProps {
|
|
params: Promise<{ portSlug: string; id: string }>;
|
|
}
|
|
|
|
export default async function ReservationDetailPage({ params }: PageProps) {
|
|
const { portSlug, id } = await params;
|
|
return <ReservationDetail reservationId={id} portSlug={portSlug} />;
|
|
}
|