Closing Stock route sent date, but we were taking id as input.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user