feat: upgrade the subscription plans

This commit is contained in:
Ahmed Bouhuolia
2024-07-13 18:19:18 +02:00
parent 81b26c6f13
commit eb3f23554f
14 changed files with 397 additions and 156 deletions

View File

@@ -1,10 +1,92 @@
// @ts-nocheck
// Subscription plans.
export const plans = [
];
interface SubscriptionPlanFeature {
text: string;
hint?: string;
label?: string;
style?: Record<string, string>;
}
interface SubscriptionPlan {
name: string;
slug: string;
description: string;
features: SubscriptionPlanFeature[];
featured?: boolean;
monthlyPrice: string;
monthlyPriceLabel: string;
annuallyPrice: string;
annuallyPriceLabel: string;
}
// Payment methods.
export const paymentMethods = [
];
export const SubscriptionPlans = [
{
name: 'Capital Basic',
slug: 'capital_basic',
description: 'Good for service businesses that just started.',
features: [
{
text: 'Unlimited Sale Invoices',
hintLabel: 'Unlimited Sale Invoices',
hint: 'Good for service businesses that just started for service businesses that just started',
},
{ text: 'Unlimated Sale Estimates' },
{ text: 'Track GST and VAT' },
{ text: 'Connect Banks for Automatic Importing' },
{ text: 'Chart of Accounts' },
{ text: 'Manual Journals' },
{ text: 'Basic Financial Reports & Insights' },
{ text: 'Unlimited User Seats' },
],
monthlyPrice: '$10',
monthlyPriceLabel: 'Per month',
annuallyPrice: '$7.5',
annuallyPriceLabel: 'Per month',
},
{
name: 'Capital Essential',
slug: 'capital_plus',
description: 'Good for have inventory and want more financial reports.',
features: [
{ text: 'All Capital Basic features' },
{ text: 'Purchase Invoices' },
{ text: 'Multi Currency Transactions' },
{ text: 'Transactions Locking' },
{ text: 'Inventory Tracking' },
{ text: 'Smart Financial Reports' },
{ text: 'Advanced Inventory Reports' },
],
monthlyPrice: '$20',
monthlyPriceLabel: 'Per month',
annuallyPrice: '$15',
annuallyPriceLabel: 'Per month',
},
{
name: 'Capital Plus',
slug: 'essentials',
description: 'Good for business want financial and access control.',
features: [
{ text: 'All Capital Essential features' },
{ text: 'Custom User Roles Access' },
{ text: 'Vendor Credits' },
{ text: 'Budgeting' },
{ text: 'Analysis Tracking Tags' },
],
monthlyPrice: '$25',
monthlyPriceLabel: 'Per month',
annuallyPrice: '$18',
annuallyPriceLabel: 'Per month',
featured: true,
},
{
name: 'Capital Big',
slug: 'essentials',
description: 'Good for businesses have multiple branches.',
features: [
{ text: 'All Capital Plus features' },
{ text: 'Multiple Branches' },
{ text: 'Multiple Warehouses' },
],
monthlyPrice: '$40',
monthlyPriceLabel: 'Per month',
annuallyPrice: '$30',
annuallyPriceLabel: 'Per month',
},
] as SubscriptionPlan[];