Fineract-CN-mobile
Fineract-CN-mobile copied to clipboard
Feature LoanAccount Task to update status of loan
Summary:
From web app, we can update the status of the loan easily but in the mobile app there no feature to update the status of the task.
This feature should be added and It is a most important feature.
Loan Status
CREATED
Then Open
For Generating form we need the Cost
GET
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/actions/OPEN/costcomponent
For Opening, the Loan here is post request
POST
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/commands/OPEN
with data
{
"note": "Open",
"paymentSize": 0
}
Loan Status
PENDING
Then APPROVE
or DENY
For Generating APPROVE
form, we need the Cost
GET
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/actions/APPROVE/costcompon
For Generating DENY
form, we need the Cost
GET
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/actions/DENY/costcomponent
For Opening, the Loan here is post request
POST
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/commands/APPROVE
{
"note": "Approve",
"paymentSize": 0
}
Loan Status
APPROVED
Then CLOSE
For Generating form we need the Cost
GET
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/actions/CLOSE/costcomponents
For Opening, the Loan here is post request
POST
= http://pilot.kuelap.io/api/portfolio/v1/products/aaabbb/cases/TestLoan/commands/CLOSE
{
"note": "Close",
"paymentSize": 0
}