Update billing system to support single and recurring payments

This update modifies the billing system to properly handle both single and recurring payment plans. Logic is introduced to determine whether the selected plan is recurring or a one-time payment and adjust the interface accordingly. The naming of some components and variables has been changed to more accurately reflect their purpose. Additionally, a
This commit is contained in:
giancarlo
2024-04-01 20:58:26 +08:00
parent 6b72206b00
commit 84a4b45bcd
22 changed files with 291 additions and 119 deletions

View File

@@ -29,7 +29,7 @@ export function PersonalAccountSettingsContainer(
}>,
) {
return (
<div className={'flex w-full flex-col space-y-8 pb-32'}>
<div className={'flex w-full flex-col space-y-6 pb-32'}>
<Card>
<CardHeader>
<CardTitle>

View File

@@ -27,7 +27,7 @@ export function TeamAccountSettingsContainer(props: {
};
}) {
return (
<div className={'flex w-full flex-col space-y-8'}>
<div className={'flex w-full flex-col space-y-6'}>
<Card>
<CardHeader>
<CardTitle>