mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: subscription page content
This commit is contained in:
@@ -1,87 +1,56 @@
|
||||
// @ts-nocheck
|
||||
import { createReducer } from '@reduxjs/toolkit';
|
||||
import intl from 'react-intl-universal';
|
||||
import t from '@/store/types';
|
||||
|
||||
const getSubscriptionPlans = () => [
|
||||
{
|
||||
name: intl.get('plan.capital_basic.title'),
|
||||
name: 'Capital Basic',
|
||||
slug: 'capital_basic',
|
||||
description:
|
||||
'Manage recurring and one-time billing, including subscriptions and invoices.',
|
||||
description: 'Good for service businesses that just started.',
|
||||
features: [
|
||||
intl.get('plan.feature.sales_invoices'),
|
||||
intl.get('plan.feature.sales_estimates'),
|
||||
intl.get('plan.feature.customers'),
|
||||
intl.get('plan.feature.credit_notes'),
|
||||
intl.get('plan.feature.manual_journals'),
|
||||
intl.get('plan.feature.expenses_tracking'),
|
||||
intl.get('plan.feature.basic_financial_reports'),
|
||||
'Sale Invoices and Estimates',
|
||||
'Tracking Expenses',
|
||||
'Customize Invoice',
|
||||
'Manual Journals',
|
||||
'Bank Reconciliation',
|
||||
'Chart of Accounts',
|
||||
'Taxes',
|
||||
'Basic Financial Reports & Insights',
|
||||
],
|
||||
price: '$29',
|
||||
pricePeriod: 'Per Year',
|
||||
},
|
||||
{
|
||||
name: intl.get('plan.capital_plus.title'),
|
||||
name: 'Capital Plus',
|
||||
slug: 'capital_plus',
|
||||
description:
|
||||
'Manage recurring and one-time billing, including subscriptions and invoices.',
|
||||
'Good for businesses have inventory and want more financial reports.',
|
||||
features: [
|
||||
intl.get('plan.feature.all_capital_basic'),
|
||||
intl.get('plan.feature.predefined_user_roles'),
|
||||
intl.get('plan.feature.custom_tables_views'),
|
||||
intl.get('plan.feature.transactions_locking'),
|
||||
intl.get('plan.feature.plus_financial_reports'),
|
||||
intl.get('plan.feature.custom_fields_resources'),
|
||||
'All Capital Basic features',
|
||||
'Manage Bills',
|
||||
'Inventory Tracking',
|
||||
'Multi Currencies',
|
||||
'Predefined user roles.',
|
||||
'Transactions locking.',
|
||||
'Smart Financial Reports.',
|
||||
],
|
||||
price: '$29',
|
||||
pricePeriod: 'Per Year',
|
||||
featured: true,
|
||||
},
|
||||
{
|
||||
name: intl.get('plan.essential.title'),
|
||||
name: 'Capital Big',
|
||||
slug: 'essentials',
|
||||
description:
|
||||
'Manage recurring and one-time billing, including subscriptions and invoices.',
|
||||
description: 'Good for businesses have multiple inventory or branches.',
|
||||
features: [
|
||||
intl.get('plan.feature.all_capital_plus'),
|
||||
intl.get('plan.feature.sales_purchases_order'),
|
||||
intl.get('plan.feature.purchase_invoices'),
|
||||
intl.get('plan.feature.inventory_tracking'),
|
||||
intl.get('plan.feature.custom_roles'),
|
||||
intl.get('plan.feature.multiply_currency_transcations'),
|
||||
intl.get('plan.feature.inventory_reports'),
|
||||
intl.get('plan.feature.landed_cost'),
|
||||
'All Capital Plus features',
|
||||
'Multiple Warehouses',
|
||||
'Multiple Branches',
|
||||
'Invite >= 15 Users',
|
||||
],
|
||||
price: '$29',
|
||||
pricePeriod: 'Per Year',
|
||||
},
|
||||
// {
|
||||
// name: intl.get('plan.capital_enterprise.title'),
|
||||
// slug: 'enterprise',
|
||||
// description: [
|
||||
// intl.get('plan.feature.all_capital_essential'),
|
||||
// intl.get('plan.feature.multiply_branches'),
|
||||
// intl.get('plan.feature.multiply_warehouses'),
|
||||
// intl.get('plan.feature.accounting_dimensions'),
|
||||
// intl.get('plan.feature.warehouses_reports'),
|
||||
// intl.get('plan.feature.branches_reports'),
|
||||
// ],
|
||||
// price: '120',
|
||||
// currencyCode: 'LYD',
|
||||
// periods: [
|
||||
// {
|
||||
// slug: 'month',
|
||||
// label: intl.get('plan.monthly'),
|
||||
// price: '120',
|
||||
// },
|
||||
// {
|
||||
// slug: 'year',
|
||||
// label: intl.get('plan.yearly'),
|
||||
// price: '1,195',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
];
|
||||
|
||||
const initialState = {
|
||||
|
||||
Reference in New Issue
Block a user