| Line 11... |
Line 11... |
| 11 |
<script src="$action.getContextPath()/js/bootstrap.min.js" type="script/javascript"></script>
|
11 |
<script src="$action.getContextPath()/js/bootstrap.min.js" type="script/javascript"></script>
|
| 12 |
<script src="$action.getContextPath()/js/bootstrapValidator.js"></script>
|
12 |
<script src="$action.getContextPath()/js/bootstrapValidator.js"></script>
|
| 13 |
<script src="$action.getContextPath()/js/reg.js"></script>
|
13 |
<script src="$action.getContextPath()/js/reg.js"></script>
|
| 14 |
<script src="$action.getContextPath()/js/reqformvalidator.js"></script>
|
14 |
<script src="$action.getContextPath()/js/reqformvalidator.js"></script>
|
| 15 |
<script src="$action.getContextPath()/js/fofoedit.js"></script>
|
15 |
<script src="$action.getContextPath()/js/fofoedit.js"></script>
|
| - |
|
16 |
<script src="$action.getContextPath()/js/jquery.blockUI.js"></script>
|
| 16 |
<script type="text/javascript">
|
17 |
<script type="text/javascript">
|
| 17 |
var jsonObj=$action.fofoFormJson();
|
18 |
var jsonObj=$action.fofoFormJson();
|
| 18 |
console.log(JSON.stringify(jsonObj));
|
19 |
console.log(JSON.stringify(jsonObj));
|
| 19 |
$(document).ready(function(){
|
20 |
$(document).ready(function(){
|
| 20 |
readForm();
|
21 |
readForm();
|
| Line 91... |
Line 92... |
| 91 |
var test1 = $(this).val();
|
92 |
var test1 = $(this).val();
|
| 92 |
$(".document").hide();
|
93 |
$(".document").hide();
|
| 93 |
$("#document" + test1).show();
|
94 |
$("#document" + test1).show();
|
| 94 |
$("#showHide").show();
|
95 |
$("#showHide").show();
|
| 95 |
});
|
96 |
});
|
| - |
|
97 |
|
| - |
|
98 |
docsArray = ['doc_bEntityDoc','doc_gstDoc','doc_panDoc','doc_itrDoc','doc_angleDoc1','doc_angleDoc2','doc_angleDoc3','doc_angleDoc4','doc_angleDoc5','doc_ownershipDoc','doc_insuranceDoc','doc_loanDoc','doc_sanctionDoc','doc_chequeCopy'];
|
| - |
|
99 |
docsArray.forEach(function(inputName){
|
| - |
|
100 |
|
| - |
|
101 |
$('input[name="' + inputName + '"]').change(function(e){
|
| - |
|
102 |
var formData = new FormData();
|
| - |
|
103 |
that = this;
|
| - |
|
104 |
formData.append("file", $(this)[0].files[0]);
|
| - |
|
105 |
jQuery.ajax({
|
| - |
|
106 |
url: "upload",
|
| - |
|
107 |
type: 'POST',
|
| - |
|
108 |
data: formData,
|
| - |
|
109 |
processData: false,
|
| - |
|
110 |
success: function (data) {
|
| - |
|
111 |
hiddenInput = inputName.split("_")[1];
|
| - |
|
112 |
$('input[name="' + hiddenInput + '"]').val(data);
|
| - |
|
113 |
console.log(data);
|
| - |
|
114 |
}
|
| - |
|
115 |
});
|
| - |
|
116 |
});
|
| - |
|
117 |
});
|
| 96 |
});
|
118 |
});
|
| 97 |
|
119 |
|
| 98 |
function queryStringToJSON(queryString) {
|
120 |
function queryStringToJSON(queryString) {
|
| 99 |
var pairs = queryString.split('&');
|
121 |
var pairs = queryString.split('&');
|
| 100 |
var result = {};
|
122 |
var result = {};
|
| Line 146... |
Line 168... |
| 146 |
<div class="row">
|
168 |
<div class="row">
|
| 147 |
<div class="col-sm-8">
|
169 |
<div class="col-sm-8">
|
| 148 |
|
170 |
|
| 149 |
<form role="form" name="myform" id ="form" enctype="multipart/form-data" data-toggle="validator" novalidate>
|
171 |
<form role="form" name="myform" id ="form" enctype="multipart/form-data" data-toggle="validator" novalidate>
|
| 150 |
<h4 class="page-header">1. Registered Business Name of HSPS (in Block Letters)</h4>
|
172 |
<h4 class="page-header">1. Registered Business Name of HSPS (in Block Letters)</h4>
|
| - |
|
173 |
|
| - |
|
174 |
<input type="hidden" name="_id" />
|
| - |
|
175 |
|
| 151 |
<div class="form-group ">
|
176 |
<div class="form-group ">
|
| 152 |
|
177 |
|
| 153 |
<label for=""></label>
|
178 |
<label for=""></label>
|
| 154 |
<input type="text" name="registeredBusinessName" id="demo" class="bform" placeholder="Business Name"/>
|
179 |
<input type="text" name="registeredBusinessName" id="demo" class="bform" placeholder="Business Name"/>
|
| 155 |
|
180 |
|
| Line 298... |
Line 323... |
| 298 |
<input type="text" class="form-control" name="dinNumber" disabled placeholder="DIN Number">
|
323 |
<input type="text" class="form-control" name="dinNumber" disabled placeholder="DIN Number">
|
| 299 |
</div>Upload <strong>Registration certificate & partnership Deed</strong>
|
324 |
</div>Upload <strong>Registration certificate & partnership Deed</strong>
|
| 300 |
</div>
|
325 |
</div>
|
| 301 |
|
326 |
|
| 302 |
<div class = "form-group file upload">
|
327 |
<div class = "form-group file upload">
|
| 303 |
<input type="file" accept="application/pdf,image/*" name = "bEntityDoc" />
|
328 |
<input type="file" accept="application/pdf,image/*" id="doc" name ="doc_bEntityDoc">
|
| 304 |
|
329 |
|
| - |
|
330 |
<input type="text" name="bEntityDoc"/>
|
| 305 |
<a href="somelink" id="link-bEntityDoc" style="display:none">View bEntity Document</a>
|
331 |
<a href="somelink" id="link-bEntityDoc" style="display:none">View bEntity Document</a>
|
| 306 |
|
332 |
|
| 307 |
</div>
|
333 |
</div>
|
| 308 |
|
334 |
|
| 309 |
|
335 |
|
| Line 312... |
Line 338... |
| 312 |
|
338 |
|
| 313 |
<input type="text" name="gst" class="bform" placeholder="Goods And Services Tax Number"/>
|
339 |
<input type="text" name="gst" class="bform" placeholder="Goods And Services Tax Number"/>
|
| 314 |
</div>
|
340 |
</div>
|
| 315 |
<p>Provide Copy of GST document</p>
|
341 |
<p>Provide Copy of GST document</p>
|
| 316 |
<div class = "file upload">
|
342 |
<div class = "file upload">
|
| 317 |
<input type="file" accept="application/pdf,image/*" name ="gstDoc">
|
343 |
<input type="file" accept="application/pdf,image/*" name ="doc_gstDoc">
|
| - |
|
344 |
<input type="hidden" name="gstDoc"/>
|
| 318 |
<a href="somelink" id="link-gstDoc" style="display:none">View GST Document</a>
|
345 |
<a href="somelink" id="link-gstDoc" style="display:none">View GST Document</a>
|
| 319 |
</div>
|
346 |
</div>
|
| 320 |
|
347 |
|
| 321 |
|
348 |
|
| 322 |
<h4 class="page-header">5. Permanent Account Number(PAN)</h4>
|
349 |
<h4 class="page-header">5. Permanent Account Number(PAN)</h4>
|
| Line 326... |
Line 353... |
| 326 |
<input type="text" name="pan" maxlength="10" class="bform" placeholder="Permanent Account Number"/></div>
|
353 |
<input type="text" name="pan" maxlength="10" class="bform" placeholder="Permanent Account Number"/></div>
|
| 327 |
<p>Provide Copy of PAN </p>
|
354 |
<p>Provide Copy of PAN </p>
|
| 328 |
|
355 |
|
| 329 |
<div class = "form-group file upload">
|
356 |
<div class = "form-group file upload">
|
| 330 |
|
357 |
|
| 331 |
<input type="file" accept="application/pdf,image/*" id ="panDoc" name="panDoc">
|
358 |
<input type="file" accept="application/pdf,image/*" name="doc_panDoc">
|
| - |
|
359 |
<input type="hidden" name="panDoc"/>
|
| 332 |
<a href="somelink" id="link-panDoc" style="display:none">View Pan Document</a>
|
360 |
<a href="somelink" id="link-panDoc" style="display:none">View Pan Document</a>
|
| 333 |
</div>
|
361 |
</div>
|
| 334 |
|
362 |
|
| 335 |
|
363 |
|
| 336 |
<h4 class="page-header">6. Full Details Of Business Entity</h4>
|
364 |
<h4 class="page-header">6. Full Details Of Business Entity</h4>
|
| Line 618... |
Line 646... |
| 618 |
<div class="bcontacts">
|
646 |
<div class="bcontacts">
|
| 619 |
<textarea rows="4" name="descriptionofExistingBusiness"cols="50" placeholder="Describe yourself here..."></textarea>
|
647 |
<textarea rows="4" name="descriptionofExistingBusiness"cols="50" placeholder="Describe yourself here..."></textarea>
|
| 620 |
</div>
|
648 |
</div>
|
| 621 |
<p>Please Provide ITR of last Two years</p>
|
649 |
<p>Please Provide ITR of last Two years</p>
|
| 622 |
<div class = "form-group file upload">
|
650 |
<div class = "form-group file upload">
|
| 623 |
<input type="file" accept="application/pdf,image/*" name ="itrDoc">
|
651 |
<input type="file" accept="application/pdf,image/*" name ="doc_itrDoc">
|
| - |
|
652 |
<input type="hidden" name="itrDoc"/>
|
| 624 |
<a href="somelink" id="link-itrDoc" style="display:none">View ITR Document</a>
|
653 |
<a href="somelink" id="link-itrDoc" style="display:none">View ITR Document</a>
|
| 625 |
</div>
|
654 |
</div>
|
| 626 |
|
655 |
|
| 627 |
|
656 |
|
| 628 |
<h4 class="page-header">11.Business Model</h4>
|
657 |
<h4 class="page-header">11.Business Model</h4>
|
| Line 767... |
Line 796... |
| 767 |
</label>
|
796 |
</label>
|
| 768 |
</div>
|
797 |
</div>
|
| 769 |
|
798 |
|
| 770 |
<div class="form-group bdetail">
|
799 |
<div class="form-group bdetail">
|
| 771 |
<p>Provide pictures of the shop from 3 different angles, ceiling and flooring</p>
|
800 |
<p>Provide pictures of the shop from 3 different angles, ceiling and flooring</p>
|
| 772 |
<input type="file" name="angleDoc1" accept="application/pdf,image/*" >
|
801 |
<input type="file" name="doc_angleDoc1" accept="application/pdf,image/*" >
|
| - |
|
802 |
<input type="hidden" name="angleDoc1"/>
|
| 773 |
<a href="somelink" id="link-angleDoc1" style="display:none">View angleDoc1 Document</a>
|
803 |
<a href="somelink" id="link-angleDoc1" style="display:none">View angleDoc1 Document</a>
|
| 774 |
<input type="file" name="angleDoc2" accept="application/pdf,image/*" >
|
804 |
<input type="file" name="doc_angleDoc2" accept="application/pdf,image/*" >
|
| - |
|
805 |
<input type="hidden" name="angleDoc2"/>
|
| 775 |
<a href="somelink" id="link-angleDoc2" style="display:none">View angleDoc2 Document</a>
|
806 |
<a href="somelink" id="link-angleDoc2" style="display:none">View angleDoc2 Document</a>
|
| 776 |
<input type="file" name="angleDoc3" accept="application/pdf,image/*" >
|
807 |
<input type="file" name="doc_angleDoc3" accept="application/pdf,image/*" >
|
| - |
|
808 |
<input type="hidden" name="angleDoc3"/>
|
| 777 |
<a href="somelink" id="link-angleDoc3" style="display:none">View angleDoc3 Document</a>
|
809 |
<a href="somelink" id="link-angleDoc3" style="display:none">View angleDoc3 Document</a>
|
| 778 |
<input type="file" name="angleDoc4" accept="application/pdf,image/*" >
|
810 |
<input type="file" name="doc_angleDoc4" accept="application/pdf,image/*" >
|
| - |
|
811 |
<input type="hidden" name="angleDoc4"/>
|
| 779 |
<a href="somelink" id="link-angleDoc4" style="display:none">View angleDoc4 Document</a>
|
812 |
<a href="somelink" id="link-angleDoc4" style="display:none">View angleDoc4 Document</a>
|
| 780 |
<input type="file" name="angleDoc5" accept="application/pdf,image/*">
|
813 |
<input type="file" name="doc_angleDoc5" accept="application/pdf,image/*">
|
| - |
|
814 |
<input type="hidden" name="angleDoc5"/>
|
| 781 |
<a href="somelink" id="link-angleDoc5" style="display:none">View angleDoc5Document</a>
|
815 |
<a href="somelink" id="link-angleDoc5" style="display:none">View angleDoc5Document</a>
|
| 782 |
</div>
|
816 |
</div>
|
| 783 |
|
817 |
|
| 784 |
<h4 class="page-header">16. Location of Shop</h4>
|
818 |
<h4 class="page-header">16. Location of Shop</h4>
|
| 785 |
<div class="btn-group">
|
819 |
<div class="btn-group">
|
| Line 851... |
Line 885... |
| 851 |
|
885 |
|
| 852 |
</div>
|
886 |
</div>
|
| 853 |
|
887 |
|
| 854 |
<div class="form-group bdetail">
|
888 |
<div class="form-group bdetail">
|
| 855 |
<p>Provide relevant documents (Electricity bill/Rent Agreement/Lease Deed)to prove the status of ownership</p>
|
889 |
<p>Provide relevant documents (Electricity bill/Rent Agreement/Lease Deed)to prove the status of ownership</p>
|
| 856 |
<input type="file" accept="application/pdf,image/*" name="ownershipDoc">
|
890 |
<input type="file" accept="application/pdf,image/*" name="doc_ownershipDoc">
|
| - |
|
891 |
<input type="hidden" name="ownershipDoc"/>
|
| 857 |
<a href="somelink" id="link-ownershipDoc" style="display:none">View OwnershipDoc Document</a>
|
892 |
<a href="somelink" id="link-ownershipDoc" style="display:none">View OwnershipDoc Document</a>
|
| 858 |
</div>
|
893 |
</div>
|
| 859 |
|
894 |
|
| 860 |
|
895 |
|
| 861 |
<h4 class="page-header">19. Insurance of Shop (if yes, please provide the copy of the same)</h4>
|
896 |
<h4 class="page-header">19. Insurance of Shop (if yes, please provide the copy of the same)</h4>
|
| Line 872... |
Line 907... |
| 872 |
</label>
|
907 |
</label>
|
| 873 |
</div>
|
908 |
</div>
|
| 874 |
|
909 |
|
| 875 |
<div class="form-group insurance doc" id= "docyes">
|
910 |
<div class="form-group insurance doc" id= "docyes">
|
| 876 |
<p>Please provide copy of insurance document</p>
|
911 |
<p>Please provide copy of insurance document</p>
|
| 877 |
<input type="file" accept="application/pdf,image/*" name="insuranceDoc">
|
912 |
<input type="file" accept="application/pdf,image/*" name="doc_insuranceDoc">
|
| - |
|
913 |
<input type="hidden" name="insuranceDoc"/>
|
| 878 |
<a href="somelink" id="link-insuranceDoc" style="display:none">View InsuranceDoc Document</a>
|
914 |
<a href="somelink" id="link-insuranceDoc" style="display:none">View InsuranceDoc Document</a>
|
| 879 |
</div>
|
915 |
</div>
|
| 880 |
|
916 |
|
| 881 |
|
917 |
|
| 882 |
<h4 class="page-header">20. Loan on Shop (LAP/BL/CC/others)</h4>
|
918 |
<h4 class="page-header">20. Loan on Shop (LAP/BL/CC/others)</h4>
|
| 883 |
|
919 |
|
| Line 892... |
Line 928... |
| 892 |
</label>
|
928 |
</label>
|
| 893 |
</div>
|
929 |
</div>
|
| 894 |
|
930 |
|
| 895 |
<div class="form-group loan document" id ="documentyes">
|
931 |
<div class="form-group loan document" id ="documentyes">
|
| 896 |
<p>Please provide current statement Letter</p>
|
932 |
<p>Please provide current statement Letter</p>
|
| 897 |
<input type="file" accept="application/pdf,image/*" name="loanDoc">
|
933 |
<input type="file" accept="application/pdf,image/*" name="doc_loanDoc">
|
| - |
|
934 |
<input type="hidden" name="loanDoc"/>
|
| 898 |
<a href="somelink" id="link-loanDoc" style="display:none">View loanDoc Document</a>
|
935 |
<a href="somelink" id="link-loanDoc" style="display:none">View loanDoc Document</a>
|
| 899 |
|
936 |
|
| 900 |
<p>Please provide current sanction Letter</p>
|
937 |
<p>Please provide current sanction Letter</p>
|
| 901 |
<input type="file" accept="application/pdf,image/*" name="sanctionDoc">
|
938 |
<input type="file" accept="application/pdf,image/*" name="doc_sanctionDoc">
|
| - |
|
939 |
<input type="hidden" name="sanctionDoc"/>
|
| 902 |
<a href="somelink" id="link-sanctionDoc" style="display:none">View sanctionDoc Document</a>
|
940 |
<a href="somelink" id="link-sanctionDoc" style="display:none">View sanctionDoc Document</a>
|
| 903 |
|
941 |
|
| 904 |
</div>
|
942 |
</div>
|
| 905 |
|
943 |
|
| 906 |
|
944 |
|
| Line 923... |
Line 961... |
| 923 |
<input type="text" name="branchName" class="form-control" placeholder="Branch Name">
|
961 |
<input type="text" name="branchName" class="form-control" placeholder="Branch Name">
|
| 924 |
</div>
|
962 |
</div>
|
| 925 |
<div >
|
963 |
<div >
|
| 926 |
<p>Please attach the copy of cancelled cheque</p>
|
964 |
<p>Please attach the copy of cancelled cheque</p>
|
| 927 |
<div class="form-group">
|
965 |
<div class="form-group">
|
| 928 |
<input type="file" name="chequeCopy" accept="application/pdf,image/*">
|
966 |
<input type="file" name="doc_chequeCopy" accept="application/pdf,image/*">
|
| - |
|
967 |
<input type="hidden" name="chequeCopy"/>
|
| 929 |
<a href="somelink" id="link-chequeCopy" style="display:none">View chequeCopy Document</a>
|
968 |
<a href="somelink" id="link-chequeCopy" style="display:none">View chequeCopy Document</a>
|
| 930 |
|
969 |
|
| 931 |
</div>
|
970 |
</div>
|
| 932 |
|
971 |
|
| 933 |
|
972 |
|