mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: billing page in dashboard and setup.
This commit is contained in:
@@ -407,6 +407,9 @@ export const transformToCamelCase = (object) => {
|
||||
return deepMapKeys(object, (key) => _.snakeCase(key));
|
||||
};
|
||||
|
||||
export const transfromToSnakeCase = (object) => {
|
||||
return deepMapKeys(object, (key) => _.snakeCase(key));
|
||||
};
|
||||
|
||||
export function flatObject(obj) {
|
||||
const flatObject = {};
|
||||
@@ -427,4 +430,5 @@ export function flatObject(obj) {
|
||||
|
||||
dig(obj);
|
||||
return flatObject;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user