Commit 6f65781b by Yashvant Kantival

Commison Rate Issue Resolved

parent 09e58b7b
......@@ -190,7 +190,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
earningsTable[0][5] = earningsTable[0][0] + earningsTable[0][1] + earningsTable[0][2];
earningsTable[0][6] = 0;
earningsTable[1][0] = Math.round( ( metricsTable[1][6] * fycPersantage ) / 100 );
earningsTable[1][0] = Math.round( ( metricsTable[1][6] * requestJSON.getDouble("Commission_Rate") ) / 100 );
basicJSONOperation1 = new JSONObject();
basicJSONOperation1 = calculateFYCCreditAndWFYC("BA", earningsTable[1][0] / metricsTable[1][0] );
......@@ -219,7 +219,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
earningsTable[2][5] = earningsTable[2][0] + earningsTable[2][1] + earningsTable[2][2] + earningsTable[2][3] + earningsTable[2][4];
earningsTable[2][6] = Math.round( earningsTable[2][5] / 12 );
earningsTable[3][0] = Math.round( ( metricsTable[3][6] * fycPersantage ) / 100 );
earningsTable[3][0] = Math.round( ( metricsTable[3][6] * requestJSON.getDouble("Commission_Rate") ) / 100 );
basicJSONOperation1 = new JSONObject();
basicJSONOperation1 = calculateFYCCreditAndWFYC("BA",earningsTable[3][0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment