mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: payment made form in new and edit mode.
This commit is contained in:
@@ -243,3 +243,7 @@ export const flatToNestedArray = (
|
||||
});
|
||||
return nestedArray;
|
||||
};
|
||||
|
||||
export const orderingLinesIndexes = (lines, attribute = 'index') => {
|
||||
return lines.map((line, index) => ({ ...line, [attribute]: index + 1 }));
|
||||
};
|
||||
Reference in New Issue
Block a user