Fairoj : SMC credit pd Template changes LFMP AND WCTL

This commit is contained in:
venbatechnologies@gmail.com 2021-04-21 19:50:53 +05:30
parent 8427950eea
commit e5aa6d41b9
4 changed files with 1040 additions and 1095 deletions

View File

@ -635,6 +635,37 @@
"group_key": "financial_info",
"group_title": "Financial Information"
},
{
"question":"Name of the Company",
"question_key":"company_name",
"place_holder":"Enter text",
"type":"3",
"api_properties":{
"api":"getCompanyListForSMCList",
"api_method":"POST",
"params":{"records":{
"pd_id":"VAR_PD_ID",
"random_string":"VAR_RANDOM_STRING"
}},
"fields":[
"company_id",
"borrower_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Company Name Required",
"value":null
}
]
},
{
"question": "Number of financial years for which we have financials",
"question_key": "no_of_financial_years",
@ -673,39 +704,6 @@
]
},
{
"question":"Name of the Company",
"question_key":"company_name",
"place_holder":"Enter text",
"type":"3",
"api_properties":{
"api":"getCompanyListForSMCList",
"api_method":"POST",
"params":{"records":{
"pd_id":"VAR_PD_ID",
"random_string":"VAR_RANDOM_STRING"
}},
"fields":[
"company_id",
"borrower_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Company Name Required",
"value":null
}
]
},
{
"question_key": "common_remarks",
"question": "Remarks",

View File

@ -1,232 +1,266 @@
{
"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 (within India and Export)",
"answer_id":"Both (within India and Export)"
}],
"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":[
"section_id": "4",
"section_name": "General Business Information",
"onsubmit": null,
"questions": [
{
"question": [
{
"purpose":"FORM_CTRL",
"form_controls":[
{
"insert_index":"seasonality",
"expression":"(String('seasonality') == String('Yes'))",
"value_keys":[
"seasonality"
],
"questions":[
"question":"Name of the Company",
"question_key":"company_name",
"place_holder":"Enter text",
"type":"3",
"api_properties":{
"api":"getCompanyListForSMCList",
"api_method":"POST",
"params":{"records":{
"pd_id":"VAR_PD_ID",
"random_string":"VAR_RANDOM_STRING"
}},
"fields":[
"company_id",
"borrower_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Company Name Required",
"value":null
}
]
},
{
"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 (within India and Export)",
"answer_id": "Both (within India and Export)"
}
],
"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": [
{
"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":[
"insert_index": "seasonality",
"expression": "(String('seasonality') == String('Yes'))",
"value_keys": [
"seasonality"
],
"questions": [
{
"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
}
]
},
{
"question_key": "low_sale_month",
"question": "Months in which sales/services is low?",
"place_holder": "",
"type": "4",
"api_properties": null,
"answers": [
{
"answer_id": "January",
"answer": "January"
},
{
"answer_id": "February",
"answer": "February"
},
{
"answer_id": "March",
"answer": "March"
},
{
"answer_id": "April",
"answer": "April"
},
{
"answer_id": "May",
"answer": "May"
},
{
"answer_id": "June",
"answer": "June"
},
{
"answer_id": "July",
"answer": "July"
},
{
"answer_id": "August",
"answer": "August"
},
{
"answer_id": "September",
"answer": "September"
},
{
"answer_id": "October",
"answer": "October"
},
{
"answer_id": "November",
"answer": "November"
},
{
"answer_id": "December",
"answer": "December"
}
],
"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",
"question":"Months in which sales/services is low?",
"place_holder":"",
"type":"4",
"api_properties":null,
"answers":[
{
"answer_id":"January",
"answer":"January"
},
{
"answer_id":"February",
"answer":"February"
},
{
"answer_id":"March",
"answer":"March"
},
{
"answer_id":"April",
"answer":"April"
},
{
"answer_id":"May",
"answer":"May"
},
{
"answer_id":"June",
"answer":"June"
},
{
"answer_id":"July",
"answer":"July"
},
{
"answer_id":"August",
"answer":"August"
},
{
"answer_id":"September",
"answer":"September"
},
{
"answer_id":"October",
"answer":"October"
},
{
"answer_id":"November",
"answer":"November"
},
{
"answer_id":"December",
"answer":"December"
}
],
"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
}
]
}
]
}
]
}
],
"is_repeatable":null,
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Field Required",
"value":null
}
]
},
{
"question_key":"common_remarks",
"question":"Remarks",
"place_holder":"Enter the text",
"type":"7",
"api_properties":null,
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"field_width":"45",
"validations":[
]
}
]
}
],
"is_repeatable": null,
"validations": [
{
"name": "required",
"isactive": "1",
"validator": "Validators.required",
"message": "Field Required",
"value": null
}
]
}
],
"is_repeatable": "1",
"group_title": "Details of General Business Information",
"group_key": "general_business"
},
{
"question_key": "common_remarks",
"question": "Remarks",
"place_holder": "Enter the text",
"type": "7",
"api_properties": null,
"answers": null,
"onchange_properties": null,
"is_repeatable": null,
"field_type": "string",
"field_width": "45",
"validations": []
}
],
"is_repeatable":"1",
"group_title":"Details of General Business Information",
"group_key":"general_business"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,37 @@
"questions":[
{
"question":[
{
"question":"Name of the Company",
"question_key":"company_name",
"place_holder":"Enter text",
"type":"3",
"api_properties":{
"api":"getCompanyListForSMCList",
"api_method":"POST",
"params":{"records":{
"pd_id":"VAR_PD_ID",
"random_string":"VAR_RANDOM_STRING"
}},
"fields":[
"company_id",
"borrower_name"
]
},
"answers":null,
"onchange_properties":null,
"is_repeatable":null,
"field_type":"string",
"validations":[
{
"name":"required",
"isactive":"1",
"validator":"Validators.required",
"message":"Company Name Required",
"value":null
}
]
},
{
"question":"Type of Business Entity",
"question_key":"business_entity_type",