You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by "wkigenyi (via GitHub)" <gi...@apache.org> on 2025/03/22 18:08:53 UTC

[PR] FINERACT-2222 [fineract]

wkigenyi opened a new pull request, #4495:
URL: https://github.com/apache/fineract/pull/4495

   ## Description
   
   Describe the changes made and why they were made.
   
   Ignore if these details are present on the associated [Apache Fineract JIRA ticket](https://github.com/apache/fineract/pull/1284).
   
   
   ## Checklist
   
   Please make sure these boxes are checked before submitting your pull request - thanks!
   
   - [ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests
   
   - [ ] Acknowledge that we will not review PRs that are not passing the build _("green")_ - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.
   
   - [ ] Create/update unit or integration tests for verifying the changes made.
   
   - [ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.
   
   - [ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes
   
   - [ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)
   
   FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #4495: FINERACT-2222: Rectify calculation of disbursement charges based on percentages
URL: https://github.com/apache/fineract/pull/4495


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222 [fineract]

Posted by "mariiaKraievska (via GitHub)" <gi...@apache.org>.
mariiaKraievska commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2760479367

   Kindly asking you to use story number in the commit message and also add description in the PR title.
   Example (both should look like this - PR title and commit message):
   "FINERACT-XXXX: Rectify calculation of disbursement charges that are based on percentage"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "IOhacker (via GitHub)" <gi...@apache.org>.
IOhacker commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2766525980

   Run the gradle spotlessApply on the modules that you have changed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "wkigenyi (via GitHub)" <gi...@apache.org>.
wkigenyi commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2769046806

   > @wkigenyi Please change the commit message to match with the PR title! We need to make sure PR title and commit message contains the required FINERACT-XXXX story number: Example: [FINERACT-2222](https://issues.apache.org/jira/browse/FINERACT-2222): Rectify calculation of disbursement charges based on percentages
   
   Done


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "wkigenyi (via GitHub)" <gi...@apache.org>.
wkigenyi commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2767901366

   > Run the gradle spotlessApply on the modules that you have changed
   
   Done


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "wkigenyi (via GitHub)" <gi...@apache.org>.
wkigenyi commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2799067860

   > [Fineract-2222](https://issues.apache.org/jira/browse/FINERACT-2222) seems to be an issue on the web-app end. The charges calculations seem accurate on viewing the repayment schedule and also after submitting the application. The only issue I see is that immediately after adding a charge, the Amount is shown as the percentage and not the actual amount. Please see below that the correct charges are being generated when the percentageAmount is 3 and the principal is 200. ![Screenshot from 2025-04-02 01-35-31](https://private-user-images.githubusercontent.com/95158195/429207135-3805bb46-0296-4a04-90ef-b8c7aea55130.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQ0OTgzMTYsIm5iZiI6MTc0NDQ5ODAxNiwicGF0aCI6Ii85NTE1ODE5NS80MjkyMDcxMzUtMzgwNWJiNDYtMDI5Ni00YTA0LTkwZWYtYjhjN2FlYTU1MTMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyN
 TA0MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDEyVDIyNDY1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNjYTcwNjQ2NmMyYTE0MTRmZDc0ZWVjMWY0YjMzMTY3Y2JkYzAwOGI2ZmE4ZmVhYWMxZDc1YTlhNWI3NzNjMGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.y7ZwRIKcPNx8BSu7ozXHIxUVoRrjCVxBJGxzGLvQz9M) ![Screenshot from 2025-04-02 01-35-47](https://private-user-images.githubusercontent.com/95158195/429207225-9b9da95d-0f7c-4a57-b51e-bb541c823340.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQ0OTgzMTYsIm5iZiI6MTc0NDQ5ODAxNiwicGF0aCI6Ii85NTE1ODE5NS80MjkyMDcyMjUtOWI5ZGE5NWQtMGY3Yy00YTU3LWI1MWUtYmI1NDFjODIzMzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDEyVDIyNDY1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI5NDFmNmUyMDcyNDhhNGU0Y2Y3MGU3NzdmZTdkZjcxMmQ
 xMjNiYjhmM2M4ZDBlNzMxNjU0NDIyNjA5YWMxYWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7H4KckFoNMxTu72tAUHkJoOW39uzGeLDuoN5Xk5vwCM) The correct charges are being generated as shown above.
   > 
   > The issue faced on the frontend: ![Screenshot from 2025-04-02 01-48-31](https://private-user-images.githubusercontent.com/95158195/429208067-93f68816-738a-456c-9dba-142a6f1d25d5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQ0OTgzMTYsIm5iZiI6MTc0NDQ5ODAxNiwicGF0aCI6Ii85NTE1ODE5NS80MjkyMDgwNjctOTNmNjg4MTYtNzM4YS00NTZjLTlkYmEtMTQyYTZmMWQyNWQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDEyVDIyNDY1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFhYjhlNGRhODc1YzFjZTI2NzVlODYyMGE2ZDJjZDQ5OWJlYzMwYWUzN2NhZjljNTJlYjY1OGNmNTYwMTQ2YzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.EKCbJklp-XJ3LX5-6oG5DVvdmlbv9gjxLdfdb6JSXok)
   > 
   > I believe there is no need to make any change in fineract and changes should be made in the web-app. Please correct me if I am wrong. @wkigenyi
   
   You are right. I think I could have looked at totally different scenario.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "wkigenyi (via GitHub)" <gi...@apache.org>.
wkigenyi commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2770621471

   Let's start with your sentence that starts with "The only issue...". You realise we do have an issue there. That is what is being fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "wkigenyi (via GitHub)" <gi...@apache.org>.
wkigenyi commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2770644713

   Try to inspect the JSON response immediately after adding the disbursement charge without using the UI. You could use Postman or the browser itself. You will see that it is the percentageAmount is what is computed. Customers normally want these figures represented correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2874638634

   This pull request seems to be stale.  Are you still planning to work on it?  We will automatically close it in 30 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "adamsaghy (via GitHub)" <gi...@apache.org>.
adamsaghy commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2768516044

   @wkigenyi Please change the commit message to match with the PR title!
   We need to make sure PR title and commit message contains the required FINERACT-XXXX story number: 
   Example:
   FINERACT-2222: Rectify calculation of disbursement charges based on percentages


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "magyari-adam (via GitHub)" <gi...@apache.org>.
magyari-adam commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2769220273

   Please add a test to confirm this calculates properly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] FINERACT-2222: Rectify calculation of disbursement charges based on percentages [fineract]

Posted by "JebronLames32 (via GitHub)" <gi...@apache.org>.
JebronLames32 commented on PR #4495:
URL: https://github.com/apache/fineract/pull/4495#issuecomment-2770599189

   [Fineract-2222](https://issues.apache.org/jira/browse/FINERACT-2222)  seems to be an issue on the web-app end. The charges calculations seem accurate on viewing the repayment schedule and also after submitting the application. The only issue I see is that immediately after adding a charge, the Amount is shown as the percentage and not the actual amount. Please see below that the correct charges are being generated when the percentageAmount is 3 and the principal is 200.
   ![Screenshot from 2025-04-02 01-35-31](https://github.com/user-attachments/assets/3805bb46-0296-4a04-90ef-b8c7aea55130)
   ![Screenshot from 2025-04-02 01-35-47](https://github.com/user-attachments/assets/9b9da95d-0f7c-4a57-b51e-bb541c823340)
   The correct charges are being generated as shown above.
   
   The issue faced on the frontend:
   ![Screenshot from 2025-04-02 01-48-31](https://github.com/user-attachments/assets/93f68816-738a-456c-9dba-142a6f1d25d5)
   
   I believe there is no need to make any change in fineract and changes should be made in the web-app. Please correct me if I am wrong. @wkigenyi 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org