latest reqirement changes
This commit is contained in:
parent
ac9ab5e657
commit
9c8cacf18d
@ -2,7 +2,7 @@
|
||||
<mat-card>
|
||||
<div fxLayout="row" fxLayoutAlign="start center" class="mb-1">
|
||||
<div class="ml-xs mr-xs" style="width: 100%;">
|
||||
<mat-card-title><span>SMC Credit PD MIS Report </span>
|
||||
<mat-card-title><span>MW Credit PD MIS Report </span>
|
||||
|
||||
<button class="btn_export" mat-raised-button color="primary" (click)="exp.exportTable('xlsx',{fileName:'SMC Credit PD MIS Report'})" [disabled]="dataLength == 0 ? true : false || dataLength == -1 ? true : false" >Excel Export</button>
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<mat-card>
|
||||
<div fxLayout="row" fxLayoutAlign="start center" class="mb-1">
|
||||
<div class="ml-xs mr-xs" style="width: 100%;">
|
||||
<mat-card-title><span>Sales PD MIS Report </span>
|
||||
<mat-card-title><span>MW Sales PD MIS Report </span>
|
||||
|
||||
<button class="btn_export" mat-raised-button color="primary" (click)="exp.exportTable('xlsx',{fileName:'Sales PD MIS Report'})" [disabled]="dataLength == 0 ? true : false || dataLength == -1 ? true : false" >Excel Export</button>
|
||||
|
||||
|
||||
@ -35,8 +35,8 @@ const HORIZONTALMENUITEMS = [
|
||||
icon:'report',
|
||||
children:[
|
||||
{state:'reports',name:'Credit PD'},
|
||||
{state:'sales-pd-list/reports',name:'Sales PD'},
|
||||
{state:'reports/SMC-MIS',name:'SMC Credit PD'}
|
||||
{state:'sales-pd-list/reports',name:'MW Sales PD'},
|
||||
{state:'reports/SMC-MIS',name:'MW Credit PD'}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@ -119,8 +119,8 @@ const MENUITEMS : Menu[] = [
|
||||
icon:'report',
|
||||
children:[
|
||||
{state:'reports',name:'Credit PD'},
|
||||
{state:'sales-pd-list/reports',name:'Sales PD'},
|
||||
{state:'reports/SMC-MIS',name:'SMC Credit PD'}
|
||||
{state:'sales-pd-list/reports',name:'MW Sales PD'},
|
||||
{state:'reports/SMC-MIS',name:'MW Credit PD'}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
9
ng6-seed/src/assets/data/covid questions.json
Normal file
9
ng6-seed/src/assets/data/covid questions.json
Normal file
File diff suppressed because one or more lines are too long
333
ng6-seed/src/assets/data/general.json
Normal file
333
ng6-seed/src/assets/data/general.json
Normal file
@ -0,0 +1,333 @@
|
||||
{
|
||||
"section_id": "1",
|
||||
"section_name": "General Form",
|
||||
"onsubmit": null,
|
||||
"questions ": [
|
||||
{
|
||||
"question ": "Name",
|
||||
"question_key ": "name",
|
||||
"type ": "2 ",
|
||||
"field_width ": "100 ",
|
||||
"answers ": [
|
||||
{
|
||||
"answer_id ": "Yes ",
|
||||
"answer ": "Yes "
|
||||
},
|
||||
{
|
||||
"answer_id ": "No ",
|
||||
"answer ": "No "
|
||||
}
|
||||
],
|
||||
"api_properties ": null,
|
||||
"onchange_properties ": [
|
||||
{
|
||||
"purpose ": "FORM_CTRL ",
|
||||
"form_controls ": [
|
||||
{
|
||||
"insert_index ": "business_impacted_by_covid19 ",
|
||||
"expression ": "(String('business_impacted_by_covid19') == String('Yes')) ",
|
||||
"value_keys ": [
|
||||
"business_impacted_by_covid19 "
|
||||
],
|
||||
"questions ": [
|
||||
{
|
||||
"question ": "Enter your remarks ",
|
||||
"question_key ": "business_impacted_by_covid19_Yes ",
|
||||
"place_holder ": " ",
|
||||
"field_type ": "string ",
|
||||
"type ": "9 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"onchange_properties ": null,
|
||||
"is_repeatable ": null,
|
||||
"is_subfield ": "1 ",
|
||||
"parent_question_key ": "business_impacted_by_covid19 ",
|
||||
"answers ": [],
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"purpose ": "FORM_CTRL ",
|
||||
"form_controls ": [
|
||||
{
|
||||
"insert_index ": "business_impacted_by_covid19 ",
|
||||
"expression ": "(String('business_impacted_by_covid19') == String('No')) ",
|
||||
"value_keys ": [
|
||||
"business_impacted_by_covid19 "
|
||||
],
|
||||
"questions ": [
|
||||
{
|
||||
"question ": "Choose any ",
|
||||
"question_key ": "business_impacted_by_covid19_No ",
|
||||
"place_holder ": " ",
|
||||
"field_type ": "string ",
|
||||
"type ": "9 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"onchange_properties ": null,
|
||||
"is_repeatable ": null,
|
||||
"is_subfield ": "1 ",
|
||||
"parent_question_key ": "business_impacted_by_covid19 ",
|
||||
"answers ": [
|
||||
{
|
||||
"answer_id ": "Business falls under essential services like chemist ",
|
||||
"answer ": "Business falls under essential services like chemist "
|
||||
},
|
||||
{
|
||||
"answer_id ": " grocery store etc ",
|
||||
"answer ": "grocery store etc "
|
||||
}
|
||||
],
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"is_repeatable ": null,
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question ": " Did you avail the loan moratorium facility on your existing loans which is extended by your bank or financial institution? ",
|
||||
"question_key ": "avail_loan_moratorium_facility ",
|
||||
"type ": "2 ",
|
||||
"field_width ": "100 ",
|
||||
"onchange_properties ": [],
|
||||
"api_properties ": null,
|
||||
"answers ": [
|
||||
{
|
||||
"answer ": "Yes ",
|
||||
"answer_id ": "Yes "
|
||||
},
|
||||
{
|
||||
"answer ": "No ",
|
||||
"answer_id ": "No "
|
||||
}
|
||||
],
|
||||
"is_repeatable ": null,
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question ": "Are you planning to avail/ or already availed any loan or any other term facility for your business or personal use? ",
|
||||
"question_key ": "avail_any_loan ",
|
||||
"type ": "2 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"answers ": [
|
||||
{
|
||||
"answer ": "Yes ",
|
||||
"answer_id ": "Yes "
|
||||
},
|
||||
{
|
||||
"answer ": "No ",
|
||||
"answer_id ": "No "
|
||||
}
|
||||
],
|
||||
"onchange_properties ": [
|
||||
{
|
||||
"purpose ": "FORM_CTRL ",
|
||||
"form_controls ": [
|
||||
{
|
||||
"insert_index ": "avail_any_loan ",
|
||||
"expression ": "(String('avail_any_loan') == String('Yes')) ",
|
||||
"value_keys ": [
|
||||
"avail_any_loan "
|
||||
],
|
||||
"questions ": [
|
||||
{
|
||||
"question ": "Please specify amount, lender etc. ",
|
||||
"question_key ": "avail_any_loan_Yes ",
|
||||
"type ": "7 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"onchange_properties ": null,
|
||||
"is_repeatable ": null,
|
||||
"is_subfield ": "1 ",
|
||||
"parent_question_key ": "avail_any_loan ",
|
||||
"answers ": [],
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"is_repeatable ": null,
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question ": "How much is your sales/revenue from April till date? ",
|
||||
"question_key ": "sales_or_revenue_amt ",
|
||||
"place_holder ": "Enter amount ",
|
||||
"type ": "9 ",
|
||||
"answers ": [
|
||||
{
|
||||
"answer ": "Not Disclosed ",
|
||||
"answer_id ": "Not Disclosed "
|
||||
}
|
||||
],
|
||||
"onchange_properties ": [
|
||||
{
|
||||
"purpose ": "validations ",
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "pattern ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": " ",
|
||||
"message ": "Please enter the amount or choose the suggested text ",
|
||||
"value ": "(String('sales_or_revenue_amt').toLowerCase() != String('not disclosed')) ? '[0-9]*' : false ",
|
||||
"validation_to ": null,
|
||||
"value_keys ": [
|
||||
"sales_or_revenue_amt "
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"is_repeatable ": null,
|
||||
"field_type ": "str&numtoword ",
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question ": "Is turnover mentioned above validated? ",
|
||||
"question_key ": "mentioned_turover_validated ",
|
||||
"type ": "2 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"answers ": [
|
||||
{
|
||||
"answer ": "Yes ",
|
||||
"answer_id ": "Yes "
|
||||
},
|
||||
{
|
||||
"answer ": "No ",
|
||||
"answer_id ": "No "
|
||||
}
|
||||
],
|
||||
"onchange_properties ": [
|
||||
{
|
||||
"purpose ": "FORM_CTRL ",
|
||||
"form_controls ": [
|
||||
{
|
||||
"insert_index ": "mentioned_turover_validated ",
|
||||
"expression ": "(String('mentioned_turover_validated') == String('Yes')) ",
|
||||
"value_keys ": [
|
||||
"mentioned_turover_validated "
|
||||
],
|
||||
"questions ": [
|
||||
{
|
||||
"question ": "Choose any ",
|
||||
"question_key ": "mentioned_turover_validated_Yes ",
|
||||
"place_holder ": " ",
|
||||
"field_type ": "string ",
|
||||
"type ": "9 ",
|
||||
"field_width ": "100 ",
|
||||
"api_properties ": null,
|
||||
"onchange_properties ": null,
|
||||
"is_repeatable ": null,
|
||||
"is_subfield ": "1 ",
|
||||
"parent_question_key ": "mentioned_turover_validated ",
|
||||
"answers ": [
|
||||
{
|
||||
"answer_id ": "Bills ",
|
||||
"answer ": "Bills "
|
||||
},
|
||||
{
|
||||
"answer_id ": "Gst returns ",
|
||||
"answer ": "Gst returns "
|
||||
},
|
||||
{
|
||||
"answer_id ": "records shown ",
|
||||
"answer ": "records shown "
|
||||
}
|
||||
],
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"is_repeatable ": null,
|
||||
"validations ": [
|
||||
{
|
||||
"name ": "required ",
|
||||
"isactive ": "1 ",
|
||||
"validator ": "Validators.required ",
|
||||
"message ": "Field Required ",
|
||||
"value ": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}",
|
||||
Loading…
Reference in New Issue
Block a user