Repository: dcapal/dcapal (language: rust)

Issue:
[Enhancement]: Allow fractional shares in Equity asset class
### Is your enhancement request related to a problem?

I'd like to type fractional shares in my portfolio for Equity assets 
![image](https://github.com/user-attachments/assets/262d7c96-4dd3-443b-b7b7-4c1bc46b44d4)


### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_


Discussion / hints:

Fix patch:
diff --git a/dcapal-frontend/src/components/allocationFlow/steps/portfolio/assetCard.js b/dcapal-frontend/src/components/allocationFlow/steps/portfolio/assetCard.js
index e6f323b7..25cead54 100644
--- a/dcapal-frontend/src/components/allocationFlow/steps/portfolio/assetCard.js
+++ b/dcapal-frontend/src/components/allocationFlow/steps/portfolio/assetCard.js
@@ -5,7 +5,6 @@ import { useMediaQuery } from "@react-hook/media-query";
 import { InputNumber, InputNumberType } from "@components/core/inputNumber";
 import {
   currentPortfolio,
-  isWholeShares,
   removeAsset,
 } from "@components/allocationFlow/portfolioSlice";
 import { MEDIA_SMALL } from "@app/config";
@@ -102,11 +101,7 @@ export const AssetCard = ({
             <div className="grow">
               <InputNumber
                 textAlign={"text-right"}
-                type={
-                  isWholeShares(aclass)
-                    ? InputNumberType.INTEGRAL
-                    : InputNumberType.DECIMAL
-                }
+                type={InputNumberType.DECIMAL}
                 value={qty}
                 onChange={props.setQty}
                 isValid={true}
@@ -142,11 +137,7 @@ export const AssetCard = ({
               <div className="w-40">
                 <InputNumber
                   textAlign={"text-left"}
-                  type={
-                    isWholeShares(aclass)
-                      ? InputNumberType.INTEGRAL
-                      : InputNumberType.DECIMAL
-                  }
+                  type={InputNumberType.DECIMAL}
                   value={qty}
                   onChange={props.setQty}
                   isValid={true}


Test patch: