diff --git a/APIFolder/api.htm b/APIFolder/api.htm index f007036f1..6f74caa97 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -505,10 +505,7 @@ Returns the Set of Additional Fields data for the ID provided. The ID is the id
-Updates the Set of Additional Fields data for the ID provided. The ID is the id field of the Type table e.g. portfolio_client might have an id value of 4. -
--JPW note: currently using ed_transType = "E" for edit and ed_transType = "A" for new... probably need to not do that. +Updates (or creates) the Set of Additional Fields data for the ID provided. The ID is the id field of the Type table e.g. portfolio_client might have an id value of 4.
POST https://thedomainname/v1/additionalfields/{TYPE}/{SET}/{ID}
http://localhost:8080/mifosng-provider/api/v1/additionalfields/portfolio_client/Additional Information/2
-Request Body:
+
Content-Type: application/json
+Request Body:
{
-"ed_transType":"E",
"Ethnic_Group":"Berber",
"Ethnic_Group_Other":"",
"Household_Location":"East Sikkim",
diff --git a/mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.93.js b/mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.94.js
similarity index 98%
rename from mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.93.js
rename to mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.94.js
index 09ee4f1fd..b6a4d0210 100644
--- a/mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.93.js
+++ b/mifosng-individual-lending-app/src/main/webapp/WEB-INF/static/stretchydata-0.94.js
@@ -290,14 +290,8 @@
function extraDataBuildTemplate(data) {
var dataLength = data.data.length;
- var transType = 'E';
- if (dataLength == 0)
- transType = 'A';
var extraDataTemplateVar = '