fix: payment viaVoucherDialog lang.

This commit is contained in:
elforjani3
2021-06-15 15:33:22 +02:00
parent aa21da88b3
commit de2cf8e8f3
4 changed files with 37 additions and 22 deletions

View File

@@ -1,4 +1,6 @@
import React from 'react';
import { createReducer } from '@reduxjs/toolkit';
import { FormattedMessage as T } from 'components';
const initialState = {
plans: [
@@ -6,11 +8,12 @@ const initialState = {
name: 'Free',
slug: 'free',
description: [
'Sales/purchases module.',
'Expense module.',
'Inventory module.',
'Unlimited status pages.',
'Unlimited status pages.',
<T id={'sale_and_purchase_invoices'} />,
<T id={'customers_vendors_accounts'} />,
<T id={'expense_tracking'} />,
<T id={'manual_journals'} />,
<T id={'financial_reports'} />,
<T id={'for_one_user_and_accountant'} />,
],
price: {
month: '100',
@@ -19,14 +22,15 @@ const initialState = {
currencyCode: 'LYD',
},
{
name: 'Pro',
slug: 'pro',
name: 'Plus',
slug: 'plus',
description: [
'Sales/purchases module.',
'Expense module.',
'Inventory module.',
'Unlimited status pages.',
'Unlimited status pages.',
<T id={'all_capital_starter_features'} />,
<T id={'multi_currency'} />,
<T id={'purchase_and_sell_orders'} />,
<T id={'inventory_management'} />,
<T id={'three_users_with_your_accountant'} />,
<T id={'advanced_financial_reports'} />,
],
price: {
month: '200',
@@ -34,6 +38,21 @@ const initialState = {
},
currencyCode: 'LYD',
},
{
name: 'Enterprise',
slug: 'enterprise',
description: [
<T id={'all_capital_essential_features'} />,
<T id={'track_multi_branches_and_locations'} />,
<T id={'projects_accounting_and_timesheets'} />,
<T id={'accounting_dimensions'} />,
],
price: {
month: '300',
year: '3,400',
},
currencyCode: 'LYD',
},
],
periods: [
{
@@ -47,6 +66,4 @@ const initialState = {
],
};
export default createReducer(initialState, {
});
export default createReducer(initialState, {});