Add account hierarchy framework with migrations, RLS policies, and UI components
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { CreateSepaBatchForm } from '@kit/finance/components';
|
||||
import { getSupabaseServerClient } from '@kit/supabase/server-client';
|
||||
|
||||
import { CreateSepaBatchForm } from '@kit/finance/components';
|
||||
import { CmsPageShell } from '~/components/cms-page-shell';
|
||||
import { AccountNotFound } from '~/components/account-not-found';
|
||||
import { CmsPageShell } from '~/components/cms-page-shell';
|
||||
|
||||
interface Props {
|
||||
params: Promise<{ account: string }>;
|
||||
@@ -21,7 +21,11 @@ export default async function NewSepaBatchPage({ params }: Props) {
|
||||
if (!acct) return <AccountNotFound />;
|
||||
|
||||
return (
|
||||
<CmsPageShell account={account} title="Neuer SEPA-Einzug" description="SEPA-Lastschrifteinzug erstellen">
|
||||
<CmsPageShell
|
||||
account={account}
|
||||
title="Neuer SEPA-Einzug"
|
||||
description="SEPA-Lastschrifteinzug erstellen"
|
||||
>
|
||||
<CreateSepaBatchForm accountId={acct.id} account={account} />
|
||||
</CmsPageShell>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user