mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
Merge branch 'fix/transfer-to-laying' into 'development'
[FIX/FE] Transfer to Laying See merge request mbugroup/lti-web-client!250
This commit is contained in:
@@ -240,7 +240,15 @@ const TransferToLayingFormModal = () => {
|
||||
? selectedFlockSourceRawData.kandangs.map((kandang) => {
|
||||
const availability =
|
||||
flockSourceKandangsAvailability[kandang.project_flock_kandang_id]
|
||||
.available_qty;
|
||||
?.available_qty ?? 0;
|
||||
|
||||
console.log({
|
||||
availability,
|
||||
flockSourceKandangsAvailability,
|
||||
kandang,
|
||||
'kandang.project_flock_kandang_id':
|
||||
kandang.project_flock_kandang_id,
|
||||
});
|
||||
|
||||
return {
|
||||
kandang_name: kandang.name,
|
||||
@@ -385,8 +393,8 @@ const TransferToLayingFormModal = () => {
|
||||
}
|
||||
};
|
||||
|
||||
getFilledInitialValues();
|
||||
getFlockSourceData();
|
||||
getFilledInitialValues();
|
||||
}, [transferToLayingId, transferToLaying]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user