[ 
https://issues.apache.org/jira/browse/FINERACT-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815220#comment-17815220
 ] 

John Ruhiu commented on FINERACT-2033:
--------------------------------------

[~bgowda] there are two issues here
 # even when the amount is set to flat when creating the charge under 
products/charges, the user can still enter a different amount when adding the 
fee to a loan/deposit account. The min/max values will be enforced in case the 
user enters a value outside these boundaries.
 # the api only returns min/max values when the *charge calculation type == 2 
i.e % of amount.* It should return these values when the *charge calculation 
type == 3 or 4 i.e % loan amount+interest or %interest*

*cc [~uddyangoyal]* 

> View charge page does not show minimum and maximum charge cap values
> --------------------------------------------------------------------
>
>                 Key: FINERACT-2033
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2033
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Bharath Gowda
>            Priority: Major
>         Attachments: Fineract_Charges.mp4, charges1.png, charges2.png, 
> image-2023-12-25-19-27-19-425.png, image-2023-12-25-19-30-26-668.png
>
>
> Go to Admin/Products/Charges
> Select applies to savings
> !image-2023-12-25-19-27-19-425.png!
> Fill the other fields making sure to set the min and max values
> Submit
> Once the fee has been created, open the fee and note the min/max values are 
> not shown
> h2. Expected Behaviour
> Min and Max values should be displayed on the view fee page
> h2. Actual Behaviour
> Min and max values are not displayed
>  
> So Api: /charges
>  
> When we created the charge, we sent the minCap and maxCap
> !image-2023-12-25-19-30-26-668.png!
> When we try to get details: API : api/v1/charges/4?template=false
> {
>     "id": 4,
>     "name": "ascdasd",
>     "active": false,
>     "penalty": false,
>     "freeWithdrawal": false,
>     "freeWithdrawalChargeFrequency": 0,
>     "restartFrequency": 0,
>     "restartFrequencyEnum": 0,
>     "isPaymentType": false,
>     "currency": \{
>         "code": "USD",
>         "name": "US Dollar",
>         "decimalPlaces": 2,
>         "displaySymbol": "$",
>         "nameCode": "currency.USD",
>         "displayLabel": "US Dollar ($)"
>     },
>     "amount": 1223.000000,
>     "chargeTimeType": \{
>         "id": 1,
>         "code": "chargeTimeType.disbursement",
>         "value": "Disbursement"
>     },
>     "chargeAppliesTo": \{
>         "id": 1,
>         "code": "chargeAppliesTo.loan",
>         "value": "Loan"
>     },
>     "chargeCalculationType": \{
>         "id": 1,
>         "code": "chargeCalculationType.flat",
>         "value": "Flat"
>     },
>     "chargePaymentMode": \{
>         "id": 0,
>         "code": "chargepaymentmode.regular",
>         "value": "Regular"
>     }
> }
>  
> There is no minCap and maxCap



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to