diff --git a/ng6-seed/Sparq-Lender Test(19-04-2021)Web.zip b/ng6-seed/Sparq-Lender Test(19-04-2021)Web.zip new file mode 100644 index 0000000..3512a31 Binary files /dev/null and b/ng6-seed/Sparq-Lender Test(19-04-2021)Web.zip differ diff --git a/ng6-seed/src/assets/data/LFMP.zip b/ng6-seed/src/assets/data/LFMP.zip index ac76037..a71b1d3 100644 Binary files a/ng6-seed/src/assets/data/LFMP.zip and b/ng6-seed/src/assets/data/LFMP.zip differ diff --git a/ng6-seed/src/assets/data/LFMP/4.json b/ng6-seed/src/assets/data/LFMP/4.json new file mode 100644 index 0000000..7cb3d13 --- /dev/null +++ b/ng6-seed/src/assets/data/LFMP/4.json @@ -0,0 +1,232 @@ +{ + "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":[ + { + "purpose":"FORM_CTRL", + "form_controls":[ + { + "insert_index":"seasonality", + "expression":"(String('seasonality') == String('Yes'))", + "value_keys":[ + "seasonality" + ], + "questions":[ + { + "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 + } + ] + } + + ] + } + ] + } + ], + "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":"1", + "group_title":"Details of General Business Information", + "group_key":"general_business" + } + \ No newline at end of file diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json index e9a8470..7cb3d13 100644 --- a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json +++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json @@ -221,7 +221,12 @@ "field_width":"45", "validations":[ ] + + } - ] + ], + "is_repeatable":"1", + "group_title":"Details of General Business Information", + "group_key":"general_business" } \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL.zip b/ng6-seed/src/assets/data/WCTL.zip index 037ce48..64b8033 100644 Binary files a/ng6-seed/src/assets/data/WCTL.zip and b/ng6-seed/src/assets/data/WCTL.zip differ diff --git a/ng6-seed/src/assets/data/WCTL/4.json b/ng6-seed/src/assets/data/WCTL/4.json new file mode 100644 index 0000000..1e41050 --- /dev/null +++ b/ng6-seed/src/assets/data/WCTL/4.json @@ -0,0 +1,171 @@ +{ + "section_id":"4", + "section_name":"General Business Information", + "onsubmit":null, + "questions":[ + { + "question":[ + { + "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 + } + ] + } + ], + + "is_repeatable":"1", + "group_title":"Details of General Business Information", + "group_key":"general_business" + } + ] + } + \ No newline at end of file