mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
28 lines
653 B
TypeScript
28 lines
653 B
TypeScript
export const DEFAULT_VIEW_COLUMNS = [];
|
|
|
|
export const CustomerDefaultViews = [
|
|
{
|
|
name: 'Overdue',
|
|
slug: 'overdue',
|
|
rolesLogicExpression: '1',
|
|
roles: [
|
|
{ index: 1, fieldKey: 'status', comparator: 'equals', value: 'overdue' },
|
|
],
|
|
columns: DEFAULT_VIEW_COLUMNS,
|
|
},
|
|
{
|
|
name: 'Unpaid',
|
|
slug: 'unpaid',
|
|
rolesLogicExpression: '1',
|
|
roles: [
|
|
{ index: 1, fieldKey: 'status', comparator: 'equals', value: 'unpaid' },
|
|
],
|
|
columns: DEFAULT_VIEW_COLUMNS,
|
|
},
|
|
];
|
|
|
|
export const ERRORS = {
|
|
CUSTOMER_HAS_TRANSACTIONS: 'CUSTOMER_HAS_TRANSACTIONS',
|
|
CUSTOMER_ALREADY_ACTIVE: 'CUSTOMER_ALREADY_ACTIVE',
|
|
};
|