Fairoj : Finanical template update and duplicate all template for WCTL

This commit is contained in:
venbatechnologies@gmail.com 2020-11-21 12:47:34 +05:30
parent b0a98424fd
commit 7280878fc6
17 changed files with 1899 additions and 1638 deletions

View File

@ -245,190 +245,7 @@
} }
] ]
}, },
{
"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
}
]
},
{
"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
}
]
},
{
"question":"No of Months",
"question_key":"broken_period_no_of_months",
"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":"Turnover for Broken Period in CY (Rs)",
"question_key":"broken_period_turnover_cy",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Turnover for Broken Period in PY (Rs)",
"question_key":"broken_period_turnover_py",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Increase / Decrease in Turnover for Broken Period %",
"question_key":"broken_period_turnover_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":"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
}
]
},
{
"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
}
]
},
{
"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", "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?", "sub_title":"In Case of credit sales, what is the average no. of days taken to receive the money?",
@ -553,110 +370,8 @@
"value":null "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
}
] ]
} }
], ],
@ -665,13 +380,298 @@
"group_title":"Financial Information" "group_title":"Financial Information"
}, },
{ {
"question":[ "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
}
]
},
{
"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
}
]
},
{
"question":"No of Months",
"question_key":"broken_period_no_of_months",
"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":"Turnover for Broken Period in CY (Rs)",
"question_key":"broken_period_turnover_cy",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Turnover for Broken Period in PY (Rs)",
"question_key":"broken_period_turnover_py",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Increase / Decrease in Turnover for Broken Period %",
"question_key":"broken_period_turnover_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":"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
}
]
},
{
"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
}
]
},
{
"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":"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
}
]
},
{
"question":"Sales / Revenue (Rs)", "question":"Sales / Revenue (Rs)",
"sub_title":"Particulars of Financials for Latest Year as per person met during PD visit",
"question_key":"sales_amount", "question_key":"sales_amount",
"place_holder":"Enter text", "place_holder":"Enter text",
"type":"1", "type":"1",
"field_width":"45", "field_width":"100",
"field_type":"numtoword", "field_type":"numtoword",
"api_properties":null, "api_properties":null,
"answers":null, "answers":null,
@ -771,10 +771,6 @@
} }
] ]
} }
],
"is_repeatable":"1",
"group_title":"Particulars of Financials for Latest Year as per person met during PD visit",
"group_key":"financial_particulars"
}
] ]
} }

View File

@ -1,239 +1,219 @@
{ {
"section_id":"15", "section_id": "15",
"section_name":"Existing Loan Obligations", "section_name": "Existing Loan Obligations",
"onsubmit":null, "onsubmit": null,
"questions":[ "questions": [
{ {
"question":[{ "question": [
"question":"Loan type", {
"question_key":"loan_type", "question": "Loan type",
"type":"1", "question_key": "loan_type",
"field_width":"100", "type": "1",
"answers":null, "field_width": "100",
"api_properties":null, "answers": null,
"onchange_properties":null, "api_properties": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Loan amount", {
"question_key":"loan_amount", "question": "Loan amount",
"type":"1", "question_key": "loan_amount",
"field_type":"num", "type": "1",
"field_width":"100", "field_type": "num",
"onchange_properties":null, "field_width": "100",
"api_properties":null, "onchange_properties": null,
"answers":null, "api_properties": null,
"is_repeatable":null, "answers": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Lender name", {
"question_key":"lender_name", "question": "Lender name",
"type":"1", "question_key": "lender_name",
"field_width":"100", "type": "1",
"api_properties":null, "field_width": "100",
"answers":null, "api_properties": null,
"onchange_properties":null, "answers": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Loan taken by", {
"question_key":"loan_taken_by", "question": "Loan taken by",
"type":"1", "question_key": "loan_taken_by",
"field_width":"100", "type": "1",
"api_properties":null, "field_width": "100",
"answers":null, "api_properties": null,
"onchange_properties":null, "answers": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Monthly Obligations", {
"question_key":"monthly_obligations", "question": "Instalment Amount",
"type":"1", "question_key": "instalment_amount",
"field_type":"num", "type": "1",
"field_width":"100", "field_width": "100",
"api_properties":null, "field_type": "numtoword",
"answers":null, "api_properties": null,
"onchange_properties":null, "answers": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
},
{ {
"question":"Instalment Amount", "question": "Installment frequency",
"question_key":"instalment_amount", "question_key": "instalment_frequency",
"type":"1", "type": "3",
"field_width":"100", "field_width": "100",
"field_type":"numtoword", "api_properties": null,
"api_properties":null, "answers": [
"answers":null, {
"onchange_properties":null, "answer_id": "Daily",
"is_repeatable":null, "answer": "Daily"
"validations":[ },
{ {
"name":"required", "answer_id": "Every 12 days",
"isactive":"1", "answer": "Every 12 days"
"validator":"Validators.required", },
"message":"Field Required", {
"value":null "answer_id": "Every 15 days",
} "answer": "Every 15 days"
] },
}, {
{ "answer_id": "Monthly",
"question":"Installment frequency", "answer": "Monthly"
"question_key":"instalment_frequency", },
"type":"3", {
"field_width":"100", "answer_id": "Every 3 months",
"api_properties":null, "answer": "Every 3 months"
"answers":[ },
{ {
"answer_id":"Daily", "answer_id": "Every 6 months",
"answer":"Daily" "answer": "Every 6 months"
}, },
{ {
"answer_id":"Every 12 days", "answer_id": "Yearly",
"answer":"Every 12 days" "answer": "Yearly"
}, }
{ ],
"answer_id":"Every 15 days", "onchange_properties": null,
"answer":"Every 15 days" "is_repeatable": null,
}, "validations": [
{ {
"answer_id":"Monthly", "name": "required",
"answer":"Monthly" "isactive": "1",
}, "validator": "Validators.required",
{ "message": "Field Required",
"answer_id":"Every 3 months", "value": null
"answer":"Every 3 months" }
}, ]
{ },
"answer_id":"Every 6 months", {
"answer":"Every 6 months" "question": "Original tenure in months",
}, "question_key": "original_tenure_months",
{ "type": "1",
"answer_id":"Yearly", "field_width": "100",
"answer":"Yearly" "field_type": "num",
} "api_properties": null,
], "answers": null,
"onchange_properties":null, "onchange_properties": null,
"is_repeatable":null, "is_repeatable": null,
"validations":[ "validations": [
{ {
"name":"required", "name": "required",
"isactive":"1", "isactive": "1",
"validator":"Validators.required", "validator": "Validators.required",
"message":"Field Required", "message": "Field Required",
"value":null "value": null
} }
] ]
}, },
{ {
"question":"Original tenure in months", "question": "Current balance tenure in months",
"question_key":"original_tenure_months", "question_key": "current_tenure_months",
"type":"1", "type": "1",
"field_width":"100", "field_type": "num",
"field_type":"num", "field_width": "100",
"api_properties":null, "api_properties": null,
"answers":null, "answers": null,
"onchange_properties":null, "onchange_properties": null,
"is_repeatable":null, "is_repeatable": null,
"validations":[ "validations": [
{ {
"name":"required", "name": "required",
"isactive":"1", "isactive": "1",
"validator":"Validators.required", "validator": "Validators.required",
"message":"Field Required", "message": "Field Required",
"value":null "value": null
} }
] ]
}, },
{ {
"question":"Current balance tenure in months", "question": "Elapsed tenure in mths",
"question_key":"current_tenure_months", "question_key": "elapsed_tenure_months",
"type":"1", "type": "1",
"field_type":"num", "field_width": "45",
"field_width":"100", "field_type": "num",
"api_properties":null, "api_properties": null,
"answers":null, "answers": null,
"onchange_properties":null, "onchange_properties": null,
"is_repeatable":null, "is_repeatable": null,
"validations":[ "validations": [
{ {
"name":"required", "name": "required",
"isactive":"1", "isactive": "1",
"validator":"Validators.required", "validator": "Validators.required",
"message":"Field Required", "message": "Field Required",
"value":null "value": null
} }
] ]
}, }
{ ],
"question":"Elapsed tenure in mths", "is_repeatable": "1",
"question_key":"elapsed_tenure_months", "group_title": "Existing Loan Obligations",
"type":"1", "group_key": "existing_loan_details"
"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

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

View File

@ -49,7 +49,56 @@
"field_width":"100", "field_width":"100",
"api_properties":null, "api_properties":null,
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":[{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"relationship",
"expression":"(String('entity_type').toLowerCase() == String('individual'))",
"value_keys":[
"entity_type"
],
"questions":[
{
"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
}
]
}
]
}
]
},
{
"purpose":"question_label",
"expression":"(function () {let label= '';(String('entity_type').toLowerCase().includes('individual')) ? label= 'Number of years the borrower has been in this business.' : label = 'Number of years for which the business has been running';return label}())",
"value_keys":[
"entity_type"
],
"insert_control":"numbers_of_years_business_running"
}],
"is_repeatable":null, "is_repeatable":null,
"validations":[ "validations":[
{ {
@ -118,38 +167,12 @@
} }
] ]
}, },
{
"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":"Age",
"question_key":"borrower_age", "question_key":"borrower_age",
"type":"1", "type":"1",
"field_type":"num",
"field_width":"45", "field_width":"45",
"api_properties":null, "api_properties":null,
"answers":null, "answers":null,
@ -170,6 +193,7 @@
"question_key":"numbers_of_years_business_running", "question_key":"numbers_of_years_business_running",
"type":"1", "type":"1",
"field_width":"45", "field_width":"45",
"field_type":"num",
"api_properties":null, "api_properties":null,
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":null,

View File

@ -73,7 +73,7 @@
"onchange_properties":[ "onchange_properties":[
{ {
"purpose":"answer_value", "purpose":"answer_value",
"expression":"(Number(net_profit)/Number(sales_revenue))*100", "expression":"((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)",
"value_keys":[ "value_keys":[
"sales_revenue","net_profit" "sales_revenue","net_profit"
], ],
@ -154,6 +154,7 @@
"question":"Net Profit or (Net Loss) to Sales % ", "question":"Net Profit or (Net Loss) to Sales % ",
"question_key":"net_profit_sales_percent", "question_key":"net_profit_sales_percent",
"type":"1", "type":"1",
"is_disabled":"1",
"field_width":"45", "field_width":"45",
"answers":null, "answers":null,
"api_properties":null, "api_properties":null,
@ -184,6 +185,7 @@
"question":"% (↑ /↓) in Sales over PY", "question":"% (↑ /↓) in Sales over PY",
"question_key":"sales_py", "question_key":"sales_py",
"type":"1", "type":"1",
"is_disabled":"1",
"field_width":"45", "field_width":"45",
"answers":null, "answers":null,
"api_properties":null, "api_properties":null,
@ -204,6 +206,7 @@
"question":"% (↑ /↓) in Net Profit over PY", "question":"% (↑ /↓) in Net Profit over PY",
"question_key":"netprofit_py", "question_key":"netprofit_py",
"type":"1", "type":"1",
"is_disabled":"1",
"field_width":"45", "field_width":"45",
"answers":null, "answers":null,
"api_properties":null, "api_properties":null,
@ -225,6 +228,7 @@
"question":"% (↑ /↓) in Net Profit % over PY", "question":"% (↑ /↓) in Net Profit % over PY",
"question_key":"netprofit_py_percent", "question_key":"netprofit_py_percent",
"type":"1", "type":"1",
"is_disabled":"1",
"field_width":"45", "field_width":"45",
"answers":null, "answers":null,
"api_properties":null, "api_properties":null,
@ -241,139 +245,7 @@
} }
] ]
}, },
{
"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", "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?", "sub_title":"In Case of credit sales, what is the average no. of days taken to receive the money?",
@ -498,116 +370,407 @@
"value":null "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", "is_repeatable":"1",
"group_key":"financial_info", "group_key":"financial_info",
"group_title":"Financial Information" "group_title":"Financial Information"
} },
{
"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
}
]
},
{
"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
}
]
},
{
"question":"No of Months",
"question_key":"broken_period_no_of_months",
"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":"Turnover for Broken Period in CY (Rs)",
"question_key":"broken_period_turnover_cy",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Turnover for Broken Period in PY (Rs)",
"question_key":"broken_period_turnover_py",
"type":"1",
"field_width":"45",
"answers":null,
"api_properties":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Increase / Decrease in Turnover for Broken Period %",
"question_key":"broken_period_turnover_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":"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
}
]
},
{
"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
}
]
},
{
"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":"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
}
]
},
{
"question":"Sales / Revenue (Rs)",
"sub_title":"Particulars of Financials for Latest Year as per person met during PD visit",
"question_key":"sales_amount",
"place_holder":"Enter text",
"type":"1",
"field_width":"100",
"field_type":"numtoword",
"api_properties":null,
"answers":null,
"onchange_properties":[
{
"purpose":"answer_value",
"expression":"(function (){let final_value; Number(net_profit_to_sales_percent) ? final_value = (Number(sales_amount)*Number(net_profit_to_sales_percent))/100 : '';return final_value}())",
"value_keys":[
"sales_amount", "net_profit_to_sales_percent"
],
"insert_control":"net_profit_rs"
},
{
"purpose":"answer_value",
"expression":"(function (){let final_value; Number(net_profit_rs) ? final_value = (Number(net_profit_rs)/Number(sales_amount))*100 : '';return final_value}())",
"value_keys":[
"sales_amount", "net_profit_rs"
],
"insert_control":"net_profit_to_sales_percent"
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
},
{
"question":"Net Profit or (Net Loss) to Sales % ",
"question_key":"net_profit_to_sales_percent",
"place_holder":"Enter number",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"onchange_properties":[
{
"purpose":"answer_value",
"expression":"(Number(sales_amount)*Number(net_profit_to_sales_percent))/100",
"value_keys":[
"sales_amount", "net_profit_to_sales_percent"
],
"insert_control":"net_profit_rs"
}
],
"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":"Net Profit / (Net Loss) (Rs)",
"question_key":"net_profit_rs",
"place_holder":"Enter the text",
"type":"1",
"field_width":"45",
"api_properties":null,
"answers":null,
"is_repeatable":null,
"field_type":"numtoword",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
],
"onchange_properties":[
{
"purpose":"answer_value",
"expression":"(Number(net_profit_rs)/Number(sales_amount))*100",
"value_keys":[
"sales_amount", "net_profit_rs"
],
"insert_control":"net_profit_to_sales_percent"
}
]
}
] ]
} }

View File

@ -136,13 +136,6 @@
"parent_question_key":"supplier_info_available", "parent_question_key":"supplier_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
}, },
{ {
@ -188,13 +181,6 @@
"parent_question_key":"supplier_info_available", "parent_question_key":"supplier_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
@ -217,13 +203,6 @@
"parent_question_key":"supplier_info_available", "parent_question_key":"supplier_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",

View File

@ -136,13 +136,6 @@
"parent_question_key":"client_info_available", "parent_question_key":"client_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
}, },
{ {
@ -188,13 +181,6 @@
"parent_question_key":"client_info_available", "parent_question_key":"client_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",
@ -217,13 +203,6 @@
"parent_question_key":"client_info_available", "parent_question_key":"client_info_available",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
},
{ {
"name":"pattern", "name":"pattern",
"isactive":"1", "isactive":"1",

View File

@ -1,181 +1,350 @@
{ {
"section_id":"13", "section_id": "13",
"section_name":"Stock details", "section_name": "Stock details",
"onsubmit":[], "onsubmit": [],
"questions":[ "questions": [
{ {
"question":[ "question": "Is stock applicable to the business (Yes / No)",
{ "question_key": "stock_info_available",
"question":"Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided", "type": "2",
"question_key":"provider_name", "field_width": "45",
"place_holder":"Enter text", "api_properties": null,
"type":"1", "onchange_properties": [
"api_properties":null, {
"answers":null, "purpose": "FORM_CTRL",
"onchange_properties":null, "form_controls": [
"is_repeatable":null, {
"field_type":"string", "insert_index": "stock_info_available",
"validations":[ "expression": "(String('stock_info_available') == String('No'))",
{ "value_keys": [
"name":"required", "stock_info_available"
"isactive":"1", ],
"validator":"Validators.required", "questions": [
"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", "question": "Reason",
"expression":"(String('provider_observed') === String('yes'))", "question_key": "stock_not_available_reason",
"value_keys":[ "type": "7",
"provider_observed" "field_width": "100",
], "api_properties": null,
"questions":[ "onchange_properties": null,
{ "is_repeatable": null,
"question":"Estimated Quantity", "is_subfield": "1",
"question_key":"estimated_quantity", "parent_question_key": "stock_info_available",
"type":"1", "answers": null,
"field_width":"100", "validations": [
"field_type":"num", {
"api_properties":null, "name": "required",
"onchange_properties":null, "isactive": "1",
"is_repeatable":null, "validator": "Validators.required",
"is_subfield":"1", "message": "Field required",
"parent_question_key":"provider_observed", "value": null
"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", "purpose": "FORM_CTRL",
"answer_id":"no" "form_controls": [
}, {
{ "insert_index": "stock_info_available",
"answer":"Stock not required to be maintained", "expression": "(String('stock_info_available') == String('Yes'))",
"answer_id":"not applicable" "value_keys": [
"stock_info_available"
],
"questions":[
{
"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": "stock_info_available",
"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
}
]
}
]
},
{
"insert_index": "stock_info_available",
"expression": "(String('stock_info_available') == String('Yes'))",
"value_keys": [
"stock_info_available"
],
"questions": [
{
"question": [
{
"question": "Type of Stock",
"question_key": "stock_type",
"type": "3",
"field_width": "100",
"api_properties": null,
"onchange_properties": null,
"is_repeatable": null,
"is_subfield": "1",
"parent_question_key": "stock_info_available",
"answers": [
{
"answer": "RM",
"answer_id": "RM"
},
{
"answer": "FG",
"answer_id": "FG"
},
{
"answer": "SFG",
"answer_id": "SFG"
}
],
"validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Field required",
"value": null
}
]
},
{
"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": [
{
"purpose": "validations",
"validations": [
{
"name": "required",
"isactive": "1",
"validator": "",
"message": "Required",
"value": "(String('estimated_quantity') != String('')) || (String('estimated_stock_value') != String('')) ",
"validation_to": null,
"value_keys": [
"estimated_quantity",
"estimated_stock_value"
]
},
{
"name": "required",
"isactive": "1",
"validator": "",
"message": "Required",
"value": "(String('estimated_quantity') != String('')) || (String('estimated_stock_value') != String('')) ",
"validation_to": "estimated_stock_value",
"value_keys": [
"estimated_quantity",
"estimated_stock_value"
]
}
]
}
],
"is_repeatable": null,
"is_subfield": "1",
"parent_question_key": "provider_observed",
"answers": null,
"validations": []
},
{
"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": [
{
"purpose": "validations",
"validations": [
{
"name": "required",
"isactive": "1",
"validator": "",
"message": "Required",
"value": "(String('estimated_quantity') != String('')) || (String('estimated_stock_value') != String('')) ",
"validation_to": null,
"value_keys": [
"estimated_quantity",
"estimated_stock_value"
]
},
{
"name": "required",
"isactive": "1",
"validator": "",
"message": "Required",
"value": "(String('estimated_quantity') != String('')) || (String('estimated_stock_value') != String('')) ",
"validation_to": "estimated_quantity",
"value_keys": [
"estimated_quantity",
"estimated_stock_value"
]
}
]
}
],
"is_repeatable": null,
"is_subfield": "1",
"parent_question_key": "provider_observed",
"answers": null,
"validations": []
}
]
}
]
}
]
}
],
"is_repeatable": "1",
"group_title": "Stock details",
"group_key": "stock_details"
}
]
}
]
} }
], ],
"validations":[ "is_repeatable": null,
{ "answers": [
"name":"required", {
"isactive":"1", "answer": "Yes",
"validator":"Validators.required", "answer_id": "Yes"
"message":"Field required", },
"value":null {
} "answer": "No",
] "answer_id": "No"
} }
] ],
} "validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Field required",
"value": null
}
]
}
]
}

View File

@ -1,188 +1,219 @@
{ {
"section_id":"15", "section_id": "15",
"section_name":"Existing Loan Obligations", "section_name": "Existing Loan Obligations",
"onsubmit":null, "onsubmit": null,
"questions":[ "questions": [
{ {
"question":[{ "question": [
"question":"Loan type", {
"question_key":"loan_type", "question": "Loan type",
"type":"1", "question_key": "loan_type",
"field_width":"100", "type": "1",
"answers":null, "field_width": "100",
"api_properties":null, "answers": null,
"onchange_properties":null, "api_properties": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Loan amount", {
"question_key":"loan_amount", "question": "Loan amount",
"type":"1", "question_key": "loan_amount",
"field_type":"num", "type": "1",
"field_width":"100", "field_type": "num",
"onchange_properties":null, "field_width": "100",
"api_properties":null, "onchange_properties": null,
"answers":null, "api_properties": null,
"is_repeatable":null, "answers": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Lender name", {
"question_key":"lender_name", "question": "Lender name",
"type":"1", "question_key": "lender_name",
"field_width":"100", "type": "1",
"api_properties":null, "field_width": "100",
"answers":null, "api_properties": null,
"onchange_properties":null, "answers": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Loan taken by", {
"question_key":"loan_taken_by", "question": "Loan taken by",
"type":"1", "question_key": "loan_taken_by",
"field_width":"100", "type": "1",
"api_properties":null, "field_width": "100",
"answers":null, "api_properties": null,
"onchange_properties":null, "answers": null,
"is_repeatable":null, "onchange_properties": null,
"validations":[ "is_repeatable": null,
{ "validations": [
"name":"required", {
"isactive":"1", "name": "required",
"validator":"Validators.required", "isactive": "1",
"message":"Field Required", "validator": "Validators.required",
"value":null "message": "Field Required",
} "value": null
] }
}, ]
{ },
"question":"Instalment Amount", {
"question_key":"instalment_amount", "question": "Instalment Amount",
"type":"1", "question_key": "instalment_amount",
"field_width":"100", "type": "1",
"api_properties":null, "field_width": "100",
"answers":null, "field_type": "numtoword",
"onchange_properties":null, "api_properties": null,
"is_repeatable":null, "answers": null,
"validations":[ "onchange_properties": null,
{ "is_repeatable": null,
"name":"required", "validations": [
"isactive":"1", {
"validator":"Validators.required", "name": "required",
"message":"Field Required", "isactive": "1",
"value":null "validator": "Validators.required",
} "message": "Field Required",
] "value": null
}, }
{ ]
"question":"Installment frequency", },
"question_key":"instalment_frequency", {
"type":"1", "question": "Installment frequency",
"field_width":"100", "question_key": "instalment_frequency",
"api_properties":null, "type": "3",
"answers":null, "field_width": "100",
"onchange_properties":null, "api_properties": null,
"is_repeatable":null, "answers": [
"validations":[ {
{ "answer_id": "Daily",
"name":"required", "answer": "Daily"
"isactive":"1", },
"validator":"Validators.required", {
"message":"Field Required", "answer_id": "Every 12 days",
"value":null "answer": "Every 12 days"
} },
] {
}, "answer_id": "Every 15 days",
{ "answer": "Every 15 days"
"question":"Original tenure in months", },
"question_key":"original_tenure_months", {
"type":"1", "answer_id": "Monthly",
"field_width":"100", "answer": "Monthly"
"field_type":"num", },
"api_properties":null, {
"answers":null, "answer_id": "Every 3 months",
"onchange_properties":null, "answer": "Every 3 months"
"is_repeatable":null, },
"validations":[ {
{ "answer_id": "Every 6 months",
"name":"required", "answer": "Every 6 months"
"isactive":"1", },
"validator":"Validators.required", {
"message":"Field Required", "answer_id": "Yearly",
"value":null "answer": "Yearly"
} }
] ],
}, "onchange_properties": null,
{ "is_repeatable": null,
"question":"Current balance tenure in months", "validations": [
"question_key":"current_tenure_months", {
"type":"1", "name": "required",
"field_type":"num", "isactive": "1",
"field_width":"100", "validator": "Validators.required",
"api_properties":null, "message": "Field Required",
"answers":null, "value": null
"onchange_properties":null, }
"is_repeatable":null, ]
"validations":[ },
{ {
"name":"required", "question": "Original tenure in months",
"isactive":"1", "question_key": "original_tenure_months",
"validator":"Validators.required", "type": "1",
"message":"Field Required", "field_width": "100",
"value":null "field_type": "num",
} "api_properties": null,
] "answers": null,
}, "onchange_properties": null,
{ "is_repeatable": null,
"question":"Elapsed tenure in mths", "validations": [
"question_key":"elapsed_tenure_months", {
"type":"1", "name": "required",
"field_width":"45", "isactive": "1",
"field_type":"num", "validator": "Validators.required",
"api_properties":null, "message": "Field Required",
"answers":null, "value": null
"onchange_properties":null, }
"is_repeatable":null, ]
"validations":[ },
{ {
"name":"required", "question": "Current balance tenure in months",
"isactive":"1", "question_key": "current_tenure_months",
"validator":"Validators.required", "type": "1",
"message":"Field Required", "field_type": "num",
"value":null "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"
} }
], ]
"is_repeatable":"1", }
"group_title":"Existing Loan Obligations",
"group_key":"existing_loan_details"}
]
}

View File

@ -2,6 +2,22 @@
"section_id":"16", "section_id":"16",
"section_name":"Family Members Involved in Business", "section_name":"Family Members Involved in Business",
"onsubmit":null, "onsubmit":null,
"questions":[
{
"question":"Is any other family member involved in the business",
"question_key":"is_family_details_available",
"type":"2",
"field_width":"45",
"api_properties":null,
"onchange_properties":[{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"is_family_details_available",
"expression":"(String('is_family_details_available') == String('Yes'))",
"value_keys":[
"is_family_details_available"
],
"questions":[ "questions":[
{ {
"question":[ "question":[
@ -14,7 +30,6 @@
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"field_type":"string",
"validations":[ "validations":[
{ {
"name":"required", "name":"required",
@ -36,18 +51,27 @@
"question":"Relationship", "question":"Relationship",
"question_key":"relationship", "question_key":"relationship",
"place_holder":"Enter the text", "place_holder":"Enter the text",
"type":"1", "type":"8",
"api_properties":null, "api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"RELATIONSHIPS"
},
"fields":[
"relationship_id",
"name"
]
},
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"field_type":"string",
"validations":[ "validations":[
{ {
"name":"required", "name":"required",
"isactive":"1", "isactive":"1",
"validator":"Validators.required", "validator":"Validators.required",
"message":"Share value Required", "message":"Required",
"value":null "value":null
} }
] ]
@ -56,18 +80,21 @@
"question":"Relation to Individual Stakeholders", "question":"Relation to Individual Stakeholders",
"question_key":"stakeholder_relation", "question_key":"stakeholder_relation",
"place_holder":"Enter text", "place_holder":"Enter text",
"type":"1", "type":"3",
"api_properties":null, "api_properties":{
"purpose":"answer_options_local",
"master_name":"pd_applicants",
"fields":["pd_co_applicant_id","applicant_name"]
},
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"field_type":"string",
"validations":[ "validations":[
{ {
"name":"required", "name":"required",
"isactive":"1", "isactive":"1",
"validator":"Validators.required", "validator":"Validators.required",
"message":"Name Required", "message":"Required",
"value":null "value":null
} }
] ]
@ -76,18 +103,27 @@
"question":"Relation to Company / Firm", "question":"Relation to Company / Firm",
"question_key":"company_relation", "question_key":"company_relation",
"place_holder":"Enter text", "place_holder":"Enter text",
"type":"1", "type":"8",
"api_properties":null, "api_properties":{
"api":"getListOfMaster",
"api_method":"POST",
"params":{
"master_name":"COMPANYRELATIONSHIPS"
},
"fields":[
"company_relationship_id",
"name"
]
},
"answers":null, "answers":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"field_type":"string",
"validations":[ "validations":[
{ {
"name":"required", "name":"required",
"isactive":"1", "isactive":"1",
"validator":"Validators.required", "validator":"Validators.required",
"message":"Name Required", "message":"Required",
"value":null "value":null
} }
] ]
@ -96,18 +132,26 @@
"question":"Started Business (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":"2",
"api_properties":null, "api_properties":null,
"answers":null, "answers":[
{
"answer_id":"Yes",
"answer":"Yes"
},
{
"answer_id":"No",
"answer":"No"
}
],
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"field_type":"string",
"validations":[ "validations":[
{ {
"name":"required", "name":"required",
"isactive":"1", "isactive":"1",
"validator":"Validators.required", "validator":"Validators.required",
"message":"Name Required", "message":"Required",
"value":null "value":null
} }
] ]
@ -118,5 +162,27 @@
"group_title":"Family Members Involved in Business", "group_title":"Family Members Involved in Business",
"group_key":"family_details" "group_key":"family_details"
} }
]}]
}],
"is_repeatable":null,
"answers":[{
"answer":"Yes",
"answer_id":"Yes"
},
{
"answer":"No",
"answer_id":"No"
}],
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
]
}
] ]
} }

View File

@ -16,13 +16,6 @@
"is_repeatable":null, "is_repeatable":null,
"field_type":"string", "field_type":"string",
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
] ]
}, },
{ {
@ -35,13 +28,6 @@
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
] ]
} }
], ],

View File

@ -200,13 +200,6 @@
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
] ]
} }

View File

@ -227,18 +227,29 @@
"question_key":"uom", "question_key":"uom",
"type":"8", "type":"8",
"field_width":"45", "field_width":"45",
"api_properties":{ "api_properties":null,
"api":"getListOfMaster", "answers":[
"api_method":"POST", {
"params":{ "answer":"Acres",
"master_name":"UOM" "answer_id":"Acres"
}, },
"fields":[ {
"uom_id", "answer":"Hectares",
"name" "answer_id":"Hectares"
] },
}, {
"answers":null, "answer":"Square Feet",
"answer_id":"Square Feet"
},
{
"answer":"Square Meters",
"answer_id":"Square Meters"
},
{
"answer":"Square Yards",
"answer_id":"Square Yards"
}
],
"onchange_properties": [{ "onchange_properties": [{
"purpose":"FORM_CTRL", "purpose":"FORM_CTRL",
"form_controls":[ "form_controls":[

View File

@ -168,13 +168,22 @@
] ]
}, },
{ {
"question":"Started Business", "question":"Started Business (Yes / No)",
"question_key":"started_biz", "question_key":"started_biz",
"type":"1", "type":"2",
"api_properties":null, "api_properties":null,
"onchange_properties":null, "onchange_properties":null,
"is_repeatable":null, "is_repeatable":null,
"answers":null, "answers":[
{
"answer_id":"Yes",
"answer":"Yes"
},
{
"answer_id":"No",
"answer":"No"
}
],
"validations":[ "validations":[
{ {
"name":"required", "name":"required",

View File

@ -53,8 +53,8 @@
] ]
}, },
{ {
"question":"Business Process Brief", "question":"Remarks if any",
"question_key":"business_process", "question_key":"remarks",
"place_holder":"Enter the text", "place_holder":"Enter the text",
"type":"1", "type":"1",
"api_properties":null, "api_properties":null,
@ -62,13 +62,6 @@
"is_repeatable":null, "is_repeatable":null,
"field_type":"string", "field_type":"string",
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Required",
"value":null
}
], ],
"onchange_properties":null "onchange_properties":null
} }
@ -76,6 +69,26 @@
"is_repeatable":"1", "is_repeatable":"1",
"group_title":"Key Products and Business Contribution", "group_title":"Key Products and Business Contribution",
"group_key":"key_products_contribution" "group_key":"key_products_contribution"
} },
{
"question":"Business Process Brief",
"question_key":"business_process",
"place_holder":"Enter the text",
"type":"7",
"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
}
] ]
} }

View File

@ -29,8 +29,8 @@
], ],
"questions":[ "questions":[
{ {
"question":"Year", "question":"No of Years",
"sub_title":"How Long has business been operated from visited premises?", "sub_title":"How Long has business been operated from visited premises? (Eg. If operating for 5 years and 4 months enter 5 in Years field and 4 in months field)",
"question_key":"business_years", "question_key":"business_years",
"place_holder":"", "place_holder":"",
"field_type":"num", "field_type":"num",
@ -53,7 +53,7 @@
] ]
}, },
{ {
"question":"Month", "question":"No of Months",
"question_key":"business_months", "question_key":"business_months",
"place_holder":"", "place_holder":"",
"field_type":"num", "field_type":"num",
@ -66,13 +66,6 @@
"parent_question_key":"is_business_address", "parent_question_key":"is_business_address",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
}, },
{ {
@ -88,7 +81,7 @@
"form_controls":[ "form_controls":[
{ {
"insert_index":"business_is_pd_visited", "insert_index":"business_is_pd_visited",
"expression":"(String('business_is_pd_visited') == String('Yes')) && (String('is_business_address') == String('Yes'))", "expression":"(String('business_is_pd_visited') != String('')) && (String('is_business_address') == String('Yes'))",
"value_keys":[ "value_keys":[
"business_is_pd_visited", "business_is_pd_visited",
"is_business_address" "is_business_address"
@ -223,13 +216,6 @@
"parent_question_key":"business_ownership_type", "parent_question_key":"business_ownership_type",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
}, },
{ {
@ -246,13 +232,6 @@
"parent_question_key":"business_ownership_type", "parent_question_key":"business_ownership_type",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
} }
, ,
@ -508,19 +487,22 @@
"type":"1", "type":"1",
"field_width":"45", "field_width":"45",
"api_properties":null, "api_properties":null,
"onchange_properties":null, "onchange_properties":[
{
"purpose":"answer_value",
"expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_vintage)}())",
"value_keys":[
"business_vintage"
],
"insert_control":"business_purchase_year"
}
],
"is_repeatable":null, "is_repeatable":null,
"is_subfield":"1", "is_subfield":"1",
"parent_question_key":"business_ownership_type", "parent_question_key":"business_ownership_type",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
}, },
{ {
@ -531,19 +513,22 @@
"type":"1", "type":"1",
"field_width":"45", "field_width":"45",
"api_properties":null, "api_properties":null,
"onchange_properties":null, "onchange_properties":[
{
"purpose":"answer_value",
"expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_purchase_year)}())",
"value_keys":[
"business_purchase_year"
],
"insert_control":"business_vintage"
}
],
"is_repeatable":null, "is_repeatable":null,
"is_subfield":"1", "is_subfield":"1",
"parent_question_key":"business_ownership_type", "parent_question_key":"business_ownership_type",
"answers":null, "answers":null,
"validations":[ "validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field required",
"value":null
}
] ]
} }
, ,

View File

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