From 8c60f400eaa750d8501e654e4e142e3258e587f9 Mon Sep 17 00:00:00 2001 From: Riccardo Senica Date: Sun, 19 Jan 2025 11:33:52 +0100 Subject: [PATCH] chore: report tweaks --- utils/commands/report.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/commands/report.ts b/utils/commands/report.ts index 3c3bbb1..c821a45 100644 --- a/utils/commands/report.ts +++ b/utils/commands/report.ts @@ -119,7 +119,6 @@ export class ExpenseReporter { Category Total Count - Average ${data.summary.byCategory .map( @@ -128,7 +127,6 @@ export class ExpenseReporter { ${cat.category} ${formatCurrency(cat.total)} ${cat.count} - ${formatCurrency(cat.total / cat.count)} ` ) @@ -140,6 +138,7 @@ export class ExpenseReporter {

Detailed Expenses

+ @@ -149,6 +148,7 @@ export class ExpenseReporter { .map( exp => ` +
ID Date Description Category
${exp.id} ${formatDate(exp.createdAt)} ${exp.description} ${exp.category.name}