Merge branch 'feature/landed-cost'

This commit is contained in:
a.bouhuolia
2021-07-27 05:49:20 +02:00
237 changed files with 5482 additions and 926 deletions

View File

@@ -0,0 +1,6 @@
import intl from 'react-intl-universal';
export default [
{ name: intl.get('bills'), value: 'Bill' },
{ name: intl.get('expenses'), value: 'Expense' },
];

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' },
];