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

   
   
   Loan collateral responses previously exposed only the collateral quantity 
and calculated values (`quantity`, `total`, and `totalCollateral`), while 
omitting collateral metadata that is already available in the client collateral 
API.
   
   This change adds the following fields to the loan collateral response:
   
   * `name` – the collateral type name
   * `unitPrice` – the base price per unit
   * `pctToBase` – the percentage applied to the base price when calculating 
the collateral value
   
   This aligns the loan collateral API with the client collateral API, provides 
a consistent representation of collateral data across endpoints, and removes 
the need for clients to make additional API calls to retrieve collateral type 
and pricing information.
   PR:(https://issues.apache.org/jira/browse/FINERACT-2737)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to