template changes
This commit is contained in:
parent
3ad6e5aa14
commit
8427950eea
BIN
ng6-seed/Sparq-Lender Test(19-04-2021)Web.zip
Normal file
BIN
ng6-seed/Sparq-Lender Test(19-04-2021)Web.zip
Normal file
Binary file not shown.
Binary file not shown.
232
ng6-seed/src/assets/data/LFMP/4.json
Normal file
232
ng6-seed/src/assets/data/LFMP/4.json
Normal file
@ -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"
|
||||
}
|
||||
|
||||
@ -221,7 +221,12 @@
|
||||
"field_width":"45",
|
||||
"validations":[
|
||||
]
|
||||
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"is_repeatable":"1",
|
||||
"group_title":"Details of General Business Information",
|
||||
"group_key":"general_business"
|
||||
}
|
||||
|
||||
Binary file not shown.
171
ng6-seed/src/assets/data/WCTL/4.json
Normal file
171
ng6-seed/src/assets/data/WCTL/4.json
Normal file
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user