refactor(FE-212): enhance approval step logic in PurchaseOrderStaffApprovalForm for better item management

This commit is contained in:
rstubryan
2025-11-22 13:23:23 +07:00
parent ad79f29494
commit 09065f59cf
2 changed files with 27 additions and 10 deletions
@@ -891,7 +891,7 @@ const MovementForm = ({ type = 'add', initialValues }: MovementFormProps) => {
toast.error(
`Tidak bisa memilih gudang yang sama. Gudang asal tidak boleh sama dengan ${destinationWarehouseName}.`
);
return; // Prevent setting the value
return;
}
}