feat: journal and general ledger report.

This commit is contained in:
a.bouhuolia
2021-01-21 14:32:31 +02:00
parent da69c333d7
commit 1a89730855
43 changed files with 797 additions and 372 deletions

View File

@@ -389,6 +389,16 @@ export const getColumnWidth = (
return result;
};
export const getForceWidth = (
text,
magicSpacing = 14,
) => {
const textLength = text.length;
const result = textLength * magicSpacing
return result;
}
export const toSafeNumber = (number) => {
return _.toNumber(_.defaultTo(number, 0));
};