320 lines
21 KiB
PHP
320 lines
21 KiB
PHP
@extends('Frontend.layouts.master')
|
|
@section('style')
|
|
<style>
|
|
.error {
|
|
color: red !important
|
|
}
|
|
|
|
.mandatory:before {
|
|
content: "*";
|
|
color: red
|
|
}
|
|
</style>
|
|
@endsection
|
|
@section('content')
|
|
<div>
|
|
<div class="kyc">
|
|
<div class="accounts">
|
|
<div class="acc-header container aos-init aos-animate" data-aos="fade-right">
|
|
<div>
|
|
<h2>Company Accounts</h2>
|
|
<p>View all your company accounts details from one place</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container tab-form">
|
|
<div class="row">
|
|
<div class="col-md-12 acc-list">
|
|
<div class="card2 first-screen show ml-2">
|
|
<form id="companyKycForm" method="POST" enctype="multipart/form-data">
|
|
@csrf
|
|
<div class="pi-details">
|
|
<h2>Complete your KYC</h2>
|
|
<div>
|
|
<h4>Personal Information</h4>
|
|
<p>Provide your personal information as per your Bank Account</p>
|
|
</div>
|
|
</div>
|
|
<div class="row form-sec">
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Name</label>
|
|
<input type="text" id="name" name="name" placeholder="Enter Name"
|
|
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"
|
|
class="iv-input form-control p-2" value="{{$user->name}}">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Mobile Number</label>
|
|
<input type="text" id="mobile_number" name="mobile_number"
|
|
placeholder="Enter Mobile Number" minlength="10" maxlength="10"
|
|
oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1');"
|
|
class="iv-input form-control p-2" value="{{$user->contact_number}}">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Email ID</label>
|
|
<input type="email" id="email" name="email" placeholder="Enter Email"
|
|
class="iv-input form-control p-2" value="{{$user->email}}">
|
|
</div>
|
|
{{-- <div class="col-md-6 mb-4">
|
|
<label class="mandatory">Father Name</label>
|
|
<input type="text" id="father_name" name="father_name" placeholder="Enter Father Name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" class="iv-input form-control p-2">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Mother Name</label>
|
|
<input type="text" id="mother_name" name="mother_name" placeholder="Enter Mother Name" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" class="iv-input form-control p-2">
|
|
</div> --}}
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Date Of Incorporation</label>
|
|
<input type="date" id="dob" name="dob"
|
|
placeholder="Enter Date Of Incorporation" class="iv-input form-control p-2"
|
|
max="2006-01-11">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Place Of Incorporation</label>
|
|
<input type="text" id="place_of_birth" name="place_of_birth"
|
|
placeholder="Enter Place Of Incorporation"
|
|
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"
|
|
class="iv-input form-control p-2">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Gross Annual Income</label>
|
|
<input type="text" id="gross_annual_income" name="gross_annual_income"
|
|
placeholder="Enter Gross Annual Income"
|
|
onkeydown="return /^[0-9]+$/i.test(event.key)"
|
|
class="iv-input form-control p-2">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Occupation / Business</label>
|
|
<input type="text" id="occupation" name="occupation"
|
|
placeholder="Enter Occupation/Business"
|
|
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"
|
|
class="iv-input form-control p-2">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Memorandum and Articles of association</label>
|
|
<input type="file" id="memorandum_or_articles_of_association"
|
|
name="memorandum_or_articles_of_association" class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Company PAN</label>
|
|
|
|
<input type="file" id="company_pan" name="company_pan"
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Certificate of Incorporation</label>
|
|
<input type="file" id="certificate_of_incorporation"
|
|
name="certificate_of_incorporation" class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label>TAN allotment Letter</label>
|
|
<input type="file" id="tan_allotment_letter" name="tan_allotment_letter"
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">List of directors & authorized signatories</label>
|
|
<input type="file" id="List_of_directors_or_authorized_signatories"
|
|
name="List_of_directors_or_authorized_signatories"
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Pan card copy of authorized signatory</label>
|
|
<input type="file" id="pan_card_copy_of_authorized_signatory"
|
|
name="pan_card_copy_of_authorized_signatory[]" multiple
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Aadhar card copy of authorized signatory</label>
|
|
<input type="file" id="aadhar_card_copy_of_authorized_signatory"
|
|
name="aadhar_card_copy_of_authorized_signatory[]" multiple
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="resident" class="mandatory">Proof of Address (of the company) (Any
|
|
One) (Bank Statement / Telephone Bill / Electricity Bill)</label>
|
|
<input type="file" id="proof_of_address_of_the_company"
|
|
name="proof_of_address_of_the_company" class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="dob">Latest Income Tax Return of the Company (Of last 2 years)
|
|
(Required For AIF)</label>
|
|
<input type="file" id="latest_income_tax_return_of_the_company_Of_last_2_years"
|
|
name="latest_income_tax_return_of_the_company_Of_last_2_years"
|
|
class="acc-dropdown form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory" for="occupation">Copy of CML</label>
|
|
<input type="file" id="copy_of_cml" name="copy_of_cml"
|
|
class="acc-dropdown form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="father_name">Copy of Audited Balance Sheet for the last 2 F.Y.</label>
|
|
<input type="file" id="copy_of_audited_balance_sheet_for_the_last_2_f_y"
|
|
name="copy_of_audited_balance_sheet_for_the_last_2_f_y"
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="father_name" class="mandatory">Passport size photograph signed across
|
|
of all Authorized
|
|
Signatories /
|
|
Directors</label>
|
|
<input type="file" id="passport_photo_all_authorized_signatories_or_directors"
|
|
name="passport_photo_all_authorized_signatories_or_directors[]" multiple
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="father_name">True copy of Form No. 32 / DIR 12 (Appointment and
|
|
Resignation of directors)
|
|
alongwith ROC fee payment receipt</label>
|
|
<input type="file" id="true_copy_form_32_or_dir_12_alongwith_roc_fee_payment"
|
|
name="true_copy_form_32_or_dir_12_alongwith_roc_fee_payment"
|
|
class="iv-input form-control p-2"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label for="father_name">True copy of Form No. 18 / INC 22 (change in registered
|
|
office)<br>alongwith
|
|
ROC fee payment receipt</label>
|
|
<input type="file"
|
|
id="true_copy_form_no_18_or_inc_22_alongwith_roc_fee_payment"
|
|
name="true_copy_form_no_18_or_inc_22_alongwith_roc_fee_payment"
|
|
class="iv-input form-control p-2 mt-1"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
<div class="col-md-6 mb-4">
|
|
<label class="mandatory">Cancelled Cheque</label>
|
|
<input type="file" id="cancelled_cheque" name="cancelled_cheque"
|
|
class="iv-input form-control p-2 mt-4"
|
|
accept="image/jpeg,image/png,image/jpg,application/pdf">
|
|
</div>
|
|
</div>
|
|
<h5 class="text-center"><b class="text-danger">"Note: All documents uploaded should be
|
|
self-attested"</b></h5>
|
|
<h5><i>"Please be advised that if additional documents or information are required, the
|
|
Jericho Alternatives team will promptly
|
|
contact you for further assistance."</i></h5>
|
|
<button type="submit" id="ckyc_submit" class="next-button">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
@section('scripts')
|
|
<script>
|
|
$(function() {
|
|
var dtToday = new Date();
|
|
|
|
var month = dtToday.getMonth() + 1; // jan=0; feb=1 .......
|
|
var day = dtToday.getDate();
|
|
var year = dtToday.getFullYear() - 18;
|
|
if (month < 10)
|
|
month = '0' + month.toString();
|
|
if (day < 10)
|
|
day = '0' + day.toString();
|
|
var minDate = year + '-' + month + '-' + day;
|
|
var maxDate = year + '-' + month + '-' + day;
|
|
$('#dob').attr('max', maxDate);
|
|
});
|
|
$(document).ready(function() {
|
|
$.validator.addMethod("ValidEmail", function(value) {
|
|
return /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(value);
|
|
}, "Please enter valid email");
|
|
$('#ckyc_submit').click(function() {
|
|
$('#companyKycForm').validate({
|
|
ignore: [],
|
|
debug: false,
|
|
rules: {
|
|
name: 'required',
|
|
mobile_number: 'required',
|
|
email: {
|
|
required: true,
|
|
ValidEmail: true,
|
|
|
|
},
|
|
// father_name: 'required',
|
|
// mother_name: 'required',
|
|
dob: 'required',
|
|
place_of_birth: 'required',
|
|
gross_annual_income: 'required',
|
|
occupation: 'required',
|
|
memorandum_or_articles_of_association: 'required',
|
|
company_pan: 'required',
|
|
List_of_directors_or_authorized_signatories:'required',
|
|
certificate_of_incorporation: 'required',
|
|
proof_of_address_of_the_company: 'required',
|
|
cancelled_cheque: 'required',
|
|
copy_of_cml:'required',
|
|
'pan_card_copy_of_authorized_signatory[]': 'required',
|
|
'aadhar_card_copy_of_authorized_signatory[]': 'required',
|
|
'passport_photo_all_authorized_signatories_or_directors[]': 'required',
|
|
},
|
|
messages: {
|
|
name: 'Name is required',
|
|
mobile_number: 'Mobile Number is required',
|
|
email: 'Email is required',
|
|
// father_name: "Father's Name is required",
|
|
// mother_name: "Mother's Name is required",
|
|
dob: 'Date Of Birth is required',
|
|
place_of_birth: 'Place Of Birth is required',
|
|
gross_annual_income: 'Gross Annual Income is required',
|
|
occupation: 'Occupation / Business is required',
|
|
memorandum_or_articles_of_association: 'Memorandum and Articles of association is required',
|
|
company_pan: 'Company PAN is required',
|
|
certificate_of_incorporation: 'Certificate of Incorporation is required',
|
|
proof_of_address_of_the_company: 'Proof of address of the company is required',
|
|
cancelled_cheque: 'Cancelled Cheque is required',
|
|
copy_of_cml:"Copy of CML is required",
|
|
'pan_card_copy_of_authorized_signatory[]': 'PAN Card is required',
|
|
'aadhar_card_copy_of_authorized_signatory[]': 'Aadhar Card is required',
|
|
'passport_photo_all_authorized_signatories_or_directors[]': 'Passport is required',
|
|
},
|
|
submitHandler: function(form) {
|
|
var formData = new FormData(form);
|
|
// $('#companyKycForm').attr('disabled');
|
|
// $('#companyKycForm').text('Please wait');
|
|
$.ajax({
|
|
url: "{{ route('create-Company-Kyc') }}",
|
|
type: 'POST',
|
|
data: formData,
|
|
dataType: 'json',
|
|
processData: false,
|
|
contentType: false,
|
|
success: function(result) {
|
|
if (result.status === 200) {
|
|
toastr.success(result.message);
|
|
setTimeout(() => {
|
|
location.replace("/kyc");
|
|
}, 1000);
|
|
}
|
|
},
|
|
error: function(jqXHR) {
|
|
$("#request_callback_btn").removeClass("d-none");
|
|
$("#loaderContactBtn").addClass("d-none");
|
|
warning(jqXHR.responseJSON);
|
|
// warning(jqXHR.responseJSON.errors);
|
|
},
|
|
})
|
|
}
|
|
})
|
|
})
|
|
});
|
|
</script>
|
|
@endsection
|