Ledger now showing running totals.

This commit is contained in:
tanshu committed 2026-08-26 13:35:01 +00:00
1 parent 1fa16912d1
commit be40004a3d
55 files changed
+85 -143

No files matched your search

@@ -30,16 +30,12 @@ export interface CostCentreDetailFormData {
],
})
export class CostCentreDetailComponent {
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
private router = inject(Router);
private snackBar = inject(MatSnackBar);
private ser = inject(CostCentreService);
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
itemResource = this.ser.get(this.id);
item = computed(() => this.itemResource.value() ?? new CostCentre());
model = linkedSignal({
source: this.item,
computation: (itemVal): CostCentreDetailFormData => ({