We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26774e0 commit 53be738Copy full SHA for 53be738
src/loggers/logCompanyIncome.ts
@@ -1,9 +1,9 @@
1
import chalk from "chalk";
2
-import { IncomeStatement, ISAccount } from "onair-api";
+import { IncomeStatement, Account } from "onair-api";
3
4
const log = console.log;
5
6
-const logAccounts = (account: ISAccount[], cols: number): void => {
+const logAccounts = (account: Account[], cols: number): void => {
7
account.forEach((ISAccount) => {
8
const amount = ISAccount.Amount.toLocaleString('en-GB');
9
const paddingCount = cols - ISAccount.Name.length - amount.length;
0 commit comments