mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
Merge branch 'feature/landed-cost'
This commit is contained in:
6
client/src/common/allocateLandedCostType.js
Normal file
6
client/src/common/allocateLandedCostType.js
Normal 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' },
|
||||
];
|
||||
@@ -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',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -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' },
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -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')}`,
|
||||
|
||||
@@ -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' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user