fix(FE): fixing closing project flock and fetching data in closing report

This commit is contained in:
randy-ar
2025-12-10 16:32:50 +07:00
parent c416fdbdaa
commit a073488c2c
5 changed files with 12 additions and 9 deletions
@@ -428,7 +428,7 @@ const ProjectFlockDetail = ({
</Button>
</Link>
<Link
href={`/production/project-flock/closing?projectFlockId=${projectFlock.id}&projectFlockKandangId=${selectedKandangId}`}
href={`/production/project-flock/closing?projectFlockId=${projectFlock.id}&projectFlockKandangId=${selectedKandang?.project_flock_kandang_id}`}
className='m-0 p-0'
>
<Button