mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
refactoring: trial balance sheet report. refactoring: general ledger report. refactoring: journal report. refactoring: P&L report.
16 lines
359 B
TypeScript
16 lines
359 B
TypeScript
import {
|
|
formatNumber
|
|
} from 'utils';
|
|
|
|
export default class FinancialSheet {
|
|
numberFormat: { noCents: boolean, divideOn1000: boolean };
|
|
|
|
/**
|
|
* Formating amount based on the given report query.
|
|
* @param {number} number
|
|
* @return {string}
|
|
*/
|
|
protected formatNumber(number): string {
|
|
return formatNumber(number, this.numberFormat);
|
|
}
|
|
} |