Closing Stock route sent date, but we were taking id as input.

This commit is contained in:
2026-08-27 07:05:46 +00:00
parent 407967514f
commit eb7aa20def
@@ -72,11 +72,11 @@ export class ClosingStockComponent {
pageIndex = signal(0);
sortActive = signal('');
sortDirection = signal('');
id = input(null, { transform: (v: string | null | undefined) => v ?? null });
date = input(null, { transform: (v: string | null | undefined) => v ?? null });
d = input(null, { transform: (v: string | null | undefined) => v ?? null });
startDate = input(null, { transform: (v: string | null | undefined) => v ?? null });
finishDate = input(null, { transform: (v: string | null | undefined) => v ?? null });
infoResource = this.ser.list(this.id, this.d);
infoResource = this.ser.list(this.date, this.d);
info = computed(() => this.infoResource.value() ?? new ClosingStock());
costCentresResource = this.costCentreSer.list();