Fairoj : api and template changes on mwise credit pd

This commit is contained in:
venbatechnologies@gmail.com 2020-11-09 19:24:49 +05:30
parent 75d5175fb4
commit afa0a89aab
42 changed files with 4719 additions and 233 deletions

View File

@ -337,6 +337,12 @@ export class AddPdComponent implements OnInit, OnDestroy {
// console.log('productID',productID,productabbr); // console.log('productID',productID,productabbr);
/**customer segment */ /**customer segment */
switch(productabbr){ switch(productabbr){
case 'WCTL' :
// console.log(1);
this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self'));
this._PDtriggerForm.controls['fk_subproduct_id'].setValue(null);
this.isSubproductShown = false;
break;
case 'BL' : case 'BL' :
// console.log(1); // console.log(1);
this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self')); this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self'));

View File

@ -5,7 +5,8 @@
<!-- <div *ngIf="form_group_name.controls['questions']"> --> <!-- <div *ngIf="form_group_name.controls['questions']"> -->
<!-- <section formArrayName="questions">fxFlex.md="33" fxFlex.lg="33" fxFlex.xl="33" --> <!-- <section formArrayName="questions">fxFlex.md="33" fxFlex.lg="33" fxFlex.xl="33" -->
<!-- {{form_group_name.value | json}} --> <!-- {{form_group_name.value | json}} -->
<div *ngFor="let parent_ques of questions_JSON.questions;let p_i =index; let p_last=last" fxFlex.xs="100" fxFlex.sm="100" [fxFlex]="parent_ques.hasOwnProperty('field_width') && parent_ques.field_width ? parent_ques.field_width : '100'" > <div *ngFor="let parent_ques of questions_JSON.questions;let p_i =index; let p_last=last" fxFlex.xs="100" fxFlex.sm="100" [fxFlex]="parent_ques.hasOwnProperty('field_width') && parent_ques.field_width ? parent_ques.field_width : '100'"
[fxLayoutGap.xs]="(parent_ques.field_type == 'numtoword' || parent_ques.field_type == 'str&numtoword') ? '5%' : '0' ">
<!-- {{parent_ques.hasOwnProperty('field_width') && parent_ques.field_width ? parent_ques.field_width : '100'}} --> <!-- {{parent_ques.hasOwnProperty('field_width') && parent_ques.field_width ? parent_ques.field_width : '100'}} -->
<!-- <div *ngFor="let parent_ques of form_group_name.controls['questions']['controls'];let p_i=index; let p_l=last" [formGroupName]="p_i"> --> <!-- <div *ngFor="let parent_ques of form_group_name.controls['questions']['controls'];let p_i=index; let p_l=last" [formGroupName]="p_i"> -->
<!-- {{parent_ques | json}} --> <!-- {{parent_ques | json}} -->

View File

@ -7,7 +7,7 @@
</div> </div>
<!-- {{formGroupN.value | json}} --> <!-- {{formGroupN.value | json}} -->
<mat-form-field style="width: 100%" *ngIf="parent_ques.type == '1'" <mat-form-field style="width: 100%" *ngIf="parent_ques.type == '1'"
[ngStyle]="{'margin-bottom':parent_ques.field_type == 'numtoword' || parent_ques.field_type == 'str&numtoword' ? '5%' : '0' }"> >
<mat-label>{{parent_ques.question}}</mat-label> <mat-label>{{parent_ques.question}}</mat-label>
<input matInput <input matInput

View File

@ -72,7 +72,7 @@ export class FormComponent implements OnInit {
// let localId = this.getLocalFormId() // let localId = this.getLocalFormId()
console.log("d",this.pd_all_details.form_id,Number(this.pd_all_details.form_id)) console.log("d",this.pd_all_details.form_id,Number(this.pd_all_details.form_id))
// this.pdTriggerService.loadTemplate(Number(this.pd_all_details.form_id)).subscribe(result=>{ // this.pdTriggerService.loadTemplate(Number(this.pd_all_details.form_id)).subscribe(result=>{
let params = {"fk_entity_id":"35","fk_product_id":"","pd_form_id":this.pd_all_details.form_id,"fk_pd_id":this.pd_all_details.pdmaster_details.pd_id} let params = {"fk_entity_id":"35","fk_product_id":this.pd_all_details.pdmaster_details.fk_product_id,"pd_form_id":this.pd_all_details.form_id,"fk_pd_id":this.pd_all_details.pdmaster_details.pd_id}
this.pdTriggerService.loadCreditPDTemplate(params).subscribe(result=>{ this.pdTriggerService.loadCreditPDTemplate(params).subscribe(result=>{
// result.dataStatus = false // result.dataStatus = false
if(result.dataStatus) { if(result.dataStatus) {
@ -94,7 +94,8 @@ export class FormComponent implements OnInit {
} }
// FOR LOCAL TEMPLATES ENV PURPOSE // FOR LOCAL TEMPLATES ENV PURPOSE
else if(!environment.production){ else if(!environment.production){
this.pdTriggerService.loadTemplate(Number(this.pd_all_details.form_id)).subscribe(result=>{ let param = this.pd_all_details.pdmaster_details.product_abbr+'/'+Number(this.pd_all_details.form_id)
this.pdTriggerService.loadTemplate(param).subscribe(result=>{
if(result.dataStatus) { if(result.dataStatus) {
let question_template: any = result.records let question_template: any = result.records
if (question_template && question_template != null && question_template != undefined if (question_template && question_template != null && question_template != undefined

View File

@ -118,25 +118,6 @@
} }
] ]
}, },
{
"question":"Relationship",
"question_key":"relationship",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{ {
"question":"Met / Not Met", "question":"Met / Not Met",
"question_key":"borrower_met", "question_key":"borrower_met",

View File

@ -98,13 +98,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
@ -153,13 +146,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
@ -384,13 +370,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
@ -413,15 +392,7 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
}, },
{ {
@ -441,15 +412,7 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
}, },
{ {
@ -470,13 +433,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
@ -498,15 +454,7 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
}, },
{ {
@ -527,13 +475,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]
@ -555,13 +496,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
} }
] ]

View File

@ -198,8 +198,8 @@
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
"validator":"[0-9]{3}", "validator":"[0-9]{3,5}",
"message":"Minimum 3 digit required", "message":"Maximum 5 digit allowed",
"value":null "value":null
} }
] ]
@ -227,8 +227,8 @@
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
"validator":"[0-9]{6}", "validator":"[0-9]{6,8}",
"message":"Minimum 6 digit required", "message":"Maximum 8 digit allowed",
"value":null "value":null
} }
] ]

View File

@ -198,8 +198,8 @@
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
"validator":"[0-9]{3}", "validator":"[0-9]{3,5}",
"message":"Minimum 3 digit required", "message":"Maximum 5 digit allowed",
"value":null "value":null
} }
] ]
@ -227,8 +227,8 @@
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
"validator":"[0-9]{6}", "validator":"[0-9]{6,8}",
"message":"Minimum 6 digit required", "message":"Maximum 8 digit allowed",
"value":null "value":null
} }
] ]

View File

@ -22,13 +22,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[A-Za-z0-9]*",
"message":"alphabets only ",
"value":null
} }
] ]
}, },

View File

@ -4,6 +4,7 @@
"onsubmit":null, "onsubmit":null,
"questions":[ "questions":[
{ {
"question":[{
"question":"Loan type", "question":"Loan type",
"question_key":"loan_type", "question_key":"loan_type",
"type":"1", "type":"1",
@ -178,6 +179,10 @@
} }
] ]
} }
],
"is_repeatable":"1",
"group_title":"Existing Loan Obligations",
"group_key":"existing_loan_details"}
] ]
} }

View File

@ -93,7 +93,7 @@
] ]
}, },
{ {
"question":"Started Biz (Yes / No)", "question":"Started Business (Yes / No)",
"question_key":"started_biz", "question_key":"started_biz",
"place_holder":"Enter text", "place_holder":"Enter text",
"type":"1", "type":"1",

View File

@ -22,13 +22,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[A-Za-z ]*",
"message":"alphabets only ",
"value":null
} }
] ]
}, },

View File

@ -203,9 +203,29 @@
] ]
}, },
{ {
"question":"Estimated Area of the business along with UOM", "question":"Estimated Area of the business",
"question_key":"business_estimated_area", "question_key":"business_estimated_area",
"type":"3", "type":"1",
"field_width":"45",
"field_type":"num",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"UOM",
"question_key":"uom",
"type":"8",
"field_width":"45", "field_width":"45",
"api_properties":{ "api_properties":{
"api":"getListOfMaster", "api":"getListOfMaster",
@ -219,7 +239,43 @@
] ]
}, },
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties": [{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"uom",
"expression":"(String('uom') == String('1'))",
"value_keys":[
"uom"
],
"questions":[
{
"question":"Specify the UOM",
"question_key":"uom_specify",
"place_holder":"",
"field_type":"string",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"uom",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}],
"is_repeatable":null, "is_repeatable":null,
"validations":[ "validations":[
{ {

View File

@ -101,7 +101,7 @@
"form_controls":[ "form_controls":[
{ {
"insert_index":"total_fund_requirement", "insert_index":"total_fund_requirement",
"expression":"(String('total_fund_requirement') != String(''))", "expression":"(String('total_fund_requirement').toLowerCase() == String('disclosed')) && (String('total_fund_requirement'))",
"value_keys":[ "value_keys":[
"total_fund_requirement" "total_fund_requirement"
], ],
@ -147,7 +147,7 @@
{ {
"question":"Is there a BT?", "question":"Is there a BT?",
"question_key":"is_transfer", "question_key":"is_transfer",
"type":"9", "type":"3",
"field_width":"45", "field_width":"45",
"api_properties":null, "api_properties":null,
"answers":[ "answers":[
@ -192,7 +192,56 @@
"value":null "value":null
} }
] ]
} },
{
"question":"Lender from where BT is done",
"question_key":"lender",
"type":"8",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"BTLENDERLIST"
},
"fields":[
"bt_lender_list_id",
"lender_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Top up amount",
"question_key":"topup_amount",
"type":"1",
"field_type":"numtoword",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
] ]
} }
] ]
@ -208,55 +257,6 @@
} }
] ]
}, },
{
"question":"Lender from where BT is done",
"question_key":"lender",
"type":"8",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"BTLENDERLIST"
},
"fields":[
"bt_lender_list_id",
"lender_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Top up amount",
"question_key":"topup_amount",
"type":"1",
"field_type":"numtoword",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{ {
"question":"Type of property being Mortgaged", "question":"Type of property being Mortgaged",
"question_key":"property_type", "question_key":"property_type",

View File

@ -107,6 +107,7 @@
"is_repeatable":null, "is_repeatable":null,
"field_type":"num", "field_type":"num",
"field_width":"45", "field_width":"45",
"is_subfield":"1",
"parent_question_key":"seasonality", "parent_question_key":"seasonality",
"validations":[ "validations":[
{ {
@ -117,7 +118,30 @@
"value":null "value":null
} }
] ]
} },
{
"question_key":"low_sale_month_reason",
"question":"Reason for Months in which sales/services is low?",
"place_holder":"Enter the text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"is_subfield":"1",
"field_width":"45",
"parent_question_key":"seasonality",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
] ]
} }
] ]

View File

@ -1,12 +1,7 @@
{ {
"section_id":"5", "section_id":"5",
"section_name":"Key Stakeholders in Business", "section_name":"Key Stakeholders in Business",
"onsubmit":[ "onsubmit":[
{
"key_name":"share_holding",
"expression":"(function () {let sum_val=null;let ques_key=[];control.questions_group.forEach(ques_obj=>{ques_obj.questions.map(ques=>{if(ques.question_key == 'share_holding'){ques_key.push(ques)}})});if(ques_key.length > 0){sum_val= ques_key.map(val=>val.answer_value).reduce((tot,val)=>{return parseInt(tot)+parseInt(val)})}return sum_val<=100}())",
"msg":"Sum of shareholding should be equal to 100"
}
], ],
"questions":[ "questions":[
{ {
@ -28,13 +23,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Name Required", "message":"Name Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[A-Za-z ]*",
"message":"alphabets only ",
"value":null
} }
] ]
}, },
@ -81,30 +69,9 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Current vintage Required", "message":"Current vintage Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{0,3}",
"message":"Year should be 3 digit",
"value":null
} }
], ],
"onchange_properties":[ "onchange_properties":[
{
"purpose":"validations",
"validations":[
{
"name":"max",
"isactive":"1",
"validator":"",
"message":"should be less or equal to Total Work Exp",
"value":"total_work_exp",
"validation_to":null,
"value_keys":null
}
]
},
{ {
"purpose":"FORM_CTRL", "purpose":"FORM_CTRL",
"form_controls":[ "form_controls":[
@ -144,7 +111,7 @@
] ]
}, },
{ {
"question":"Total Work Exp", "question":"Total Work Experience",
"question_key":"total_work_exp", "question_key":"total_work_exp",
"place_holder":"Enter in years", "place_holder":"Enter in years",
"type":"1", "type":"1",
@ -159,30 +126,9 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Total experience Required", "message":"Total experience Required",
"value":null "value":null
},
{
"name":"maxLength",
"isactive":"1",
"validator":"2",
"message":"Year should be two digit",
"value":null
} }
], ],
"onchange_properties":[ "onchange_properties":[
{
"purpose":"validations",
"validations":[
{
"name":"min",
"isactive":"1",
"validator":"",
"message":"should be greater or equal to current work exp",
"value":"vintage_in_current_biz",
"validation_to":null,
"value_keys":null
}
]
},
{ {
"purpose":"FORM_CTRL", "purpose":"FORM_CTRL",
"form_controls":[ "form_controls":[

View File

@ -22,13 +22,6 @@
"validator":"Validators.required", "validator":"Validators.required",
"message":"Required", "message":"Required",
"value":null "value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[A-Za-z ]*",
"message":"alphabets only ",
"value":null
} }
] ]
}, },
@ -82,7 +75,7 @@
], ],
"is_repeatable":"1", "is_repeatable":"1",
"group_title":"Key Products and Business Contribution", "group_title":"Key Products and Business Contribution",
"group_key":"key_stakeholders" "group_key":"key_products_contribution"
} }
] ]
} }

View File

@ -35,7 +35,7 @@
"place_holder":"", "place_holder":"",
"field_type":"num", "field_type":"num",
"type":"1", "type":"1",
"field_width":"45", "field_width":"100",
"api_properties":null, "api_properties":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,

View File

@ -0,0 +1,192 @@
{
"section_id":"1",
"section_name":"Borrower & Guarantor Details",
"onsubmit":null,
"questions":[
{
"question":[{
"question":"Borrower Type",
"question_key":"borrower_type",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Name",
"question_key":"borrower_name",
"type":"1",
"field_width":"100",
"onchange_properties":null,
"api_properties":null,
"answers":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Entity Type",
"question_key":"entity_type",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Designation",
"question_key":"designation",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Relationship to",
"question_key":"relationship_to",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Relationship",
"question_key":"relationship",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Met / Not Met",
"question_key":"borrower_met",
"type":"2",
"field_width":"100",
"api_properties":null,
"answers":[
{
"answer_id":"Yes",
"answer":"Yes"
},
{
"answer_id":"No",
"answer":"No"
}
],
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Age",
"question_key":"borrower_age",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Numbers of years for which the business has been running",
"question_key":"numbers_of_years_business_running",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_key":"borrower_details",
"group_title":"Borrower Details"}
]
}

View File

@ -0,0 +1,613 @@
{
"section_id":"10",
"section_name":"Financial Information",
"onsubmit":[
{
"expression":"(function (){let sum_val=null;let ques_key=[];control.questions_group.forEach(ques_obj=>{ques_obj.questions.map(ques=>{if(ques.question_key == submitProperty.key_name){ques_key.push(ques.answer_value)}})});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())",
"group_key":"financial_info",
"key_name":"fy",
"msg":"Financial Year already entered earlier"
}
],
"questions":[
{
"question":"Number of financial years for which we have financials",
"question_key":"no_of_financial_years",
"place_holder":"Enter the number",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]*",
"message":"alphabets only ",
"value":null
}
]
},
{
"question":[
{
"question":"Enter FY",
"question_key":"fy",
"type":"3",
"field_width":"45",
"answers":[
],
"answer_value":"GET_FY_YEARS",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Fin Yr Required",
"value":null
}
]
},
{
"question":"Sales / Revenue (Rs)",
"question_key":"sales_revenue",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":[
{
"purpose":"answer_value",
"expression":"(Number(net_profit)/Number(sales_revenue))*100",
"value_keys":[
"sales_revenue","net_profit"
],
"insert_control":"net_profit_sales_percent"
},
{
"purpose":"answer_value_arr",
"arr_include":["py","now"],
"expression":"((Number(sales_revenue[now])-Number(sales_revenue[py]))/Number(sales_revenue[py]))*100",
"value_keys":[
"sales_revenue"
],
"insert_control":"sales_py"
}
],
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Net Profit / (Net Loss) (Rs) ",
"question_key":"net_profit",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":[
{
"purpose":"answer_value",
"expression":"(Number(net_profit)/Number(sales_revenue))*100",
"value_keys":[
"sales_revenue","net_profit"
],
"insert_control":"net_profit_sales_percent"
},
{
"purpose":"answer_value_arr",
"arr_include":["py","now"],
"expression":"((Number(net_profit[now])-Number(net_profit[py]))/Number(net_profit[py]))*100",
"value_keys":[
"net_profit"
],
"insert_control":"netprofit_py"
},
{
"purpose":"answer_value_arr",
"arr_include":["py","now"],
"expression":"((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100",
"value_keys":[
"net_profit_sales_percent"
],
"insert_control":"netprofit_py_percent"
}
],
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Net Profit or (Net Loss) to Sales % ",
"question_key":"net_profit_sales_percent",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":[
{
"purpose":"answer_value_arr",
"arr_include":["py","now"],
"expression":"((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100",
"value_keys":[
"net_profit_sales_percent"
],
"insert_control":"netprofit_py_percent"
}
],
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"% (↑ /↓) in Sales over PY",
"question_key":"sales_py",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"% (↑ /↓) in Net Profit over PY",
"question_key":"netprofit_py",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"% (↑ /↓) in Net Profit % over PY",
"question_key":"netprofit_py_percent",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Broken Period starting from (Month)",
"question_key":"broken_period_from_month",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
}
]
},
{
"question":"Broken Period starting to (Month)",
"question_key":"broken_period_to_month",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
}
]
},
{
"question":"Sales / Revenue (Rs) for the broken period of the Current FY as per applicant",
"question_key":"broken_period_sales_amount",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
}
]
},
{
"question":"Net Profit / (Net Loss) (Rs) for the broken period of the Current FY as per applicant ",
"question_key":"broken_period_netprofit_amount",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"([0-9]*)",
"message":"Numeric only",
"value":null
}
]
},
{
"question":"% of Net Profit / (Net Loss) over Sales for the broken period of the Current FY as per applicant ",
"question_key":"broken_period_netprofit_percent",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Debtor Days as per CET",
"sub_title":"In Case of credit sales, what is the average no. of days taken to receive the money?",
"question_key":"debtor_days_cet",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Debtor Days as per CM Discussion",
"question_key":"debtor_days_cm",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Creditor Days as per CET",
"sub_title":"In Case of credit purchases, what is the average no. of days taken to pay the money?",
"question_key":"creditor_days_cet",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Creditor Days as per CM Discussion",
"question_key":"creditor_days_cm",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Inventory Days as per CET",
"sub_title":"What is the average no. of days for which stock lies unsold during the year?",
"question_key":"inventory_days_cet",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Inventory Days as per CM Discussion",
"question_key":"inventory_days_cm",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Does the business have any working capital facility from any lender other than Moneywise?",
"question_key":"is_any_other_working_captial_facility",
"type":"2",
"field_width":"45",
"answers":[
{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}
],
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"is_any_other_working_captial_facility",
"expression":"(String('is_any_other_working_captial_facility') === String('Yes'))",
"value_keys":[
"is_any_other_working_captial_facility"
],
"questions":[
{
"question":"Facility details i.e. Letter of Credit/ Bank guarantee, CC limit etc.",
"question_key":"facility_details_other_lender",
"type":"3",
"field_width":"45",
"answers":[
{
"answer":"Letter of Credit",
"answer_id":"Letter of Credit"
},
{
"answer":"Bank guarantee",
"answer_id":"Bank guarantee"
},
{
"answer":"CC limit",
"answer_id":"CC limit"
}
],
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_any_other_working_captial_facility",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Details of above facilities need to be entered",
"question_key":"facility_details_specify",
"type":"7",
"placeholder":"Enter the text",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_any_other_working_captial_facility",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
]
}
]
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_key":"financial_info",
"group_title":"Financial Information"
}
]
}

View File

@ -0,0 +1,396 @@
{
"section_id":"11",
"section_name":"Supplier details",
"onsubmit":null,
"questions":[
{
"question":"Is the Supplier information available?",
"question_key":"supplier_info_available",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"supplier_info_available",
"expression":"(String('supplier_info_available') == String('No'))",
"value_keys":[
"supplier_info_available"
],
"questions":[
{ "question":"Reason",
"question_key":"supplier_not_available_reason",
"type":"7",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ] } ] },
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"supplier_info_available",
"expression":"(String('supplier_info_available') == String('Yes'))",
"value_keys":[
"supplier_info_available"
],
"questions":[
{
"question":[{
"question":"Raw Material Name/ Trading Product Name/ Service Name",
"question_key":"provider_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Supplier Name",
"question_key":"supplier_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person name",
"question_key":"contact_person_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person Designation",
"question_key":"contact_person_designation",
"type":"8",
"field_width":"100",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"COMPANYRELATIONSHIPS"
},
"fields":[
"company_relationship_id",
"name"
]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person Mobile Number",
"question_key":"contact_person_mobile_no",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{10,12}",
"message":"Mobile number should be 10-12 digit",
"value":null
}
]
},
{
"question":"STD Code",
"sub_title":"Contact Person Landline number",
"question_key":"person_stdcode",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{3,5}",
"message":"Maximum 5 digit allowed",
"value":null
}
]
},
{
"question":"Contact Person Landline number",
"question_key":"person_landline",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{6,8}",
"message":"Maximum 8 digit allowed",
"value":null
}
]
},
{
"question":"Payment Terms",
"question_key":"payment_type",
"type":"3",
"field_width":"100",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"PAYMENTMODE"
},
"fields":[
"id",
"name"
]
},
"onchange_properties":[{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"payment_type",
"expression":"(String('payment_type') == String('3'))",
"value_keys":[
"payment_type"
],
"questions":[
{
"question":"No. of credit period provided by supplier",
"question_key":"credit_period_no",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"What % of total purchases are done on credit?",
"question_key":"credit_total_purchase",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"max",
"isactive":"1",
"validator":"100",
"message":"Percentage should lower or equal to '100'",
"value":null
}
]
}
]}]}],
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Payment Mode",
"question_key":"payment_mode",
"type":"3",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"supplier_info_available",
"answers":[
{
"answer_id":"Payment made in Cash",
"answer":"Payment made in Cash"
},
{
"answer_id":"Payment made through Banking channels",
"answer":"Payment made through Banking channels"
},
{
"answer_id":"Payment made through Cash and Banking channels",
"answer":"Payment made through Cash and Banking channels"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Supplier Details",
"group_key":"supplier_details"
}
]
}
]
}],
"is_repeatable":null,
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,396 @@
{
"section_id":"12",
"section_name":"Clients details",
"onsubmit":null,
"questions":[
{
"question":"Is the Client information available?",
"question_key":"client_info_available",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"client_info_available",
"expression":"(String('client_info_available') == String('No'))",
"value_keys":[
"client_info_available"
],
"questions":[
{ "question":"Reason",
"question_key":"client_not_available_reason",
"type":"7",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ] } ] },
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"client_info_available",
"expression":"(String('client_info_available') == String('Yes'))",
"value_keys":[
"client_info_available"
],
"questions":[
{
"question":[{
"question":"Trading Product/Service/Manufacturing Product name",
"question_key":"provider_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Client Name",
"question_key":"client_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person name",
"question_key":"contact_person_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person Designation",
"question_key":"contact_person_designation",
"type":"8",
"field_width":"100",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"COMPANYRELATIONSHIPS"
},
"fields":[
"company_relationship_id",
"name"
]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Contact Person Mobile Number",
"question_key":"contact_person_mobile_no",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{10,12}",
"message":"Mobile number should be 10-12 digit",
"value":null
}
]
},
{
"question":"STD Code",
"sub_title":"Contact Person Landline number",
"question_key":"person_stdcode",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{3,5}",
"message":"Maximum 5 digit allowed",
"value":null
}
]
},
{
"question":"Contact Person Landline number",
"question_key":"person_landline",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[0-9]{6,8}",
"message":"Maximum 8 digit allowed",
"value":null
}
]
},
{
"question":"Payment Terms",
"question_key":"payment_type",
"type":"3",
"field_width":"100",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"PAYMENTMODE"
},
"fields":[
"id",
"name"
]
},
"onchange_properties":[{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"payment_type",
"expression":"(String('payment_type') == String('3'))",
"value_keys":[
"payment_type"
],
"questions":[
{
"question":"No. of credit period provided by client",
"question_key":"credit_period_no",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"What % of total purchases are done on credit?",
"question_key":"credit_total_purchase",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{
"name":"max",
"isactive":"1",
"validator":"100",
"message":"Percentage should lower or equal to '100'",
"value":null
}
]
}
]}]}],
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"payment_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Payment Mode",
"question_key":"payment_mode",
"type":"3",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"client_info_available",
"answers":[
{
"answer_id":"Payment made in Cash",
"answer":"Payment made in Cash"
},
{
"answer_id":"Payment made through Banking channels",
"answer":"Payment made through Banking channels"
},
{
"answer_id":"Payment made through Cash and Banking channels",
"answer":"Payment made through Cash and Banking channels"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Client Details",
"group_key":"client_details"
}
]
}
]
}],
"is_repeatable":null,
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,181 @@
{
"section_id":"13",
"section_name":"Stock details",
"onsubmit":[],
"questions":[
{
"question":[
{
"question":"Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
"question_key":"provider_name",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Stock",
"question_key":"provider_observed",
"type":"3",
"api_properties":null,
"answers":[
{
"answer":"Add Stock Details",
"answer_id":"yes"
},
{
"answer":"No Stock Observed",
"answer_id":"no"
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
],
"onchange_properties": [ {
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"provider_observed",
"expression":"(String('provider_observed') === String('yes'))",
"value_keys":[
"provider_observed"
],
"questions":[
{
"question":"Estimated Quantity",
"question_key":"estimated_quantity",
"type":"1",
"field_width":"100",
"field_type":"num",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"provider_observed",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ,
{
"question":"UOM",
"question_key":"estimated_uom",
"type":"3",
"field_width":"100",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"UOM"
},
"fields":[
"uom_id",
"name"
]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"provider_observed",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ,
{
"question":"Estimated value of stock observed",
"question_key":"estimated_stock_value",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"provider_observed",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
] } ] }]
}
],
"is_repeatable":"1",
"group_title":"Stock details",
"group_key":"stock_details"
},
{
"question":"Is the stock of finished goods observed, sufficient considering the size of operations",
"question_key":"estimated_uom",
"type":"3",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"provider_observed",
"answers":[
{
"answer":"Yes",
"answer_id":"yes"
},
{
"answer":"No",
"answer_id":"no"
},
{
"answer":"Stock not required to be maintained",
"answer_id":"not applicable"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,104 @@
{
"section_id":"14",
"section_name":"Future Plans & Business Environments",
"onsubmit":null,
"questions":[
{
"question":"USP of the business- How is applicant's business different from others in the same line of business",
"question_key":"usp_of_business",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Future plans for business expansion",
"question_key":"future_business_expansion",
"type":"1",
"field_type":"string",
"field_width":"100",
"onchange_properties":null,
"api_properties":null,
"answers":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Key competitors",
"question_key":"key_competitors",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Sucession plan- who will look after the business after applicant retire/are unable to run business due to any reason",
"question_key":"sucession_plan",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Brief of other group concerns/Business run by the applicants",
"question_key":"other_group_business_applicants",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,188 @@
{
"section_id":"15",
"section_name":"Existing Loan Obligations",
"onsubmit":null,
"questions":[
{
"question":[{
"question":"Loan type",
"question_key":"loan_type",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Loan amount",
"question_key":"loan_amount",
"type":"1",
"field_type":"num",
"field_width":"100",
"onchange_properties":null,
"api_properties":null,
"answers":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Lender name",
"question_key":"lender_name",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Loan taken by",
"question_key":"loan_taken_by",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Instalment Amount",
"question_key":"instalment_amount",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Installment frequency",
"question_key":"instalment_frequency",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Original tenure in months",
"question_key":"original_tenure_months",
"type":"1",
"field_width":"100",
"field_type":"num",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Current balance tenure in months",
"question_key":"current_tenure_months",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Elapsed tenure in mths",
"question_key":"elapsed_tenure_months",
"type":"1",
"field_width":"45",
"field_type":"num",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Existing Loan Obligations",
"group_key":"existing_loan_details"}
]
}

View File

@ -0,0 +1,122 @@
{
"section_id":"16",
"section_name":"Family Members Involved in Business",
"onsubmit":null,
"questions":[
{
"question":[
{
"question":"Name",
"question_key":"member_name",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Name Required",
"value":null
},
{
"name":"pattern",
"isactive":"1",
"validator":"[A-Za-z ]*",
"message":"alphabets only ",
"value":null
}
]
},
{
"question":"Relationship",
"question_key":"relationship",
"place_holder":"Enter the text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Share value Required",
"value":null
}
]
},
{
"question":"Relation to Individual Stakeholders",
"question_key":"stakeholder_relation",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Name Required",
"value":null
}
]
},
{
"question":"Relation to Company / Firm",
"question_key":"company_relation",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Name Required",
"value":null
}
]
},
{
"question":"Started Business (Yes / No)",
"question_key":"started_biz",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Name Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Family Members Involved in Business",
"group_key":"family_details"
}
]
}

View File

@ -0,0 +1,264 @@
{
"section_id":"17",
"section_name":"Neighbourhood Details",
"onsubmit":[],
"questions":[
{
"question":[
{
"question":"Neighbour name",
"question_key":"neighbourhood_name",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Do you know about the applicant or their business?",
"question_key":"do_know",
"type":"3",
"api_properties":null,
"answers":[
{
"answer":"Yes",
"answer_id":"yes"
},
{
"answer":"No",
"answer_id":"no"
}
],
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"As per you how long has this business been in operation",
"question_key":"know_business_operation",
"place_holder":"Enter the text",
"type":"2",
"api_properties":null,
"answers":[
{
"answer":"Know",
"answer_id":"yes"
},
{
"answer":"Do not know",
"answer_id":"no"
}
],
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
],
"onchange_properties": [ {
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"know_business_operation",
"expression":"(String('know_business_operation') === String('yes'))",
"value_keys":[
"know_business_operation"
],
"questions":[
{
"question":"Years",
"question_key":"how_long_do_know_in_year",
"type":"1",
"field_width":"100",
"field_type":"num",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"know_business_operation",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ,
{
"question":"Months",
"question_key":"how_long_do_know_in_month",
"type":"1",
"field_type":"num",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"know_business_operation",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
] } ] }]
},
{
"question":"Who is the owner of organisation?",
"question_key":"know_organisation_owner",
"type":"2",
"api_properties":null,
"answers":[
{
"answer":"Know",
"answer_id":"yes"
},
{
"answer":"Do not know",
"answer_id":"no"
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
],
"onchange_properties": [ {
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"know_organisation_owner",
"expression":"(String('know_organisation_owner') === String('yes'))",
"value_keys":[
"know_organisation_owner"
],
"questions":[
{
"question":"Who is the owner of the organisation",
"question_key":"organisation_owner",
"type":"4",
"field_width":"100",
"field_type":"num",
"api_properties": {
"purpose":"answer_options_local",
"master_name":"pd_applicants",
"fields":["pd_co_applicant_id","applicant_name"]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"know_organisation_owner",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
] } ] }]
}
],
"is_repeatable":"1",
"group_title":"Neighbourhood Details",
"group_key":"neighbourhood_list"
},
{
"question":"Status of the neighbour check as per PD officer",
"question_key":"neighbourhood_status",
"type":"3",
"api_properties":null,
"answers":[
{
"answer":"Select",
"answer_id":""
},
{
"answer":"Positive",
"answer_id":"Positive"
},
{
"answer":"Negative",
"answer_id":"Negative"
},
{
"answer":"Could Not Verify",
"answer_id":"Could Not Verify"
}
],
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Remarks",
"question_key":"neighbourhood_remarks",
"type":"7",
"placeholder":"Enter the remarks",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,53 @@
{
"section_id":"18",
"section_name":"Credit manager specific queries",
"onsubmit":[],
"questions":[
{
"question":[
{
"question":"Question",
"question_key":"question",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Answer",
"question_key":"answer",
"place_holder":"Enter the answer here",
"type":"7",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Query",
"group_key":"cm_queries"
}
]
}

View File

@ -0,0 +1,215 @@
{
"section_id":"19",
"section_name":"Final remarks",
"onsubmit":null,
"questions":[
{
"question":"Customer Behaviour",
"question_key":"customer_behaviour",
"type":"3",
"field_width":"45",
"answers":null,
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"CUSTOMERBEHAVIOUR"
},
"fields":[
"customer_behaviour_id",
"description"
]
},
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"customer_behaviour",
"expression":"(String('customer_behaviour') == String('1'))",
"value_keys":[
"customer_behaviour"
],
"questions":[
{ "question":"Specify Customer behaviour",
"question_key":"customer_behaviour_other",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"customer_behaviour",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ] }
]}] ,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Is the location of the business suited to the nature of the business provided?",
"question_key":"business_location_suited",
"type":"3",
"field_width":"45",
"onchange_properties":null,
"api_properties":null,
"answers":[
{
"answer":"Well Suited",
"answer_id":"Well Suited"
},
{
"answer":"Fairly suited",
"answer_id":"Fairly suited"
},
{
"answer":"Not suited",
"answer_id":"Not suited"
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"PD officer recommendation (Positive/negative/ refer to credit)",
"question_key":"pd_officer_recommendation",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"PDOFFICERRECOMMENDATIONS"
},
"fields":[
"pdofficer_recommendation_id",
"pdofficer_recommendation"
]
},
"answers":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"pd_officer_recommendation",
"expression":"(String('pd_officer_recommendation') == String('1'))",
"value_keys":[
"pd_officer_recommendation"
],
"questions":[
{ "question":"Specify PD Officer Recommendation",
"question_key":"pd_officer_recommendation_other",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"pd_officer_recommendation",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
} ] } ,
{
"insert_index":"pd_officer_recommendation",
"expression":"(String('pd_officer_recommendation') != String('1')) && (String('pdofficer_recommendation') != String(''))",
"value_keys":[
"pd_officer_recommendation"
],
"questions":[
{
"question":[{
"question":"Reasons for marking PD status as Positive/negative/ refer to credit",
"question_key":"reason",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"pd_officer_recommendation",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Remarks",
"group_key":"pd_officer_recommendation_remarks"
} ] }
] }],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Common Remarks",
"question_key":"final_form_remarks",
"place_holder":"Enter the remarks here",
"type":"7",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,292 @@
{
"section_id":"2",
"section_name":"Address details",
"onsubmit":null,
"questions":[
{
"question":"Address at which PD was initiated",
"question_key":"initiated_address",
"type":"7",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Is this the address where PD is done ?",
"question_key":"is_pd_done_on_initiated_address",
"type":"2",
"field_width":"45",
"onchange_properties": [{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"is_pd_done_on_initiated_address",
"expression":"(String('is_pd_done_on_initiated_address') == String('No'))",
"value_keys":[
"is_pd_done_on_initiated_address"
],
"questions":[
{
"question":"Enter actual PD address",
"question_key":"alternative_address",
"place_holder":"",
"field_type":"string",
"type":"7",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_pd_done_on_initiated_address",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}],
"api_properties":null,
"answers":[
{
"answer_id":"Yes",
"answer":"Yes"
},
{
"answer_id":"No",
"answer":"No"
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Type of PD address",
"question_key":"address_type",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"ADDRESSTYPE"
},
"fields":[
"address_type_id",
"address_type"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"PD locality",
"question_key":"pd_locality",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"LOCALITY"
},
"fields":[
"locality_id",
"locality_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Approach to PD location*",
"question_key":"pd_location",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"PDLOCATIONAPPROACH"
},
"fields":[
"pd_location_approach_id",
"description"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Comment on locality",
"question_key":"comment_locality",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"COMMENTSONLOCALITY"
},
"fields":[
"comments_on_locality_id",
"rating"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Estimated Area of the business",
"question_key":"business_estimated_area",
"type":"1",
"field_width":"45",
"field_type":"num",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"UOM",
"question_key":"uom",
"type":"8",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"UOM"
},
"fields":[
"uom_id",
"name"
]
},
"answers":null,
"onchange_properties": [{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"uom",
"expression":"(String('uom') == String('1'))",
"value_keys":[
"uom"
],
"questions":[
{
"question":"Specify the UOM",
"question_key":"uom_specify",
"place_holder":"",
"field_type":"string",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"uom",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,121 @@
{
"section_id":"2",
"section_name":"Loan details",
"onsubmit":null,
"questions":[
{
"question":"Loan amount applied for",
"question_key":"loan_amount",
"type":"1",
"field_width":"100",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Loan Tenure",
"question_key":"loan_tenure",
"type":"1",
"field_width":"100",
"onchange_properties": null,
"api_properties":null,
"answers":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"End use of loan",
"question_key":"end_use",
"type":"1",
"field_width":"100",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Total fund requirement",
"question_key":"total_fund_requirement",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties": [{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"total_fund_requirement",
"expression":"(String('total_fund_requirement').toLowerCase() == String('disclosed')) && (String('total_fund_requirement'))",
"value_keys":[
"total_fund_requirement"
],
"questions":[
{
"question":"Fund Requirement for end use",
"question_key":"end_use_fund_requirement",
"place_holder":"",
"field_type":"string",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"total_fund_requirement",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,163 @@
{
"section_id":"4",
"section_name":"General Business Information",
"onsubmit":null,
"questions":[
{
"question":"Type of Business Entity",
"question_key":"business_entity_type",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Type of Business activities",
"question_key":"select_business_activity_type",
"type":"1",
"field_width":"45",
"onchange_properties":null,
"api_properties":null,
"answers":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Area of Sale",
"question_key":"area_of_sale",
"type":"3",
"field_width":"45",
"api_properties":null,
"answers":[{
"answer":"Within India",
"answer_id":"Within India"
},
{
"answer":"Export",
"answer_id":"Export"
},
{
"answer":"Both",
"answer_id":"Both"
}],
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Is the business seasonal (Yes / No)",
"question_key":"seasonality",
"type":"2",
"field_width":"45",
"api_properties":null,
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},{
"answer":"No",
"answer_id":"No"
}],
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"seasonality",
"expression":"(String('seasonality') == String('Yes'))",
"value_keys":[
"seasonality"
],
"questions":[
{
"question_key":"low_sale_month",
"question":"Months in which sales/services is low?",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"field_width":"45",
"is_subfield":"1",
"parent_question_key":"seasonality",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question_key":"low_sale_month_reason",
"question":"Reason for Months in which sales/services is low?",
"place_holder":"Enter the text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"is_subfield":"1",
"field_width":"45",
"parent_question_key":"seasonality",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
]
}
]
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,194 @@
{
"section_id":"5",
"section_name":"Key Stakeholders in Business",
"onsubmit":[
],
"questions":[
{
"question":[
{
"question":"Name of key Stakeholder",
"question_key":"stakeholder_name",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Name Required",
"value":null
}
]
},
{
"question":"Share Holding (%)",
"question_key":"share_holding",
"place_holder":"Enter number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Share value Required",
"value":null
},
{
"name":"max",
"validator":"100",
"isactive":"1",
"message":"Number must be less than 100",
"value":null
}
]
},
{
"question":"Vintage in Current Business",
"question_key":"vintage_in_current_biz",
"place_holder":"Enter in years",
"type":"1",
"api_properties":null,
"answers":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Current vintage Required",
"value":null
}
],
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"total_work_exp",
"expression":"(total_work_exp > vintage_in_current_biz)",
"value_keys":[
"total_work_exp",
"vintage_in_current_biz"
],
"questions":[
{
"question_key":"previous_experience_details",
"question":"Previous Experience Details",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"parent_question_key":"vintage_in_current_biz",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Previous Experience Required",
"value":null
}
]
}
]
}
]
}
]
},
{
"question":"Total Work Experience",
"question_key":"total_work_exp",
"place_holder":"Enter in years",
"type":"1",
"api_properties":null,
"answers":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Total experience Required",
"value":null
}
],
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"total_work_exp",
"expression":"(total_work_exp > vintage_in_current_biz)",
"value_keys":[
"total_work_exp",
"vintage_in_current_biz"
],
"questions":[
{
"question":"Previous Experience Details",
"question_key":"previous_experience_details",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"parent_question_key":"total_work_exp",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Previous Experience Required",
"value":null
}
]
}
]
}
]
}
]
},
{
"question":"Started Business",
"question_key":"started_biz",
"type":"1",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Started Business Required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Details of Key Stakeholders in the Business",
"group_key":"key_stakeholders"
}
]
}

View File

@ -0,0 +1,81 @@
{
"section_id":"6",
"section_name":"Key Products and Business Contribution",
"onsubmit":[],
"questions":[
{
"question":[
{
"question":"Key Product Name",
"question_key":"product_name",
"place_holder":"Enter text",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Contribution to Business of the Product (%)",
"question_key":"contribution_business_product",
"place_holder":"Enter number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
},
{
"name":"max",
"validator":"100",
"isactive":"1",
"message":"Number must be less than 100",
"value":null
}
]
},
{
"question":"Business Process Brief",
"question_key":"business_process",
"place_holder":"Enter the text",
"type":"1",
"api_properties":null,
"answers":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
],
"onchange_properties":null
}
],
"is_repeatable":"1",
"group_title":"Key Products and Business Contribution",
"group_key":"key_products_contribution"
}
]
}

View File

@ -0,0 +1,138 @@
{
"section_id":"7",
"section_name":"Employee Strength",
"onsubmit":[],
"questions":[
{
"question":"Permanent Employees",
"sub_title":"No of Employees (As per person met)",
"question_key":"permanant_employees_person_met",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Temporary Employees",
"question_key":"temporary_employees_person_met",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Permanent Employees",
"sub_title":"No of Employees (Sighted by Credit Manager)",
"question_key":"permanant_employees_cm",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Temporary Employees",
"question_key":"temporary_employees_cm",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"num",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Permanent Employees",
"sub_title":"Approximate Salary Paid (Rs Per Month)",
"question_key":"permanant_employees_salary",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Temporary Employees",
"question_key":"temporary_employees_salary",
"place_holder":"Enter the number",
"type":"1",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"field_width":"45",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,677 @@
{
"section_id":"8",
"section_name":"Business Assets",
"onsubmit":null,
"questions":[
{
"question":" Is this the business address?",
"question_key":"is_business_address",
"type":"2",
"field_width":"100",
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"is_business_address",
"expression":"(String('is_business_address') == String('Yes'))",
"value_keys":[
"is_business_address"
],
"questions":[
{
"question":"Year",
"sub_title":"How Long has business been operated from visited premises?",
"question_key":"business_years",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_business_address",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Month",
"question_key":"business_months",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_business_address",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Was any business activities seen during visit?",
"question_key":"business_is_pd_visited",
"place_holder":"",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"business_is_pd_visited",
"expression":"(String('business_is_pd_visited') == String('Yes')) && (String('is_business_address') == String('Yes'))",
"value_keys":[
"business_is_pd_visited",
"is_business_address"
],
"questions":[
{
"question":"Remarks",
"question_key":"business_pd_visited_remark",
"place_holder":"",
"field_type":"string",
"type":"7",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_is_pd_visited",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]}],
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_business_address",
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Ownership type",
"question_key":"business_ownership_type",
"place_holder":"",
"type":"2",
"field_width":"100",
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"business_ownership_type",
"expression":"(String('business_ownership_type') == String('Owned')) && (String('is_business_address') == String('Yes'))",
"value_keys":[
"business_ownership_type",
"is_business_address"
],
"questions":[
{
"question":"Approximate Market value",
"question_key":"business_approximate_market_value",
"place_holder":"",
"field_type":"numtoword",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Factory owned by",
"question_key":"business_name_of_the_owner",
"type":"3",
"field_width":"45",
"api_properties":
{
"purpose":"answer_options_local",
"master_name":"pd_applicants",
"fields":["pd_co_applicant_id","applicant_name"]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Age of asset in years",
"question_key":"business_vintage",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Purchase year",
"question_key":"business_purchase_year",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
,
{
"question":"Is there a Loan Existing against this asset",
"question_key":"business_emi",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":[
{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
},
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"business_ownership_type",
"expression":"(String('business_ownership_type') == String('Rented')) && (String('is_business_address') == String('Yes'))",
"value_keys":[
"business_ownership_type",
"is_business_address"
],
"questions":[
{
"question":"Monthly Rent Amount",
"question_key":"business_monthly_rented_amt",
"place_holder":"",
"field_type":"numtoword",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}
],
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_business_address",
"answers":[
{
"answer":"Owned",
"answer_id":"Owned"
},
{
"answer":"Rented",
"answer_id":"Rented"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Is there any other business asset available?",
"question_key":"asset_info_available",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":[{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"asset_info_available",
"expression":"(String('asset_info_available') == String('Yes'))",
"value_keys":[
"asset_info_available"
],
"questions":[
{
"question":[{
"question":"Asset Type",
"question_key":"business_assets_mode",
"type":"3",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"ASSETTYPE"
},
"fields":[
"id",
"name"
]
},
"onchange_properties":null,
"is_repeatable":null,
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Description",
"question_key":"other_asset_description",
"type":"7",
"field_width":"100",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Ownership type",
"question_key":"business_ownership_type",
"place_holder":"",
"type":"2",
"field_width":"100",
"api_properties":null,
"onchange_properties":[
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"business_ownership_type",
"expression":"(String('business_ownership_type') == String('Owned'))",
"value_keys":[
"business_ownership_type"
],
"questions":[
{
"question":"Approximate Market value",
"question_key":"business_approximate_market_value",
"place_holder":"",
"field_type":"numtoword",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Factory owned by",
"question_key":"business_name_of_the_owner",
"type":"3",
"field_width":"45",
"api_properties":
{
"purpose":"answer_options_local",
"master_name":"pd_applicants",
"fields":["pd_co_applicant_id","applicant_name"]
},
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Age of asset in years",
"question_key":"business_vintage",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Purchase year",
"question_key":"business_purchase_year",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
,
{
"question":"Is there a Loan Existing against this asset",
"question_key":"business_emi",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":[
{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
},
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"business_ownership_type",
"expression":"(String('business_ownership_type') == String('Rented'))",
"value_keys":[
"business_ownership_type"
],
"questions":[
{
"question":"Monthly Rent Amount",
"question_key":"business_monthly_rented_amt",
"place_holder":"",
"field_type":"numtoword",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"business_ownership_type",
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}
]
}
],
"is_repeatable":null,
"is_subfield":"1",
"parent_question_key":"is_business_address",
"answers":[
{
"answer":"Owned",
"answer_id":"Owned"
},
{
"answer":"Rented",
"answer_id":"Rented"
}
],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}],
"is_repeatable":"1",
"group_title":"Business Asset Details",
"group_key":"business_assets_details"
}
]
}
]
}],
"is_repeatable":null,
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
]
}

View File

@ -0,0 +1,163 @@
{
"section_id":"9",
"section_name":"Business and Personal Banking Details",
"onsubmit":[],
"questions":[
{
"question":[
{
"question": "Business Account holder name",
"question_key": "applicant_name",
"type": "1",
"api_properties": {
"purpose": "answer_options_local",
"master_name": "pd_applicants",
"fields": [
"pd_co_applicant_id",
"applicant_name"
]
},
"answers": null,
"onchange_properties": null,
"is_repeatable": null,
"field_type": "string",
"validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Required",
"value": null
}
]
},
{
"question":"Bank Name",
"question_key":"bank_name",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Business Account type",
"question_key":"account_type",
"type":"1",
"field_width":"45",
"api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"ACCOUNTTYPE"
},
"fields":[
"bt_lender_list_id",
"lender_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Is this the main business account",
"question_key":"is_main",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":[
{
"answer":"Select",
"answer_id":""
},
{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}
],
"onchange_properties":null,
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question":"Year",
"sub_title":"Approximate vintage of the account",
"question_key":"vintage_year",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
},
{
"question":"Month",
"question_key":"vintage_month",
"place_holder":"",
"field_type":"num",
"type":"1",
"field_width":"45",
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"answers":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
]
}
],
"is_repeatable":"1",
"group_title":"Banking Details",
"group_key":"banking_details"
}
]
}