Logo
Explore Help
Register Sign In
letsbe/pn-new-crm
1
0
Fork 0
You've already forked pn-new-crm
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
Files
f1ed2a5f87969c7213e3acb72b480885320770ce
pn-new-crm/src/app/(dashboard)/[portSlug]/berth-reservations/[id]/page.tsx

11 lines
352 B
TypeScript
Raw Normal View History

feat(reservations): detail page with agreement flow + contract mirror 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>
2026-04-28 02:45:05 +02:00
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} />;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 42ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API