diff --git a/overlord/src/app/closing-stock/closing-stock.component.ts b/overlord/src/app/closing-stock/closing-stock.component.ts index 0dcdc177..a9ea36b6 100644 --- a/overlord/src/app/closing-stock/closing-stock.component.ts +++ b/overlord/src/app/closing-stock/closing-stock.component.ts @@ -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();