diff --git a/app/lib/db-types.ts b/app/lib/db-types.ts index db92e21..e5f7e0a 100644 --- a/app/lib/db-types.ts +++ b/app/lib/db-types.ts @@ -28,8 +28,18 @@ export interface UserSettings { ownerIBAN?: string | null; /** currency (ISO 4217) */ currency?: string | null; + /** owner Revolut payment link */ + ownerRevolutProfileName?: string | null; /** whether to show 2D code in monthly statement */ show2dCodeInMonthlyStatement?: boolean | null; + /** whether to show payment instructions in monthly statement */ + showPaymentInstructionsInMonthlyStatement?: "disabled" | "iban" | "revolut" | null; + + // /** whether enableshow IBAN payment instructions in monthly statement */ + // enableIbanPaymentInstructionsInMonthlyStatement?: boolean | null; + // /** whether to enable Revolut payment instructions in monthly statement */ + // enableRevolutPaymentInstructionsInMonthlyStatement?: boolean | null; + }; /** bill object in the form returned by MongoDB */ diff --git a/app/ui/NoteBox.tsx b/app/ui/NoteBox.tsx new file mode 100644 index 0000000..ce60aa8 --- /dev/null +++ b/app/ui/NoteBox.tsx @@ -0,0 +1,7 @@ +import { FC, ReactNode } from "react"; + +export const NoteBox: FC<{ children: ReactNode, className?: string }> = ({ children, className }) => +
+ {error} +