Ledger now showing running totals.

This commit is contained in:
2026-08-26 13:35:01 +00:00
parent 1fa16912d1
commit be40004a3d
55 changed files with 85 additions and 143 deletions
@@ -38,17 +38,13 @@ import { PeriodService } from '../period.service';
],
})
export class PeriodDetailComponent {
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
private router = inject(Router);
private dialog = inject(MatDialog);
private snackBar = inject(MatSnackBar);
private ser = inject(PeriodService);
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
itemResource = this.ser.get(this.id);
item = computed(() => this.itemResource.value() ?? new Period());
model = linkedSignal({
source: this.item,
computation: (item): PeriodFormData => ({