mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: billing page in dashboard and setup.
This commit is contained in:
52
client/src/store/plans/plans.reducer.js
Normal file
52
client/src/store/plans/plans.reducer.js
Normal file
@@ -0,0 +1,52 @@
|
||||
import { createReducer } from '@reduxjs/toolkit';
|
||||
|
||||
const initialState = {
|
||||
plans: [
|
||||
{
|
||||
name: 'Free',
|
||||
slug: 'free',
|
||||
description: [
|
||||
'Sales/purchases module.',
|
||||
'Expense module.',
|
||||
'Inventory module.',
|
||||
'Unlimited status pages.',
|
||||
'Unlimited status pages.',
|
||||
],
|
||||
price: {
|
||||
month: '100',
|
||||
year: '1200',
|
||||
},
|
||||
currencyCode: 'LYD',
|
||||
},
|
||||
{
|
||||
name: 'Pro',
|
||||
slug: 'pro',
|
||||
description: [
|
||||
'Sales/purchases module.',
|
||||
'Expense module.',
|
||||
'Inventory module.',
|
||||
'Unlimited status pages.',
|
||||
'Unlimited status pages.',
|
||||
],
|
||||
price: {
|
||||
month: '200',
|
||||
year: '2400',
|
||||
},
|
||||
currencyCode: 'LYD',
|
||||
},
|
||||
],
|
||||
periods: [
|
||||
{
|
||||
slug: 'month',
|
||||
label: 'Monthly',
|
||||
},
|
||||
{
|
||||
slug: 'year',
|
||||
label: 'Yearly',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default createReducer(initialState, {
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user