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
@@ -34,16 +34,12 @@ export interface ProductGroupDetailFormData {
],
})
export class ProductGroupDetailComponent {
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
private router = inject(Router);
private snackBar = inject(MatSnackBar);
private ser = inject(ProductGroupService);
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
itemResource = this.ser.get(this.id);
item = computed(() => this.itemResource.value() ?? new ProductGroup());
model = linkedSignal({
source: this.item,
computation: (itemVal): ProductGroupDetailFormData => ({