fix : common rtl

This commit is contained in:
elforjani3
2021-06-14 15:45:11 +02:00
parent 0a276ca5e0
commit aa21da88b3
7 changed files with 44 additions and 23 deletions

View File

@@ -1,3 +1,8 @@
import intl from 'react-intl-universal';
export default [{ name: intl.get('libya'), value: 'libya' }];
export const getCountries = () => [
{
name: intl.get('libya'),
value: 'libya',
},
];

View File

@@ -1,6 +1,6 @@
import intl from 'react-intl-universal';
export default [
export const getCurrencies = () => [
{ name: intl.get('us_dollar'), code: 'USD' },
{ name: intl.get('euro'), code: 'EUR' },
{ name: intl.get('libyan_diner'), code: 'LYD' },

View File

@@ -1,7 +1,7 @@
import moment from 'moment';
import intl from 'react-intl-universal';
export default [
export const getDateFormats =()=> [
{
id: 1,
name: intl.get('mm_dd_yy'),

View File

@@ -1,6 +1,6 @@
import intl from 'react-intl-universal';
export const getFiscalYearOptions = () => [
export const getFiscalYear = () => [
{
id: 0,
name: `${intl.get('january')} - ${intl.get('december')}`,

View File

@@ -1,6 +1,6 @@
import intl from 'react-intl-universal';
export default [
export const getLanguages = () => [
{ name: intl.get('english'), value: 'en' },
{ name: intl.get('arabic'), value: 'ar' },
];