Commit Graph

18 Commits

Author SHA1 Message Date
ValdiANS 3945142966 fix: add formikFlockSource to useEffect dependencies to set flock source raw data 2026-05-04 16:24:21 +07:00
rstubryan b6629b0bbb refactor(FE): Set maxSourceQuantity in edit mode using existing data 2026-03-08 16:12:08 +07:00
rstubryan bac6766fa2 refactor(FE): Refactor transfer logic to use maxSourceQuantity state 2026-03-08 16:06:13 +07:00
rstubryan 1f2f3acebb refactor(FE): Remove unused imports and redundant code 2026-02-20 14:17:26 +07:00
rstubryan 4c3e7c615f refactor(FE): Refactor conditional text formatting in modal component 2026-02-20 10:12:06 +07:00
rstubryan b35b6c2ab8 feat(FE): Add submittedActionType state to track modal action type 2026-02-20 10:11:16 +07:00
ValdiANS 2918500585 chore: add is_approved query param when fetching project flock 2026-02-04 10:05:03 +07:00
ValdiANS d3be683b69 chore: add transfer_context query when fetching source project flock 2026-01-30 14:35:21 +07:00
ValdiANS f87736154a fix: only fetch initial value if the modal action is action for form 2026-01-28 10:29:15 +07:00
ValdiANS fcbb34624d fix: get real max quantity in target project flock kandang 2026-01-27 18:17:13 +07:00
ValdiANS df4b513739 chore: add required mark 2026-01-27 16:58:15 +07:00
ValdiANS 2be417ac0a chore: set error in input and use TransferToLayingConfirmationModal component 2026-01-26 21:23:55 +07:00
ValdiANS d3d3859021 fix: set different key in useSWR for getting flockSourceKandangsAvailability 2026-01-24 14:01:39 +07:00
ValdiANS 2507f733fb chore: fetch flock source kandang available qty in TransferToLayingFormModal 2026-01-24 13:35:09 +07:00
ValdiANS 08f3372b46 chore: access available_qty optionally 2026-01-24 13:10:51 +07:00
ValdiANS c300bdcb0f fix: adjust wording 2026-01-24 12:49:16 +07:00
ValdiANS 839bf4daac fix: get flock source data if ID exist in query 2026-01-24 12:45:38 +07:00
ValdiANS 71a430c99c feat: create TransferToLayingFormModal component 2026-01-24 11:20:24 +07:00