Ledger now showing running totals.
This commit is contained in:
+1
-5
@@ -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 => ({
|
||||
|
||||
@@ -27,7 +27,6 @@ import { ProductGroupService } from '../product-group.service';
|
||||
})
|
||||
export class ProductGroupListComponent {
|
||||
private ser = inject(ProductGroupService);
|
||||
|
||||
pageSize = signal(50);
|
||||
pageIndex = signal(0);
|
||||
sortActive = signal('');
|
||||
|
||||
Reference in New Issue
Block a user