From 4804b63ebd7d203d597c632700fec8168071012d Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 22 Apr 2021 13:09:18 +0530 Subject: [PATCH] Fairoj :SMC CREDIT Template changes --- ng6-seed/src/assets/data/LFMP.zip | Bin 15488 -> 0 bytes ng6-seed/src/assets/data/LFMP/10.json | 723 --------------- ng6-seed/src/assets/data/LFMP/11.json | 359 -------- ng6-seed/src/assets/data/LFMP/12.json | 359 -------- ng6-seed/src/assets/data/LFMP/13.json | 330 ------- ng6-seed/src/assets/data/LFMP/4.json | 232 ----- ng6-seed/src/assets/data/LFMP/5.json | 248 ------ ng6-seed/src/assets/data/LFMP/6.json | 139 --- ng6-seed/src/assets/data/LFMP/8.json | 816 ----------------- .../data/SMC_CREDIT_TEMPLATES/LFMP/10.json | 6 +- .../data/SMC_CREDIT_TEMPLATES/LFMP/4.json | 3 +- .../data/SMC_CREDIT_TEMPLATES/WCTL/10.json | 6 +- .../data/SMC_CREDIT_TEMPLATES/WCTL/4.json | 2 +- ng6-seed/src/assets/data/WCTL.zip | Bin 14699 -> 0 bytes ng6-seed/src/assets/data/WCTL/10.json | 839 ------------------ ng6-seed/src/assets/data/WCTL/11.json | 406 --------- ng6-seed/src/assets/data/WCTL/12.json | 406 --------- ng6-seed/src/assets/data/WCTL/13.json | 355 -------- ng6-seed/src/assets/data/WCTL/4.json | 171 ---- ng6-seed/src/assets/data/WCTL/5.json | 234 ----- ng6-seed/src/assets/data/WCTL/6.json | 125 --- ng6-seed/src/assets/data/WCTL/8.json | 697 --------------- 22 files changed, 9 insertions(+), 6447 deletions(-) delete mode 100644 ng6-seed/src/assets/data/LFMP.zip delete mode 100644 ng6-seed/src/assets/data/LFMP/10.json delete mode 100644 ng6-seed/src/assets/data/LFMP/11.json delete mode 100644 ng6-seed/src/assets/data/LFMP/12.json delete mode 100644 ng6-seed/src/assets/data/LFMP/13.json delete mode 100644 ng6-seed/src/assets/data/LFMP/4.json delete mode 100644 ng6-seed/src/assets/data/LFMP/5.json delete mode 100644 ng6-seed/src/assets/data/LFMP/6.json delete mode 100644 ng6-seed/src/assets/data/LFMP/8.json delete mode 100644 ng6-seed/src/assets/data/WCTL.zip delete mode 100644 ng6-seed/src/assets/data/WCTL/10.json delete mode 100644 ng6-seed/src/assets/data/WCTL/11.json delete mode 100644 ng6-seed/src/assets/data/WCTL/12.json delete mode 100644 ng6-seed/src/assets/data/WCTL/13.json delete mode 100644 ng6-seed/src/assets/data/WCTL/4.json delete mode 100644 ng6-seed/src/assets/data/WCTL/5.json delete mode 100644 ng6-seed/src/assets/data/WCTL/6.json delete mode 100644 ng6-seed/src/assets/data/WCTL/8.json diff --git a/ng6-seed/src/assets/data/LFMP.zip b/ng6-seed/src/assets/data/LFMP.zip deleted file mode 100644 index a71b1d3b3d1c6be69552cd8369f486e22a5c32e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15488 zcmZ{r1CS=m)~?&OZQJgiwr#toZQHgvZFAbTZQDI<8+Xp$``mx--SO8KUu9-Q#SAH`TG$@209BzTbm0VciVLiw6AXdZeTHfa@A$~xd}M1bt0{a0}K$eIReTy2q2+c zleJxCB36>*h5grd`m+8eE8HX+ZWn4GK%DTao7YaMjv;!z-|QGGf67|BZ8zvB_E1so zmn?qtGWO#%enX=ZKWL`hiQrS~taPNyCv6(zp|_oI>HX)>F~2Sk82f5*lA5I+azNJ^ zreQcFzqjfKh#y9K+*8~SJGS`tXV6%<+pgQY0%zozNWG=NUEaVq)B8p{iF{c40k6>0 zsMwAZao3oD0WW5^bRO&RD&GPhg{Ud~9zVH0uQ=!`_Fudn_xP-4SqtzC4Hx1u1G-K! zkd^HB7X)xa;j}!1kQ$a_TGOub9Uwh`n#CK6>A7&e0*xPHN~+E{!e9pb3r#XaJ-gaN zqF%Gd@;odNo;rd}rpcLy8li5Z6Rx!Rq~SJj17P?=30Lp|g+UDKjt`i@iN6mdCGLo^ zW2vhsvC8u>)&UHBJHErPjfRFB00ycjx`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ia_~Ixrxec73_k=$Q{zpGq!LX5T@vKNNdp<`v z@S}9Ue)tV*g!#+1QYCN#Y)=V;%M8z+vEr9|Y33~htbJ`7SV^2DjsqzalM%+|)GPHe zR+EXDR$aAwtdjm})|J(mJ{tF2h>COpO{g`qgQ^blJMX&`#ON`8E8mgAQ10zdJm3j^ zNbm)(ycIr98@mA@mn5uw`?e0eEAAbf!T?Vu#d?_mCa zE`-0Ezt2QM0TBE(1O&hUplSf0+_HU+jN4#J~T4oyPp< zsO6vZ>~;TPjNdf%R99N=-))Tb&$R!a{_hgzKk3-8|E2$3(EKM|%})gv>o?UL*Xu9( z^>p38=>M)L`;&f({9pRt^<{t3(Q^=N|3g;|_4|unh}-)w`oA;!f6_;={!9NmzyBwl zO^k3H`!~J*J@7BO%|Y?M=>N{l{7Kg({D=N`p5{-u=OSy_pNsn6#r<~?4NKOj6!Xg-!n(L5B+QAAYx_zn)$yYDSyJvsQ!Wf9as4iKDFBt`5*Z4P~=~5 z;IfK;!T;?&|AZ&f{saHpiT()>v6YoT{|yf|js6R+3|;*X9Q1cZ1^@u$@1M}`*bh19 He@6cYMzftx diff --git a/ng6-seed/src/assets/data/LFMP/10.json b/ng6-seed/src/assets/data/LFMP/10.json deleted file mode 100644 index fc6d37c..0000000 --- a/ng6-seed/src/assets/data/LFMP/10.json +++ /dev/null @@ -1,723 +0,0 @@ -{ - "section_id": "10", - "section_name": "Financial Information", - "onsubmit": [ - { - "expression": "(function (){let sum_val=null;let ques_key=[];if(!control || control == undefined || control == null){return true};control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())", - "group_key": "financial_info", - "key_name": "fy", - "msg": "Financial Year already entered earlier" - } - ], - "questions": [ - { - "question":"Is the Financial information available?", - "question_key":"financial_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"financial_info_available", - "expression":"(String('financial_info_available') == String('Yes'))", - "value_keys":[ - "financial_info_available" - ], - "questions":[ - { - "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": [ - - ], - "onchange_properties": [ - { - "purpose": "answer_value", - "expression": "((Number(net_profit_rs)/Number(sales_amount))*100).toFixed(2)", - "value_keys": [ - "sales_amount", - "net_profit_rs" - ], - "insert_control": "net_profit_to_sales_percent" - } - ] - }, - { - "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": "max", - "validator": "100", - "isactive": "1", - "message": "Number must be less than 100", - "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.toFixed(2)}())", - "value_keys": [ - "sales_amount", - "net_profit_rs" - ], - "insert_control": "net_profit_to_sales_percent" - } - ], - "is_repeatable": null, - "validations": [ - - ] - }, - { - "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": "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": [ - - ] - }, - { - "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" - }, - { - "answer": "Others", - "answer_id": "Others" - } - ], - "api_properties": null, - "onchange_properties": [ - { - "purpose": "FORM_CTRL", - "form_controls": [ - { - "insert_index": "facility_details_other_lender", - "expression": "(String('facility_details_other_lender').toLowerCase() == String('others'))", - "value_keys": [ - "facility_details_other_lender" - ], - "questions": [ - { - "question": "Specify Facility details", - "question_key": "facility_details_other", - "type": "1", - "field_width": "45", - "field_type": "string", - "api_properties": null, - "answers": null, - "onchange_properties": null, - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "facility_details_other_lender", - "validations": [] - } - ] - } - ] - } - ], - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "is_any_other_working_captial_facility", - "validations": [ - - ] - } - ] - } - ] - } - ], - "is_repeatable": null, - "validations": [ - - ] - }, - { - "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": [ - - ] - }, - { - "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": [ - { - "purpose": "answer_value", - "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)", - "value_keys": [ - "broken_period_turnover_py", - "broken_period_turnover_cy" - ], - "insert_control": "broken_period_turnover_percent" - } - ], - "is_repeatable": null, - "field_type": "numtoword", - "validations": [ - - ] - }, - { - "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": [ - { - "purpose": "answer_value", - "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)", - "value_keys": [ - "broken_period_turnover_py", - "broken_period_turnover_cy" - ], - "insert_control": "broken_period_turnover_percent" - } - ], - "is_repeatable": null, - "field_type": "numtoword", - "validations": [ - - ] - }, - { - "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": [ - - ] - }, - { - "question": "Broken Period starting to (Date)", - "question_key": "broken_period_to_month", - "type": "1", - "place_holder": "DD-MM-YYYY (Eg 03-12-2020)", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": [ - { - "purpose": "answer_value", - "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())", - "value_keys": [ - "broken_period_to_month", - "broken_period_from_month" - ], - "insert_control": "broken_period_no_of_months" - } - ], - "is_repeatable": null, - "field_type": "string", - "validations": [ - - ] - }, - { - "question": "Broken Period starting from (Date)", - "question_key": "broken_period_from_month", - "type": "1", - "field_width": "45", - "place_holder": "DD-MM-YYYY (Eg 05-02-2020)", - "answers": null, - "api_properties": null, - "onchange_properties": [ - { - "purpose": "answer_value", - "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())", - "value_keys": [ - "broken_period_to_month", - "broken_period_from_month" - ], - "insert_control": "broken_period_no_of_months" - } - ], - "is_repeatable": null, - "field_type": "string", - "validations": [ - - ] - }, - { - "question": "Inventory Days as per CM Discussion", - "question_key": "inventory_days_cm", - "type": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "Creditor Days as per CM Discussion", - "question_key": "creditor_days_cm", - "type": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "Debtor Days as per CM Discussion", - "question_key": "debtor_days_cm", - "type": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": [ - { - "question": "Enter FY", - "question_key": "fy", - "type": "3", - "field_width": "45", - "answers": [], - "answer_value": "GET_FY_YEARS", - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - ] - }, - { - "question": "Sales / Revenue (Rs)", - "question_key": "sales_revenue", - "type": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": [ - { - "purpose": "answer_value", - "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)", - "value_keys": [ - "sales_revenue", - "net_profit" - ], - "insert_control": "net_profit_sales_percent" - }, - { - "purpose": "answer_value_arr", - "arr_include": [ - "py", - "now" - ], - "expression": "((Number(sales_revenue[now])-Number(sales_revenue[py]))/Number(sales_revenue[py]))*100", - "value_keys": [ - "sales_revenue" - ], - "insert_control": "sales_py" - }, - { - "purpose": "answer_value_arr", - "arr_include": [ - "py", - "now" - ], - "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys": [ - "net_profit_sales_percent" - ], - "insert_control": "netprofit_py_percent" - } - ], - "is_repeatable": null, - "field_type": "numtoword", - "validations": [ - - ] - }, - { - "question": "Net Profit / (Net Loss) (Rs) ", - "question_key": "net_profit", - "type": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": [ - { - "purpose": "answer_value", - "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)", - "value_keys": [ - "sales_revenue", - "net_profit" - ], - "insert_control": "net_profit_sales_percent" - }, - { - "purpose": "answer_value_arr", - "arr_include": [ - "py", - "now" - ], - "expression": "((Number(net_profit[now])-Number(net_profit[py]))/Number(net_profit[py]))*100", - "value_keys": [ - "net_profit" - ], - "insert_control": "netprofit_py" - }, - { - "purpose": "answer_value_arr", - "arr_include": [ - "py", - "now" - ], - "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys": [ - "net_profit_sales_percent" - ], - "insert_control": "netprofit_py_percent" - } - ], - "is_repeatable": null, - "field_type": "numtoword", - "validations": [ - - ] - }, - { - "question": "Net Profit or (Net Loss) to Sales % ", - "question_key": "net_profit_sales_percent", - "type": "1", - "is_disabled": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": [ - { - "purpose": "answer_value_arr", - "arr_include": [ - "py", - "now" - ], - "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys": [ - "net_profit_sales_percent" - ], - "insert_control": "netprofit_py_percent" - } - ], - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "% Variation in Sales over PY", - "question_key": "sales_py", - "type": "1", - "is_disabled": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "% Variation in Net Profit over PY", - "question_key": "netprofit_py", - "type": "1", - "is_disabled": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "Variation in Net Profit % over PY", - "question_key": "netprofit_py_percent", - "type": "1", - "is_disabled": "1", - "field_width": "45", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "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?", - "question_key": "debtor_days_cet", - "type": "1", - "field_width": "100", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "Creditor Days as per CET", - "sub_title": "In Case of credit purchases, what is the average no. of days taken to pay the money?", - "question_key": "creditor_days_cet", - "type": "1", - "field_width": "100", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - }, - { - "question": "Inventory Days as per CET", - "sub_title": "What is the average no. of days for which stock lies unsold during the year?", - "question_key": "inventory_days_cet", - "type": "1", - "field_width": "100", - "answers": null, - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - - ] - } - ], - "is_repeatable": "1", - "group_key": "financial_info", - "group_title": "Financial Information" - }, - { - "question": "Number of financial years for which we have financials", - "question_key": "no_of_financial_years", - "place_holder": "Enter the number", - "type": "1", - "field_width": "45", - "api_properties": null, - "answers": null, - "onchange_properties": null, - "is_repeatable": null, - "field_type": "num", - "validations": [ - { - "name": "pattern", - "isactive": "1", - "validator": "[0-9]*", - "message": "Numeric only ", - "value": null - } - ] - } - ] - }] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - - ] - }, - - { - "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", - "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": [] - } - ] -} \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/11.json b/ng6-seed/src/assets/data/LFMP/11.json deleted file mode 100644 index faaaa4c..0000000 --- a/ng6-seed/src/assets/data/LFMP/11.json +++ /dev/null @@ -1,359 +0,0 @@ -{ - "section_id":"11", - "section_name":"Supplier details", - "onsubmit":null, - "questions":[ - { - "question":"Is the Supplier information available?", - "question_key":"supplier_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"supplier_info_available", - "expression":"(String('supplier_info_available') == String('No'))", - "value_keys":[ - "supplier_info_available" - ], - "questions":[ - { "question":"Reason", - "question_key":"supplier_not_available_reason", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - - ] - } ] } ] }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"supplier_info_available", - "expression":"(String('supplier_info_available') == String('Yes'))", - "value_keys":[ - "supplier_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Raw Material Name/ Trading Product Name/ Service Name", - "question_key":"provider_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Supplier Name", - "question_key":"supplier_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Contact Person name", - "question_key":"contact_person_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Contact Person Designation", - "question_key":"contact_person_designation", - "type":"8", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"COMPANYRELATIONSHIPS" - }, - "fields":[ - "company_relationship_id", - "name" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - ] - }, - { - "question":"Contact Person Mobile Number", - "question_key":"contact_person_mobile_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{10,12}", - "message":"Mobile number should be 10-12 digit", - "value":null - } - ] - }, - { - "question":"STD Code", - "sub_title":"Contact Person Landline number", - "question_key":"person_stdcode", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{3,5}", - "message":"Maximum 5 digit allowed", - "value":null - } - ] - }, - { - "question":"Contact Person Landline number", - "question_key":"person_landline", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{6,8}", - "message":"Maximum 8 digit allowed", - "value":null - } - ] - }, - { - "question":"Payment Terms", - "question_key":"payment_type", - "type":"3", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"PAYMENTMODE" - }, - "fields":[ - "id", - "name" - ] - }, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"payment_type", - "expression":"(String('payment_type') == String('3'))", - "value_keys":[ - "payment_type" - ], - "questions":[ - { - "question":"No. of credit period provided by supplier", - "question_key":"credit_period_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"What % of total purchases are done on credit?", - "question_key":"credit_total_purchase", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - { - "name":"max", - "isactive":"1", - "validator":"100", - "message":"Percentage should lower or equal to '100'", - "value":null - } - ] - } - - ]}]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Payment Mode", - "question_key":"payment_mode", - "type":"3", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":[ - { - "answer_id":"Payment made in Cash", - "answer":"Payment made in Cash" - }, - { - "answer_id":"Payment made through Banking channels", - "answer":"Payment made through Banking channels" - }, - { - "answer_id":"Payment made through Cash and Banking channels", - "answer":"Payment made through Cash and Banking channels" - } - ], - "validations":[ - - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Supplier Details", - "group_key":"supplier_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - - ] - }, - { - "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":[ - ] - } - - - ] - } - \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/12.json b/ng6-seed/src/assets/data/LFMP/12.json deleted file mode 100644 index 0076565..0000000 --- a/ng6-seed/src/assets/data/LFMP/12.json +++ /dev/null @@ -1,359 +0,0 @@ -{ - "section_id":"12", - "section_name":"Clients details", - "onsubmit":null, - "questions":[ - { - "question":"Is the Client information available?", - "question_key":"client_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"client_info_available", - "expression":"(String('client_info_available') == String('No'))", - "value_keys":[ - "client_info_available" - ], - "questions":[ - { "question":"Reason", - "question_key":"client_not_available_reason", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - - ] - } ] } ] }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"client_info_available", - "expression":"(String('client_info_available') == String('Yes'))", - "value_keys":[ - "client_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Trading Product/Service/Manufacturing Product name", - "question_key":"provider_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Client Name", - "question_key":"client_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Contact Person name", - "question_key":"contact_person_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Contact Person Designation", - "question_key":"contact_person_designation", - "type":"8", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"COMPANYRELATIONSHIPS" - }, - "fields":[ - "company_relationship_id", - "name" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - ] - }, - { - "question":"Contact Person Mobile Number", - "question_key":"contact_person_mobile_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{10,12}", - "message":"Mobile number should be 10-12 digit", - "value":null - } - ] - }, - { - "question":"STD Code", - "sub_title":"Contact Person Landline number", - "question_key":"person_stdcode", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{3,5}", - "message":"Maximum 5 digit allowed", - "value":null - } - ] - }, - { - "question":"Contact Person Landline number", - "question_key":"person_landline", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{6,8}", - "message":"Maximum 8 digit allowed", - "value":null - } - ] - }, - { - "question":"Payment Terms", - "question_key":"payment_type", - "type":"3", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"PAYMENTMODE" - }, - "fields":[ - "id", - "name" - ] - }, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"payment_type", - "expression":"(String('payment_type') == String('3'))", - "value_keys":[ - "payment_type" - ], - "questions":[ - { - "question":"No. of days of credit period provided by client", - "question_key":"credit_period_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"What % of total sales are done on credit?", - "question_key":"credit_total_purchase", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - { - "name":"max", - "isactive":"1", - "validator":"100", - "message":"Percentage should lower or equal to '100'", - "value":null - } - ] - } - - ]}]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Payment Mode", - "question_key":"payment_mode", - "type":"3", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":[ - { - "answer_id":"Payment made in Cash", - "answer":"Payment made in Cash" - }, - { - "answer_id":"Payment made through Banking channels", - "answer":"Payment made through Banking channels" - }, - { - "answer_id":"Payment made through Cash and Banking channels", - "answer":"Payment made through Cash and Banking channels" - } - ], - "validations":[ - - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Client Details", - "group_key":"client_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - - ] - }, - { - "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":[ - ] - } - - - ] - } - \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/13.json b/ng6-seed/src/assets/data/LFMP/13.json deleted file mode 100644 index 4fbfbe0..0000000 --- a/ng6-seed/src/assets/data/LFMP/13.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "section_id": "13", - "section_name": "Stock details", - "onsubmit": [], - "questions": [ - { - "question": "Is stock applicable to the business (Yes / No)", - "question_key": "stock_info_available", - "type": "2", - "field_width": "45", - "api_properties": null, - "onchange_properties": [ - { - "purpose": "FORM_CTRL", - "form_controls": [ - { - "insert_index": "stock_info_available", - "expression": "(String('stock_info_available') == String('No'))", - "value_keys": [ - "stock_info_available" - ], - "questions": [ - { - "question": "Reason", - "question_key": "stock_not_available_reason", - "type": "7", - "field_width": "100", - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "stock_info_available", - "answers": null, - "validations": [ - - ] - } - ] - } - ] - }, - { - "purpose": "FORM_CTRL", - "form_controls": [ - { - "insert_index": "stock_info_available", - "expression": "(String('stock_info_available') == String('Yes'))", - "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": [ - - ] - } - ] - }, - { - "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": [ - - ] - }, - { - "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": [ - - ] - }, - { - "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": [ - - ], - "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": "Either Estimated Stock value or Estimated Quantity is required", - "value": "(String('estimated_quantity') === 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": [ - ] - }, - { - "question": "Estimated value of stock observed", - "question_key": "estimated_stock_value", - "type": "1", - "field_type": "numtoword", - "field_width": "100", - "api_properties": null, - "onchange_properties": [ - { - "purpose": "validations", - "validations": [ - { - "name": "required", - "isactive": "1", - "validator": "", - "message": "Either Estimated Stock value or Estimated Quantity is required", - "value": "(String('estimated_stock_value') === String(''))", - "validation_to": "estimated_quantity", - "value_keys": [ - "estimated_stock_value" - ] - } - ] - } - ], - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "provider_observed", - "answers": null, - "validations": [] - } - ] - } - ] - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable": "1", - "group_title": "Stock details", - "group_key": "stock_details" - } - ] - } - ] - } - ], - "is_repeatable": null, - "answers": [ - { - "answer": "Yes", - "answer_id": "Yes" - }, - { - "answer": "No", - "answer_id": "No" - } - ], - "validations": [ - - ] - }, - { - "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":[ - ] - } - ] -} \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/4.json b/ng6-seed/src/assets/data/LFMP/4.json deleted file mode 100644 index 7cb3d13..0000000 --- a/ng6-seed/src/assets/data/LFMP/4.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "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/LFMP/5.json b/ng6-seed/src/assets/data/LFMP/5.json deleted file mode 100644 index c73f156..0000000 --- a/ng6-seed/src/assets/data/LFMP/5.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "section_id":"5", - "section_name":"Key Stakeholders in Business", - "onsubmit":[ - ], - "questions":[ - { - "question":[ - { - "question":"Name of key Stakeholder", - "question_key":"stakeholder_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":"Name Required", - "value":null - } - ] - }, - { - "question":"Share Holding (%)", - "question_key":"share_holding", - "place_holder":"Enter number", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Share value Required", - "value":null - }, - { - "name":"max", - "validator":"100", - "isactive":"1", - "message":"Number must be less than 100", - "value":null - } - ] - }, - { - "question":"Vintage in Current Business (in years)", - "question_key":"vintage_in_current_biz", - "place_holder":"Enter in years", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Current vintage Required", - "value":null - } - ], - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"total_work_exp", - "expression":"(total_work_exp > vintage_in_current_biz)", - "value_keys":[ - "total_work_exp", - "vintage_in_current_biz" - ], - "questions":[ - { - "question_key":"previous_experience_details", - "question":"Previous Experience Details", - "place_holder":"Enter text", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"string", - "parent_question_key":"vintage_in_current_biz", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Previous Experience Required", - "value":null - } - ] - } - ] - } - ] - } - ] - }, - { - "question":"Total Work Experience (in years)", - "question_key":"total_work_exp", - "place_holder":"Enter in years", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Total experience Required", - "value":null - } - ], - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"total_work_exp", - "expression":"(total_work_exp > vintage_in_current_biz)", - "value_keys":[ - "total_work_exp", - "vintage_in_current_biz" - ], - "questions":[ - { - "question":"Previous Experience Details", - "question_key":"previous_experience_details", - "place_holder":"Enter text", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"string", - "parent_question_key":"total_work_exp", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Previous Experience Required", - "value":null - } - ] - } - ] - } - ] - } - ] - }, - { - "question":"Started Business (Yes / No)", - "question_key":"started_biz", - "type":"2", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "answers":[ - { - "answer_id":"Yes", - "answer":"Yes" - }, - { - "answer_id":"No", - "answer":"No" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Started Business Required", - "value":null - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Details of Key Stakeholders in the Business", - "group_key":"key_stakeholders" - }, - { - "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":[ - ] - } - ] - } \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/6.json b/ng6-seed/src/assets/data/LFMP/6.json deleted file mode 100644 index 462e3ec..0000000 --- a/ng6-seed/src/assets/data/LFMP/6.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "section_id":"6", - "section_name":"Key Products and Business Contribution", - "onsubmit":[], - "questions":[ - { - "question":[ - { - "question":"Key Product Name", - "question_key":"product_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":"Contribution to Business of the Product (%)", - "question_key":"contribution_business_product", - "place_holder":"Enter number", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "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":"Remarks if any", - "question_key":"remarks", - "place_holder":"Enter the text", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"string", - "validations":[ - ], - "onchange_properties":null - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Key Products and Business 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 - }, - { - "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":[ - ] - } - ] - } \ No newline at end of file diff --git a/ng6-seed/src/assets/data/LFMP/8.json b/ng6-seed/src/assets/data/LFMP/8.json deleted file mode 100644 index e25db33..0000000 --- a/ng6-seed/src/assets/data/LFMP/8.json +++ /dev/null @@ -1,816 +0,0 @@ -{ - "section_id":"8", - "section_name":"Business Assets", - "onsubmit":null, - "questions":[ - { - "question":"Address", - "question_key":"initiated_address", - "type":"7", - "field_width":"100", - "answers":null, - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "validations":[ - - ] - }, - { - "question":" Is this the business address?", - "question_key":"is_business_address", - "type":"2", - "field_width":"100", - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"is_business_address", - "expression":"(String('is_business_address') == String('Yes'))", - "value_keys":[ - "is_business_address" - ], - "questions":[ - { - "question":"No of Months", - "question_key":"business_months", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":null, - "validations":[ - ] - }, - { - "question":"No of Years", - "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", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Was any business activities seen during visit?", - "question_key":"business_is_pd_visited", - "place_holder":"", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_is_pd_visited", - "expression":"(String('business_is_pd_visited') != String('')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_is_pd_visited", - "is_business_address" - ], - "questions":[ - { - "question":"Remarks", - "question_key":"business_pd_visited_remark", - "place_holder":"", - "field_type":"string", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_is_pd_visited", - "answers":null, - "validations":[ - - ] - } - ] - } - ]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - - ] - }, - { - "question":"Ownership type", - "question_key":"business_ownership_type", - "place_holder":"", - "type":"2", - "field_width":"100", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Owned')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_ownership_type", - "is_business_address" - ], - "questions":[ - { - "question":"Approximate Market value", - "question_key":"business_approximate_market_value", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Owned by", - "question_key":"business_name_of_the_owner", - "type":"4", - "field_width":"45", - "api_properties": - { - "purpose":"answer_options_local", - "master_name":"pd_applicants", - "fields":["pd_co_applicant_id","applicant_name"] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Age of asset in years", - "question_key":"business_vintage", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - ] - }, - { - "question":"Purchase year", - "question_key":"business_purchase_year", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - ] - } - , - { - "question":"Is there a Loan Existing against this asset", - "question_key":"business_emi", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":[ - { - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - } - ], - "validations":[ - - ] - } - ] - } - ] - }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Rented')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_ownership_type", - "is_business_address" - ], - "questions":[ - { - "question":"Monthly Rent Amount", - "question_key":"business_monthly_rented_amt", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[ - { - "answer":"Owned", - "answer_id":"Owned" - }, - { - "answer":"Rented", - "answer_id":"Rented" - } - ], - "validations":[ - - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "validations":[ - - ] - }, - { - "question":"Is there any other business asset available?", - "question_key":"asset_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"asset_info_available", - "expression":"(String('asset_info_available') == String('Yes'))", - "value_keys":[ - "asset_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Asset Type", - "question_key":"business_assets_mode", - "type":"3", - "field_width":"45", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"ASSETTYPE" - }, - "fields":[ - "id", - "name" - ], - "filter_properties":{ - "key_name":"flag", - "value":"1" - } - }, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_assets_mode", - "expression":"(String('business_assets_mode') == String('2'))", - "value_keys":[ - "business_assets_mode" - ], - "questions":[ - { - "question":"Property Type", - "question_key":"property_type", - "place_holder":"", - "field_type":"string", - "type":"3", - "field_width":"45", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"ADDRESSTYPE" - }, - "fields":[ - "address_type_id", - "address_type" - ] - }, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[{ - "insert_index":"property_type", - "expression":"String('property_type') && (String('property_type') != String('')) && (String('business_assets_mode') == String('2'))", - "value_keys":[ - "property_type", - "business_assets_mode" - ], - "questions":[ - { - "question":"Address of the property", - "question_key":"property_address", - "place_holder":"", - "field_type":"string", - "type":"3", - "field_width":"100", - "api_properties":{ - "api":"getSMCTempAddresses", - "api_method":"GET", - "params":{ - "pdid":"VAR_PD_ID" - }, - "fields":[ - "display", - "display" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"property_type", - "answers":null, - "validations":[ - ] - } - ] - }, - { - "insert_index":"property_type", - "expression":"(String('property_type') == String('1')) && (String('business_assets_mode') == String('2'))", - "value_keys":[ - "property_type", - "business_assets_mode" - ], - "questions":[ - { - "question":"Specify the Property", - "question_key":"property_type_others", - "place_holder":"", - "field_type":"string", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"property_type", - "answers":null, - "validations":[ - - ] - } - ] - }] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_assets_mode", - "answers":null, - "validations":[ - - ] - } - ] - }, - { - "insert_index":"business_assets_mode", - "expression":"(String('business_assets_mode') == String('3'))", - "value_keys":[ - "business_assets_mode" - ], - "questions":[ - { - "question":"Type of Vehicle", - "question_key":"vehicle_type", - "place_holder":"", - "field_type":"string", - "type":"3", - "field_width":"45", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"VEHICLETYPE" - }, - "fields":[ - "vehicle_type_id", - "vehicle_type_name" - ] - }, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"vehicle_type", - "expression":"(String('vehicle_type') == String('1')) && (String('business_assets_mode') == String('3'))", - "value_keys":[ - "vehicle_type", - "business_assets_mode" - ], - "questions":[ - { - "question":"Specify the Vehicle", - "question_key":"vehicle_type_others", - "place_holder":"", - "field_type":"string", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"vehicle_type", - "answers":null, - "validations":[ - - ] - } - ] - }] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_assets_mode", - "answers":null, - "validations":[ - - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "answers":null, - "validations":[ - - ] - }, - { - "question":"Description", - "question_key":"other_asset_description", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "answers":null, - "validations":[ - ] - }, - { - "question":"Ownership type", - "question_key":"business_ownership_type", - "place_holder":"", - "type":"2", - "field_width":"100", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Owned'))", - "value_keys":[ - "business_ownership_type" - ], - "questions":[ - { - "question":"Approximate Market value", - "question_key":"business_approximate_market_value", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Asset owned by", - "question_key":"business_name_of_the_owner", - "type":"4", - "field_width":"45", - "api_properties": - { - "purpose":"answer_options_local", - "master_name":"pd_applicants", - "fields":["pd_co_applicant_id","applicant_name"] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Age of asset in years", - "question_key":"business_vintage", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Purchase year", - "question_key":"business_purchase_year", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - } - , - { - "question":"Is there a Loan Existing against this asset", - "question_key":"business_emi", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":[ - { - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - } - ], - "validations":[ - - ] - } - ] - } - ] - }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Rented'))", - "value_keys":[ - "business_ownership_type" - ], - "questions":[ - { - "question":"Monthly Rent Amount", - "question_key":"business_monthly_rented_amt", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[ - { - "answer":"Owned", - "answer_id":"Owned" - }, - { - "answer":"Rented", - "answer_id":"Rented" - } - ], - "validations":[ - - ] - }, - { - "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 - } - ] - }], - "is_repeatable":"1", - "group_title":"Business Asset Details", - "group_key":"business_assets_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - - ] - }, - { - "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":[ - ] - } - - - ] - } - \ No newline at end of file diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json index c454fa2..9ee4a9b 100644 --- a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json +++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json @@ -22,7 +22,7 @@ "form_controls":[ { "insert_index":"financial_info_available", - "expression":"(String('financial_info_available') == String('Yes'))", + "expression":"(String('financial_info_available') && String('financial_info_available').toLowerCase() == String('yes'))", "value_keys":[ "financial_info_available" ], @@ -693,11 +693,11 @@ "is_repeatable":null, "answers":[{ "answer":"Yes", - "answer_id":"Yes" + "answer_id":"yes" }, { "answer":"No", - "answer_id":"No" + "answer_id":"no" }], "validations":[ 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 d0790f1..80dea62 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 @@ -10,6 +10,7 @@ "question_key":"company_name", "place_holder":"Enter text", "type":"3", + "default_index_if_len_one":true, "api_properties":{ "api":"getCompanyListForSMCList", "api_method":"POST", @@ -247,7 +248,7 @@ ], "is_repeatable": "1", "group_title": "Details of General Business Information", - "group_key": "general_business" + "group_key": "business_entity" }, { "question_key": "common_remarks", diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json index c454fa2..9ee4a9b 100644 --- a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json +++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json @@ -22,7 +22,7 @@ "form_controls":[ { "insert_index":"financial_info_available", - "expression":"(String('financial_info_available') == String('Yes'))", + "expression":"(String('financial_info_available') && String('financial_info_available').toLowerCase() == String('yes'))", "value_keys":[ "financial_info_available" ], @@ -693,11 +693,11 @@ "is_repeatable":null, "answers":[{ "answer":"Yes", - "answer_id":"Yes" + "answer_id":"yes" }, { "answer":"No", - "answer_id":"No" + "answer_id":"no" }], "validations":[ diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json index c157a1a..2cc6fad 100644 --- a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json +++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json @@ -195,7 +195,7 @@ "is_repeatable":"1", "group_title":"Details of General Business Information", - "group_key":"general_business" + "group_key":"business_entity" } ] } diff --git a/ng6-seed/src/assets/data/WCTL.zip b/ng6-seed/src/assets/data/WCTL.zip deleted file mode 100644 index 64b8033bfb4224891df248658105f237f839c1b8..0000000000000000000000000000000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rT>#p{F9F0Xf*}+n?9O_{Wra^g!td|e}#?zq*oCBhyG6x z`A;~~FCe2W#wEc2PVRr(KPUCyVXi;n8l?Y${}c536Fy5T)Ccl=}gc06_k}gnx(Vk=Xv~{U1unC1n5r diff --git a/ng6-seed/src/assets/data/WCTL/10.json b/ng6-seed/src/assets/data/WCTL/10.json deleted file mode 100644 index bfa0124..0000000 --- a/ng6-seed/src/assets/data/WCTL/10.json +++ /dev/null @@ -1,839 +0,0 @@ -{ - "section_id":"10", - "section_name":"Financial Information", - "onsubmit":[ - { - "expression":"(function (){let sum_val=null;let ques_key=[];control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())", - "group_key":"financial_info", - "key_name":"fy", - "msg":"Financial Year already entered earlier" - } - ], - "questions":[ - { - "question":"Number of financial years for which we have financials", - "question_key":"no_of_financial_years", - "place_holder":"Enter the number", - "type":"1", - "field_width":"45", - "api_properties":null, - "answers":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":"alphabets only ", - "value":null - } - ] - }, - { - "question":[ - { - "question":"Enter FY", - "question_key":"fy", - "type":"3", - "field_width":"45", - "answers":[ - - ], - "answer_value":"GET_FY_YEARS", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Fin Yr Required", - "value":null - } - ] - }, - { - "question":"Sales / Revenue (Rs)", - "question_key":"sales_revenue", - "type":"1", - "field_width":"45", - "answers":null, - "api_properties":null, - "onchange_properties":[ - { - "purpose":"answer_value", - "expression":"((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)", - "value_keys":[ - "sales_revenue","net_profit" - ], - "insert_control":"net_profit_sales_percent" - }, - { - "purpose":"answer_value_arr", - "arr_include":["py","now"], - "expression":"((Number(sales_revenue[now])-Number(sales_revenue[py]))/Number(sales_revenue[py]))*100", - "value_keys":[ - "sales_revenue" - ], - "insert_control":"sales_py" - }, - { - "purpose":"answer_value_arr", - "arr_include":["py","now"], - "expression":"(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys":[ - "net_profit_sales_percent" - ], - "insert_control":"netprofit_py_percent" - } - ], - "is_repeatable":null, - "field_type":"numtoword", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Required", - "value":null - } - - ] - }, - { - "question":"Net Profit / (Net Loss) (Rs) ", - "question_key":"net_profit", - "type":"1", - "field_width":"45", - "answers":null, - "api_properties":null, - "onchange_properties":[ - { - "purpose":"answer_value", - "expression":"((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)", - "value_keys":[ - "sales_revenue","net_profit" - ], - "insert_control":"net_profit_sales_percent" - }, - { - "purpose":"answer_value_arr", - "arr_include":["py","now"], - "expression":"((Number(net_profit[now])-Number(net_profit[py]))/Number(net_profit[py]))*100", - "value_keys":[ - "net_profit" - ], - "insert_control":"netprofit_py" - }, - { - "purpose":"answer_value_arr", - "arr_include":["py","now"], - "expression":"(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys":[ - "net_profit_sales_percent" - ], - "insert_control":"netprofit_py_percent" - } - ], - "is_repeatable":null, - "field_type":"numtoword", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Required", - "value":null - } - - ] - }, - { - "question":"Net Profit or (Net Loss) to Sales % ", - "question_key":"net_profit_sales_percent", - "type":"1", - "is_disabled":"1", - "field_width":"45", - "answers":null, - "api_properties":null, - "onchange_properties":[ - { - "purpose":"answer_value_arr", - "arr_include":["py","now"], - "expression":"(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)", - "value_keys":[ - "net_profit_sales_percent" - ], - "insert_control":"netprofit_py_percent" - } - ], - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Required", - "value":null - } - ] - }, - { - "question":"% (↑ /↓) in Sales over PY", - "question_key":"sales_py", - "type":"1", - "is_disabled":"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":"% (↑ /↓) in Net Profit over PY", - "question_key":"netprofit_py", - "type":"1", - "is_disabled":"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":"% (↑ /↓) in Net Profit % over PY", - "question_key":"netprofit_py_percent", - "type":"1", - "is_disabled":"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", - "sub_title":"In Case of credit sales, what is the average no. of days taken to receive the money?", - "question_key":"debtor_days_cet", - "type":"1", - "field_width":"100", - "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":"Creditor Days as per CET", - "sub_title":"In Case of credit purchases, what is the average no. of days taken to pay the money?", - "question_key":"creditor_days_cet", - "type":"1", - "field_width":"100", - "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":"Inventory Days as per CET", - "sub_title":"What is the average no. of days for which stock lies unsold during the year?", - "question_key":"inventory_days_cet", - "type":"1", - "field_width":"100", - "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 - } - - ] - } - - - - ], - "is_repeatable":"1", - "group_key":"financial_info", - "group_title":"Financial Information" - }, - { - "question":"Debtor Days as per CM Discussion", - "question_key":"debtor_days_cm", - "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":"Creditor Days as per CM Discussion", - "question_key":"creditor_days_cm", - "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":"Inventory Days as per CM Discussion", - "question_key":"inventory_days_cm", - "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 from (Date)", - "question_key":"broken_period_from_month", - "type":"1", - "field_width":"45", - "place_holder":"DD-MM-YYYY (Eg 05-02-2020)", - "answers":null, - "api_properties":null, - "onchange_properties":[ - { - "purpose":"answer_value", - "expression":"(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())", - "value_keys":[ - "broken_period_to_month", "broken_period_from_month" - ], - "insert_control":"broken_period_no_of_months" - } - ], - "is_repeatable":null, - "field_type":"string", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Required", - "value":null - } - - ] - }, - { - "question":"Broken Period starting to (Date)", - "question_key":"broken_period_to_month", - "type":"1", - "place_holder":"DD-MM-YYYY (Eg 03-12-2020)", - "field_width":"45", - "answers":null, - "api_properties":null, - "onchange_properties":[ - { - "purpose":"answer_value", - "expression":"(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())", - "value_keys":[ - "broken_period_to_month", "broken_period_from_month" - ], - "insert_control":"broken_period_no_of_months" - } - ], - "is_repeatable":null, - "field_type":"string", - "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":[ - { - "purpose":"answer_value", - "expression":"(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)", - "value_keys":[ - "broken_period_turnover_py","broken_period_turnover_cy" - ], - "insert_control":"broken_period_turnover_percent" - } - ], - "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":[ - { - "purpose":"answer_value", - "expression":"(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)", - "value_keys":[ - "broken_period_turnover_py","broken_period_turnover_cy" - ], - "insert_control":"broken_period_turnover_percent" - } - ], - "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":"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":"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 - } - - ] - }, - { - "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" - }, - { - "answer":"Others", - "answer_id":"Others" - } - ], - "api_properties":null, - "onchange_properties": [ - { - "purpose":"FORM_CTRL", - "form_controls":[{ - "insert_index":"facility_details_other_lender", - "expression":"(String('facility_details_other_lender').toLowerCase() == String('others'))", - "value_keys":[ - "facility_details_other_lender" - ], - "questions":[ - { - "question": "Specify Facility details", - "question_key": "facility_details_other", - "type": "1", - "field_width": "45", - "field_type": "string", - "api_properties": null, - "answers": null, - "onchange_properties": null, - "is_repeatable": null, - "validations": [ - ] - } - ] - }] - } - ], - "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.toFixed(2)}())", - "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).toFixed(2)", - "value_keys":[ - "sales_amount", "net_profit_rs" - ], - "insert_control":"net_profit_to_sales_percent" - } - ] - }, - { - "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", - "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":[ - ] - } - - ] -} \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/11.json b/ng6-seed/src/assets/data/WCTL/11.json deleted file mode 100644 index d29c657..0000000 --- a/ng6-seed/src/assets/data/WCTL/11.json +++ /dev/null @@ -1,406 +0,0 @@ -{ - "section_id":"11", - "section_name":"Supplier details", - "onsubmit":null, - "questions":[ - { - "question":"Is the Supplier information available?", - "question_key":"supplier_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"supplier_info_available", - "expression":"(String('supplier_info_available') == String('No'))", - "value_keys":[ - "supplier_info_available" - ], - "questions":[ - { "question":"Reason", - "question_key":"supplier_not_available_reason", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } ] } ] }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"supplier_info_available", - "expression":"(String('supplier_info_available') == String('Yes'))", - "value_keys":[ - "supplier_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Raw Material Name/ Trading Product Name/ Service Name", - "question_key":"provider_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Supplier Name", - "question_key":"supplier_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Contact Person name", - "question_key":"contact_person_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Contact Person Designation", - "question_key":"contact_person_designation", - "type":"8", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"COMPANYRELATIONSHIPS" - }, - "fields":[ - "company_relationship_id", - "name" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - ] - }, - { - "question":"Contact Person Mobile Number", - "question_key":"contact_person_mobile_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - }, - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{10,12}", - "message":"Mobile number should be 10-12 digit", - "value":null - } - ] - }, - { - "question":"STD Code", - "sub_title":"Contact Person Landline number", - "question_key":"person_stdcode", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{3,5}", - "message":"Maximum 5 digit allowed", - "value":null - } - ] - }, - { - "question":"Contact Person Landline number", - "question_key":"person_landline", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{6,8}", - "message":"Maximum 8 digit allowed", - "value":null - } - ] - }, - { - "question":"Payment Terms", - "question_key":"payment_type", - "type":"3", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"PAYMENTMODE" - }, - "fields":[ - "id", - "name" - ] - }, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"payment_type", - "expression":"(String('payment_type') == String('3'))", - "value_keys":[ - "payment_type" - ], - "questions":[ - { - "question":"No. of credit period provided by supplier", - "question_key":"credit_period_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"What % of total purchases are done on credit?", - "question_key":"credit_total_purchase", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - }, - { - "name":"max", - "isactive":"1", - "validator":"100", - "message":"Percentage should lower or equal to '100'", - "value":null - } - ] - } - - ]}]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Payment Mode", - "question_key":"payment_mode", - "type":"3", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"supplier_info_available", - "answers":[ - { - "answer_id":"Payment made in Cash", - "answer":"Payment made in Cash" - }, - { - "answer_id":"Payment made through Banking channels", - "answer":"Payment made through Banking channels" - }, - { - "answer_id":"Payment made through Cash and Banking channels", - "answer":"Payment made through Cash and Banking channels" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Supplier Details", - "group_key":"supplier_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - - - ] - } - \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/12.json b/ng6-seed/src/assets/data/WCTL/12.json deleted file mode 100644 index f77687c..0000000 --- a/ng6-seed/src/assets/data/WCTL/12.json +++ /dev/null @@ -1,406 +0,0 @@ -{ - "section_id":"12", - "section_name":"Clients details", - "onsubmit":null, - "questions":[ - { - "question":"Is the Client information available?", - "question_key":"client_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"client_info_available", - "expression":"(String('client_info_available') == String('No'))", - "value_keys":[ - "client_info_available" - ], - "questions":[ - { "question":"Reason", - "question_key":"client_not_available_reason", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } ] } ] }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"client_info_available", - "expression":"(String('client_info_available') == String('Yes'))", - "value_keys":[ - "client_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Trading Product/Service/Manufacturing Product name", - "question_key":"provider_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Client Name", - "question_key":"client_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Contact Person name", - "question_key":"contact_person_name", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Contact Person Designation", - "question_key":"contact_person_designation", - "type":"8", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"COMPANYRELATIONSHIPS" - }, - "fields":[ - "company_relationship_id", - "name" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - ] - }, - { - "question":"Contact Person Mobile Number", - "question_key":"contact_person_mobile_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - }, - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{10,12}", - "message":"Mobile number should be 10-12 digit", - "value":null - } - ] - }, - { - "question":"STD Code", - "sub_title":"Contact Person Landline number", - "question_key":"person_stdcode", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{3,5}", - "message":"Maximum 5 digit allowed", - "value":null - } - ] - }, - { - "question":"Contact Person Landline number", - "question_key":"person_landline", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":null, - "validations":[ - { - "name":"pattern", - "isactive":"1", - "validator":"[0-9]{6,8}", - "message":"Maximum 8 digit allowed", - "value":null - } - ] - }, - { - "question":"Payment Terms", - "question_key":"payment_type", - "type":"3", - "field_width":"100", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"PAYMENTMODE" - }, - "fields":[ - "id", - "name" - ] - }, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"payment_type", - "expression":"(String('payment_type') == String('3'))", - "value_keys":[ - "payment_type" - ], - "questions":[ - { - "question":"No. of credit period provided by client", - "question_key":"credit_period_no", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"What % of total purchases are done on credit?", - "question_key":"credit_total_purchase", - "type":"1", - "field_type":"num", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - }, - { - "name":"max", - "isactive":"1", - "validator":"100", - "message":"Percentage should lower or equal to '100'", - "value":null - } - ] - } - - ]}]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"payment_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Payment Mode", - "question_key":"payment_mode", - "type":"3", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"client_info_available", - "answers":[ - { - "answer_id":"Payment made in Cash", - "answer":"Payment made in Cash" - }, - { - "answer_id":"Payment made through Banking channels", - "answer":"Payment made through Banking channels" - }, - { - "answer_id":"Payment made through Cash and Banking channels", - "answer":"Payment made through Cash and Banking channels" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Client Details", - "group_key":"client_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - - - ] - } - \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/13.json b/ng6-seed/src/assets/data/WCTL/13.json deleted file mode 100644 index 2fee665..0000000 --- a/ng6-seed/src/assets/data/WCTL/13.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "section_id": "13", - "section_name": "Stock details", - "onsubmit": [], - "questions": [ - { - "question": "Is stock applicable to the business (Yes / No)", - "question_key": "stock_info_available", - "type": "2", - "field_width": "45", - "api_properties": null, - "onchange_properties": [ - { - "purpose": "FORM_CTRL", - "form_controls": [ - { - "insert_index": "stock_info_available", - "expression": "(String('stock_info_available') == String('No'))", - "value_keys": [ - "stock_info_available" - ], - "questions": [ - { - "question": "Reason", - "question_key": "stock_not_available_reason", - "type": "7", - "field_width": "100", - "api_properties": null, - "onchange_properties": null, - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "stock_info_available", - "answers": null, - "validations": [ - { - "name": "required", - "isactive": "1", - "validator": "Validators.required", - "message": "Field required", - "value": null - } - ] - } - ] - } - ] - }, - { - "purpose": "FORM_CTRL", - "form_controls": [ - { - "insert_index": "stock_info_available", - "expression": "(String('stock_info_available') == String('Yes'))", - "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": "Either Estimated Stock value or Estimated Quantity is required", - "value": "(String('estimated_quantity') === 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": [ - { - "name": "required", - "isactive": "1", - "validator": "Validators.required", - "message": "Either Estimated Stock value or Estimated Quantity is required", - "value": null - } - ] - }, - { - "question": "UOM", - "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": 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": "Either Estimated Stock value or Estimated Quantity is required", - "value": "(String('estimated_stock_value') === String(''))", - "validation_to": "estimated_quantity", - "value_keys": [ - "estimated_stock_value" - ] - } - ] - } - ], - "is_repeatable": null, - "is_subfield": "1", - "parent_question_key": "provider_observed", - "answers": null, - "validations": [] - } - ] - } - ] - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable": "1", - "group_title": "Stock details", - "group_key": "stock_details" - } - ] - } - ] - } - ], - "is_repeatable": null, - "answers": [ - { - "answer": "Yes", - "answer_id": "Yes" - }, - { - "answer": "No", - "answer_id": "No" - } - ], - "validations": [ - { - "name": "required", - "isactive": "1", - "validator": "Validators.required", - "message": "Field required", - "value": null - } - ] - } - ] -} \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/4.json b/ng6-seed/src/assets/data/WCTL/4.json deleted file mode 100644 index 1e41050..0000000 --- a/ng6-seed/src/assets/data/WCTL/4.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "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 diff --git a/ng6-seed/src/assets/data/WCTL/5.json b/ng6-seed/src/assets/data/WCTL/5.json deleted file mode 100644 index 42c543b..0000000 --- a/ng6-seed/src/assets/data/WCTL/5.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "section_id":"5", - "section_name":"Key Stakeholders in Business", - "onsubmit":[ - ], - "questions":[ - { - "question":[ - { - "question":"Name of key Stakeholder11", - "question_key":"stakeholder_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":"Name Required", - "value":null - } - ] - }, - { - "question":"Share Holding (%)", - "question_key":"share_holding", - "place_holder":"Enter number", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Share value Required", - "value":null - }, - { - "name":"max", - "validator":"100", - "isactive":"1", - "message":"Number must be less than 100", - "value":null - } - ] - }, - { - "question":"Vintage in Current Business", - "question_key":"vintage_in_current_biz", - "place_holder":"Enter in years", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Current vintage Required", - "value":null - } - ], - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"total_work_exp", - "expression":"(total_work_exp > vintage_in_current_biz)", - "value_keys":[ - "total_work_exp", - "vintage_in_current_biz" - ], - "questions":[ - { - "question_key":"previous_experience_details", - "question":"Previous Experience Details", - "place_holder":"Enter text", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"string", - "parent_question_key":"vintage_in_current_biz", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Previous Experience Required", - "value":null - } - ] - } - ] - } - ] - } - ] - }, - { - "question":"Total Work Experience", - "question_key":"total_work_exp", - "place_holder":"Enter in years", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"num", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Total experience Required", - "value":null - } - ], - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"total_work_exp", - "expression":"(total_work_exp > vintage_in_current_biz)", - "value_keys":[ - "total_work_exp", - "vintage_in_current_biz" - ], - "questions":[ - { - "question":"Previous Experience Details", - "question_key":"previous_experience_details", - "place_holder":"Enter text", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "is_repeatable":null, - "field_type":"string", - "parent_question_key":"total_work_exp", - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Previous Experience Required", - "value":null - } - ] - } - ] - } - ] - } - ] - }, - { - "question":"Started Business (Yes / No)", - "question_key":"started_biz", - "type":"2", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "answers":[ - { - "answer_id":"Yes", - "answer":"Yes" - }, - { - "answer_id":"No", - "answer":"No" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Started Business Required", - "value":null - } - ] - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Details of Key Stakeholders in the Business", - "group_key":"key_stakeholders" - } - ] - } \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/6.json b/ng6-seed/src/assets/data/WCTL/6.json deleted file mode 100644 index 0ddf792..0000000 --- a/ng6-seed/src/assets/data/WCTL/6.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "section_id":"6", - "section_name":"Key Products and Business Contribution", - "onsubmit":[], - "questions":[ - { - "question":[ - { - "question":"Key Product Name", - "question_key":"product_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":"Contribution to Business of the Product (%)", - "question_key":"contribution_business_product", - "place_holder":"Enter number", - "type":"1", - "api_properties":null, - "answers":null, - "onchange_properties":null, - "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":"Remarks if any", - "question_key":"remarks", - "place_holder":"Enter the text", - "type":"1", - "api_properties":null, - "answers":null, - "is_repeatable":null, - "field_type":"string", - "validations":[ - ], - "onchange_properties":null - }, - { - "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 - } - ] - } - ], - "is_repeatable":"1", - "group_title":"Key Products and Business 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 - } - ] - } \ No newline at end of file diff --git a/ng6-seed/src/assets/data/WCTL/8.json b/ng6-seed/src/assets/data/WCTL/8.json deleted file mode 100644 index b0d3cb4..0000000 --- a/ng6-seed/src/assets/data/WCTL/8.json +++ /dev/null @@ -1,697 +0,0 @@ -{ - "section_id":"8", - "section_name":"Business Assets", - "onsubmit":null, - "questions":[ - { - "question":" Is this the business address?", - "question_key":"is_business_address", - "type":"2", - "field_width":"100", - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"is_business_address", - "expression":"(String('is_business_address') == String('Yes'))", - "value_keys":[ - "is_business_address" - ], - "questions":[ - { - "question":"No of Years", - "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", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"No of Months", - "question_key":"business_months", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":null, - "validations":[ - ] - }, - { - "question":"Was any business activities seen during visit?", - "question_key":"business_is_pd_visited", - "place_holder":"", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_is_pd_visited", - "expression":"(String('business_is_pd_visited') != String('')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_is_pd_visited", - "is_business_address" - ], - "questions":[ - { - "question":"Remarks", - "question_key":"business_pd_visited_remark", - "place_holder":"", - "field_type":"string", - "type":"7", - "field_width":"100", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_is_pd_visited", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - ] - } - ]}], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Ownership type", - "question_key":"business_ownership_type", - "place_holder":"", - "type":"2", - "field_width":"100", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Owned')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_ownership_type", - "is_business_address" - ], - "questions":[ - { - "question":"Approximate Market value", - "question_key":"business_approximate_market_value", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Factory owned by", - "question_key":"business_name_of_the_owner", - "type":"3", - "field_width":"45", - "api_properties": - { - "purpose":"answer_options_local", - "master_name":"pd_applicants", - "fields":["pd_co_applicant_id","applicant_name"] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Age of asset in years", - "question_key":"business_vintage", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - ] - }, - { - "question":"Purchase year", - "question_key":"business_purchase_year", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - ] - } - , - { - "question":"Is there a Loan Existing against this asset", - "question_key":"business_emi", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":[ - { - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - ] - } - ] - }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Rented')) && (String('is_business_address') == String('Yes'))", - "value_keys":[ - "business_ownership_type", - "is_business_address" - ], - "questions":[ - { - "question":"Monthly Rent Amount", - "question_key":"business_monthly_rented_amt", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[ - { - "answer":"Owned", - "answer_id":"Owned" - }, - { - "answer":"Rented", - "answer_id":"Rented" - } - ], - "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":"Is there any other business asset available?", - "question_key":"asset_info_available", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":[{ - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"asset_info_available", - "expression":"(String('asset_info_available') == String('Yes'))", - "value_keys":[ - "asset_info_available" - ], - "questions":[ - { - "question":[{ - "question":"Asset Type", - "question_key":"business_assets_mode", - "type":"3", - "field_width":"45", - "api_properties":{ - "api":"getListOfMaster", - "api_method":"POST", - "params":{ - "master_name":"ASSETTYPE" - }, - "fields":[ - "id", - "name" - ] - }, - "onchange_properties":null, - "is_repeatable":null, - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Description", - "question_key":"other_asset_description", - "type":"7", - "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":"Ownership type", - "question_key":"business_ownership_type", - "place_holder":"", - "type":"2", - "field_width":"100", - "api_properties":null, - "onchange_properties":[ - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Owned'))", - "value_keys":[ - "business_ownership_type" - ], - "questions":[ - { - "question":"Approximate Market value", - "question_key":"business_approximate_market_value", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Factory owned by", - "question_key":"business_name_of_the_owner", - "type":"3", - "field_width":"45", - "api_properties": - { - "purpose":"answer_options_local", - "master_name":"pd_applicants", - "fields":["pd_co_applicant_id","applicant_name"] - }, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "question":"Age of asset in years", - "question_key":"business_vintage", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - }, - { - "question":"Purchase year", - "question_key":"business_purchase_year", - "place_holder":"", - "field_type":"num", - "type":"1", - "field_width":"45", - "api_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_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - - ] - } - , - { - "question":"Is there a Loan Existing against this asset", - "question_key":"business_emi", - "type":"2", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":[ - { - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - ] - } - ] - }, - { - "purpose":"FORM_CTRL", - "form_controls":[ - { - "insert_index":"business_ownership_type", - "expression":"(String('business_ownership_type') == String('Rented'))", - "value_keys":[ - "business_ownership_type" - ], - "questions":[ - { - "question":"Monthly Rent Amount", - "question_key":"business_monthly_rented_amt", - "place_holder":"", - "field_type":"numtoword", - "type":"1", - "field_width":"45", - "api_properties":null, - "onchange_properties":null, - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"business_ownership_type", - "answers":null, - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - ] - } - ] - } - ], - "is_repeatable":null, - "is_subfield":"1", - "parent_question_key":"is_business_address", - "answers":[ - { - "answer":"Owned", - "answer_id":"Owned" - }, - { - "answer":"Rented", - "answer_id":"Rented" - } - ], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - }, - { - "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 - } - ] - }], - "is_repeatable":"1", - "group_title":"Business Asset Details", - "group_key":"business_assets_details" - } - - ] - } - ] - }], - "is_repeatable":null, - "answers":[{ - "answer":"Yes", - "answer_id":"Yes" - }, - { - "answer":"No", - "answer_id":"No" - }], - "validations":[ - { - "name":"required", - "isactive":"1", - "validator":"Validators.required", - "message":"Field required", - "value":null - } - ] - } - - - - ] - } - \ No newline at end of file