mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 21:41:16 +00:00
added stammdaten form
This commit is contained in:
parent
378d9b9546
commit
a9fdcf9fe5
18 changed files with 1249 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
16
modules/admin/ui/views/stammdaten-admin-view.tsx
Normal file
16
modules/admin/ui/views/stammdaten-admin-view.tsx
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue