From eb7aa20def0bda07c4eb742a7a51fc62bb347078 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Thu, 27 Aug 2026 07:05:46 +0000 Subject: [PATCH] Closing Stock route sent date, but we were taking id as input. --- overlord/src/app/closing-stock/closing-stock.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();