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
+3 -7
View File
@@ -88,16 +88,11 @@ export interface IssueFormModel {
DecimalPipe,
CurrencyPipe,
LocalTimePipe,
SkeletonLoaderComponent,
ErrorStateComponent,
],
})
export class IssueComponent {
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
d = input(null, { transform: (v: string | null | undefined) => v ?? null });
type = signal('Issue');
private router = inject(Router);
private dialog = inject(MatDialog);
private snackBar = inject(MatSnackBar);
@@ -107,10 +102,11 @@ export class IssueComponent {
private batchSer = inject(BatchService);
private issueGridSer = inject(IssueGridService);
private costCentreSer = inject(CostCentreService);
sortActive = signal('');
sortDirection = signal('');
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
d = input(null, { transform: (v: string | null | undefined) => v ?? null });
type = signal('Issue');
itemResource = this.ser.getVoucher(this.id, this.type, signal(null), this.d);
item = linkedSignal(() => this.itemResource.value() ?? new Voucher());