added stammdaten form

This commit is contained in:
Rajpreet0 2026-09-28 15:53:52 +02:00
parent 378d9b9546
commit a9fdcf9fe5
18 changed files with 1249 additions and 6 deletions

View file

@ -52,7 +52,7 @@ export function ClientsTable({ clients }: { clients: Client[] }) {
return (
<div className="flex flex-col gap-8 w-full">
<div className="flex flex-row items-center justify-between gap-2 w-full p-2">
<InputGroup className="max-w-lg bg-white rounded-md focus-visible:ring-0">
<InputGroup className="max-w-lg rounded-md focus-visible:ring-0">
<InputGroupInput
placeholder="Search..."
value={query}

View file

@ -0,0 +1,16 @@
import { getStammdaten } from "@/modules/shared/queries/stammdaten"
import { StammdatenPanel } from "@/modules/shared/ui/components/stammdaten-panel"
const StammdatenAdminViewPage = async ({ clientProfileId }: { clientProfileId: string }) => {
const stammdaten = await getStammdaten(clientProfileId)
return (
<StammdatenPanel
profileId={clientProfileId}
client={stammdaten?.client ?? null}
paymentDetails={stammdaten?.paymentDetails ?? null}
/>
)
}
export default StammdatenAdminViewPage