mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat(lang): financial statement.
This commit is contained in:
@@ -3,21 +3,46 @@ import { transfromToSnakeCase, flatObject } from 'utils';
|
||||
import { formatMessage } from 'services/intl';
|
||||
|
||||
export const displayColumnsByOptions = [
|
||||
{ key: 'total', name: 'Total', type: 'total', by: '' },
|
||||
{ key: 'year', name: 'Date/Year', type: 'date_periods', by: 'year' },
|
||||
{ key: 'month', name: 'Date/Month', type: 'date_periods', by: 'month' },
|
||||
{ key: 'week', name: 'Date/Week', type: 'date_periods', by: 'month' },
|
||||
{ key: 'day', name: 'Date/Day', type: 'date_periods', by: 'day' },
|
||||
{ key: 'quarter', name: 'Date/Quarter', type: 'date_periods', by: 'quarter' },
|
||||
{ key: 'total', name: formatMessage({ id: 'total' }), type: 'total', by: '' },
|
||||
{
|
||||
key: 'year',
|
||||
name: formatMessage({ id: 'date_year' }),
|
||||
type: 'date_periods',
|
||||
by: 'year',
|
||||
},
|
||||
{
|
||||
key: 'month',
|
||||
name: formatMessage({ id: 'date_month' }),
|
||||
type: 'date_periods',
|
||||
by: 'month',
|
||||
},
|
||||
{
|
||||
key: 'week',
|
||||
name: formatMessage({ id: 'date_week' }),
|
||||
type: 'date_periods',
|
||||
by: 'month',
|
||||
},
|
||||
{
|
||||
key: 'day',
|
||||
name: formatMessage({ id: 'date_day' }),
|
||||
type: 'date_periods',
|
||||
by: 'day',
|
||||
},
|
||||
{
|
||||
key: 'quarter',
|
||||
name: formatMessage({ id: 'date_quarter' }),
|
||||
type: 'date_periods',
|
||||
by: 'quarter',
|
||||
},
|
||||
];
|
||||
|
||||
export const dateRangeOptions = [
|
||||
{ value: 'today', label: 'Today' },
|
||||
{ value: 'this_week', label: 'This Week' },
|
||||
{ value: 'this_month', label: 'This Month' },
|
||||
{ value: 'this_quarter', label: 'This Quarter' },
|
||||
{ value: 'this_year', label: 'This Year' },
|
||||
{ value: 'custom', label: 'Custom Range' },
|
||||
{ value: 'today', label: formatMessage({ id: 'today' }) },
|
||||
{ value: 'this_week', label: formatMessage({ id: 'this_week' }) },
|
||||
{ value: 'this_month', label: formatMessage({ id: 'this_month' }) },
|
||||
{ value: 'this_quarter', label: formatMessage({ id: 'this_quarter' }) },
|
||||
{ value: 'this_year', label: formatMessage({ id: 'this_year' }) },
|
||||
{ value: 'custom', label: formatMessage({ id: 'custom_range' }) },
|
||||
];
|
||||
|
||||
export const filterAccountsOptions = [
|
||||
|
||||
Reference in New Issue
Block a user