openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
313 stars 1.02k forks source link

Group Loan Application is not working #3449

Open bowenjnr opened 2 years ago

bowenjnr commented 2 years ago

Description When setting the loan period and repay to have the same frequency as the meeting frequency there are errors that appear when applying for a group loan,

For example: When a loan has a period of 10 months while the repay is after every 1 month and has meetings scheduled for every 2 weeks thus the frequency should be weeks since that is the meeting date frequency. where the months should be calculated to be equivalent to weeks. i.e ;

Steps to Reproduce Click on client >> Group >> Select a group >> Group Loan Application >> Select a product then fill in the required fields and submit (Ensuring the loan period and repay are having same frequency as the meeting i.e day, week, month. etc.)

Expected Behavior The loan application should be able to complete the wizard successfully without producing any error

Actual Behavior In this scenario the loan term and repay every frequencies are selected according to the meeting frequency but on submition there is red bar that pops up thus making the application incomplete. Below is a screenshot shared of the current behaviour.

Settings Mifos X version: 21.07.01RELEASE Browser: Chrome, Firefox OS: Windows 10 pro image

rrpawar96 commented 2 years ago

Hi @bowenjnr, I tried to reproduce your issue on the latest Fineract and Community-App, and my application got successfully submitted. Please check my screenshots and you can let me know if there is any mistake in my settings.

Creating Loan Application: createloan

LoanProduct Configuration (Every 1 Month): loanProdMonth

LoanProduct Configuration (Every 4 Weeks): loanproductweeks

LoanSubmissionSuccess: successloan

rrpawar96 commented 2 years ago

@bowenjnr I submitted loan application with both configurations 1 month and 4 weeks in loan Product, meanwhile, you can check your loan product settings.

rrpawar96 commented 2 years ago

The Next Meeting Date should Match with Disbursement Date: If next Meeting date is suppose on 18th January (Tuesday) then the disbursement date also should be the 'same' otherwise it is throwing this error probably that is missing in your Red Bar.

image