Файловый менеджер - Редактировать - /home/d46091/foodlicenceonline.net/renew.php
Назад
<?php require_once('include/header.php') ?> <?php require_once('include/navbar.php') ?> <!-- Section 1 starts from here --> <section class="position-1" style="background-color:#f9ed817d"> <div class="container"> <h2 align="center">RENEW FSSAI LICENSE | FOOD LICENSE RENEWAL CERTIFICATE</h2> <hr style="background-color: #000 !important; margin: 30px 500px 30px 500px;"> <div class="card-deck"> <div class="card" style="border: 1px solid #00a33e !important;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 10px"> <div class="card-header" style="color: #fff; background-color:#00a33e !important; margin: 3px 3px 0px 3px; border-radius: 10px;" align="center"> <b style="font-size: 14px;">FSSAI RENEWAL LICENSE REGISTRATION</b> </div> <div class="card-body"> <form action="submitDev.php" method="post" enctype="multipart/form-data" id="main-form"> <div class="form-group txt"> <label>Mobile Number / मोबाइल नंबर <span class="required"> * </span></label> <input type="text" id="mobile_number" class="form-control" name="mobile_number" maxlength="10" required oninput="validateInput()" onblur="checkRequired()"> <span id="phoneMessage"></span> </div> <div class="form-group txt"style="display:none"> <label>NAME OF BUSINESS / व्यवसाय का नाम <span class="required"> * </span></label> <input type="text" class="form-control" name="name_of_business"> </div> <div class="form-group txt"> <label>Email / ईमेल <span class="required"> * </span></label> <input type="email" class="form-control" name="email_id" required> </div> <div class="form-group txt"> <label>Existing FSSAI License/Registration No / मौजूदा एफएसएसएआई लाइसेंस/पंजीकरण नंबर <span class="required"> * </span></label><br> <div class="input-group"> <input type="text" class="form-control" name="existing_licence_number" value="" required="true"> <button type="button" class="btn btn-dark fcs-submit-button" id="btnz" onclick="verifyLicence()" value="valid">Validate</button> <span class="toggle-message ">Enter Your FSSAI License Number & Click on the validate button</span> </div> <hr> <span id="validmsg"><span style="color:black; font-size:0.8rem;">If You Want To Change The FSSAI License Number please click here <button type="button"class="btn btn-danger btn-sm"onclick="resetForm()">Reset</button></span></span> <div id="preloader" style="display: none;"> <div class="preloader-spinner"></div> </div> <!-- <a href="" class="text-primary" data-toggle="modal" data-target="#myModal" style="font-size:15px">(View Sample)</a><br> --> </div> <span id="licencemsg"></span> <br> <hr> <h6 style="color:red;font-weight:bold;font-size:14px">PLEASE VERIFY YOUR BUSINESS NAME BELOW</h6> <div class="form-group txt"> <label>Business Name / व्यवसाय का नाम <span class="required"> * </span></label> <input type="text" class="form-control" name="applicant_name" readonly required> </div> <div id="hidden_div"class="turnover-selection"> <div class="form-group"> <input type="radio" name="turnover"id="t1"value="Turnover Upto 12 Lacs"> <label>NORMAL REGISTRATIONs <label> </div> <div class="form-group"> <input type="radio" name="turnover"id="t2"value="Turnover Above 12 Lacs Upto 20CR"> <label>STATE LICENCE</label> </div> <div class="form-group"> <input type="radio" name="turnover"id="t3"value="Turnover Above 20CR"> <label>CENTRAL LICENCE</label> </div> </div> <div class="form-group yearNormal txt"id="year_disp1"style="display: none"> <label>Choose Desired Certificate Validity / वांछित प्रमाणपत्र वैधता चुनें<span class="required"> *</span></label> <select class="form-control" name="years" id="years"> <option selected="selected" value="">Select Certificate Validity</option> <option value="1_Year">1 Years</option> <option value="2_Year">2 Years </option> <option value="3_Year">3 Years </option> <option value="4_Year">4 Years </option> <option value="5_Year">5 Years </option> </select> </div> <div class="form-group yearOther txt"id="year_disp"style="display: none"> <label>Certificate Validity / प्रमाणपत्र वैधता <span class="required"> *</span></label> <select class="form-control" name="yearx" id="years"> <option value="1_Year"selected>1 Years</option> </select> </div> <span id="validity"></span> <input name="dayx"id="days"type="hidden"value=""> <span id="turnmsg"></span> <span id="turnmsg1"></span> <div class="form-group txt"style="display: block"> <label>UPLOAD YOUR EXISTING FSSAI Licence / <code>अपना मौजूदा एफएसएसएआई लाइसेंस अपलोड करें</code> <span class="required">*</span></label> <input type="file" class="form-control" name="upload_existing_fssai_licence" id="upload_existing_fssai_licence" accept="image/*"> </div> <!-- <div class="form-group txt"> <label>Existing FSSAI Licence Validity End Date <span class="required"> * </span><span style="color:#7b7b7b;">(DD-MM-YYYY)</span></label><br> <input type="text" class="form-control dateInput" name="expiry_date"id="inputDate" value=""size="10" maxlength="10"onkeyup="checkExpiryDate()"> </div> --> <div class="form-group txt"style="display:none"> <label>DO YOU HAVE THE USERID AND PASSWORD OF YOUR FSSAI ACCOUNT ? / क्या आपके पास अपने FSSAI खाते का यूजर आईडी और पासवर्ड है? <span class="required">*</span></label> <div class="form-group row"> <div class="col-sm-12"> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="have_acount" value="Yes"onchange="checkPan(this.value);"> <label class="form-check-label" for="inlineRadio1">Yes</label> </div> <div class="form-check form-check-inline"> <input class="form-check-input" type="radio" name="have_acount" value="No"onclick="checkPan(this.value);"> <label class="form-check-label" for="inlineRadio2">No</label> </div> </div> </div> </div> <div id="pan-number"style="display: none;"> <div class="row"> <div class="col-lg-6"> <div class="form-group txt"> <label>USERNAME / उपयोगकर्ता नाम</label> <input type="text" class="form-control" name="username"> </div> </div> <div class="col-lg-6"> <div class="form-group txt"> <label>PASSWORD / पासवर्ड</label> <input type="text"class="form-control" name="password"> </div> </div> </div> </div> <div id="pas"style="display: none;"> <div class="form-group txt"> <label>Business Name / व्यवसाय का नाम</label> <input type="text" class="form-control" name="business_name"> </div> <div class="form-group txt"> <label>Name Of the Applicant who responsible for taking the necessary steps on behalf of business / आवेदक का नाम जो व्यवसाय की ओर से आवश्यक कदम उठाने के लिए उत्तरदायी है </label> <input type="text" class="form-control" name="applicant1_name"> </div> <div class="form-group txt"> <label> select business entity / व्यवसाय इकाई का चयन करें </label> <select class="form-control" name="designition" id="designition"> <option selected="selected" value="">Select Designation</option> <option value="INDIVIDUAL">INDIVIDUAL </option> <option value="PARTNER">PARTNER </option> <option value="PROPRIETOR">PROPRIETOR </option> <option value="PROPRIETOR">OTHERS </option> <option value="SOCIETY">SOCIETY </option> <option value="PVT LTD/LLP/OPC">PVT LTD/LLP/OPC</option> </select> </div> <div class="form-group txt"> <label>Address of Business / व्यवसाय का पता </span></label> <textarea class="form-control"col="3" rows="5" name="business_address"></textarea> </div> </div> <div class="form-group txt"style="display: none;"> <label>Do you want to modify your existing Licence / क्या आप अपने मौजूदा लाइसेंस को संशोधित करना चाहते हैं </label> <select class="form-control"name="modify_existing"onchange="checkRegistration(this.value);"> > <option value="">Select </option> <option value="Yes">Yes </option> <option value="No">No </option> </select> </div> <div class="form-group txt"style="display: none" id="specify"> <label for="specify">What is the modification you need? Explain briefly. / आपको किस संशोधन की आवश्यकता है? संक्षेप में बताएं। </span></label> <textarea class="form-control"rows="5" name="specify"></textarea> </div> <div class="form-group txt" style="display:none;"> <label > PINCODE / पिन कोड </label> <input type="text" maxlength="6" class="form-control" name="pincode" value=""> </div> <div class="form-group txt" style="display:none;"> <label>STATE / राज्य<span class="required">*</span></label> <select name="state" id="state" class="form-control"> <option value="">Select State</option> <option value="Andhra Pradesh">Andhra Pradesh</option> <option value="Andaman and Nicobar Islands">Andaman and Nicobar Islands</option> <option value="Arunachal Pradesh">Arunachal Pradesh</option> <option value="Assam">Assam</option> <option value="Bihar">Bihar</option> <option value="Chandigarh">Chandigarh</option> <option value="Chhattisgarh">Chhattisgarh</option> <option value="Dadar and Nagar Haveli">Dadar and Nagar Haveli</option> <option value="Daman and Diu">Daman and Diu</option> <option value="Delhi">Delhi</option> <option value="Lakshadweep">Lakshadweep</option> <option value="Puducherry">Puducherry</option> <option value="Goa">Goa</option> <option value="Gujarat">Gujarat</option> <option value="Haryana">Haryana</option> <option value="Himachal Pradesh">Himachal Pradesh</option> <option value="Jammu and Kashmir">Jammu and Kashmir</option> <option value="Jharkhand">Jharkhand</option> <option value="Karnataka">Karnataka</option> <option value="Kerala">Kerala</option> <option value="Madhya Pradesh">Madhya Pradesh</option> <option value="Maharashtra">Maharashtra</option> <option value="Manipur">Manipur</option> <option value="Meghalaya">Meghalaya</option> <option value="Mizoram">Mizoram</option> <option value="Nagaland">Nagaland</option> <option value="Odisha">Odisha</option> <option value="Punjab">Punjab</option> <option value="Rajasthan">Rajasthan</option> <option value="Sikkim">Sikkim</option> <option value="Tamil Nadu">Tamil Nadu</option> <option value="Telangana">Telangana</option> <option value="Tripura">Tripura</option> <option value="Uttar Pradesh">Uttar Pradesh</option> <option value="Uttarakhand">Uttarakhand</option> <option value="West Bengal">West Bengal</option> </select> </div> <div class="form-group txt"style="display: none;"> <label>Name of the Food Category / खाद्य श्रेणी का नाम <span class="required"> * </span></label> <select class="form-control" name="food_category" id="food_category" > <option value="">Select </option> <option value="Dairy products and analogues, excluding products of food category 2.0 ">Dairy products and analogues, excluding products of food category 2.0 </option> <option value="Fats and oils, and fat emulsions">Fats and oils, and fat emulsions </option> <option value="Edible ices, including sherbet and sorbe">Edible ices, including sherbet and sorbe </option> <option value="Fruits and vegetables (including mushrooms and fungi, roots and tubers, pulses and legumes, and aloe vera)">Fruits and vegetables (including mushrooms and fungi, roots and tubers, pulses and legumes, and aloe vera) </option> <option value="Confectionery">Confectionery </option> <option value="Cereals and cereal products, derived from cereal grains, from roots and tubers, pulses, legumes">Cereals and cereal products, derived from cereal grains, from roots and tubers, pulses, legumes </option> <option value="Bakery products">Bakery products </option> <!--<option value="Meat and meat products including poultry ">Meat and meat products including poultry </option>--> <option value="Fish and fish products, including molluscs, crustaceans, and echinoderms">Fish and fish products, including molluscs, crustaceans, and echinoderms </option> <option value="Eggs and egg products ">Eggs and egg products </option> <option value="Sweeteners, including honey ">Sweeteners, including honey </option> <option value="Salts, spices, soups, sauces, salads and protein products ">Salts, spices, soups, sauces, salads and protein products </option> <option value="Foodstuffs intended for particular nutritional uses ">Foodstuffs intended for particular nutritional uses </option> <option value="Beverages, excluding dairy products">Beverages, excluding dairy products </option> <option value="Ready-to-eat savouries">Ready-to-eat savouries </option> <option value="Prepared Foods ">Prepared Foods </option> <option value="Substances added to food">Substances added to food </optio> </select> </div> <div class="row"> <div class="form-group col-lg-12 txt" id="kindOfBuis"> <label>KIND OF BUSINESS / व्यवसाय का प्रकार <small><b>(Refer point no:3 of expiring license -) <a href="" class="text-primary" data-toggle="modal" data-target="#myModal" style="font-size:15px">Sample</a></b></small> <span class="required"> * </span> </label> <select class="form-control" name="nature_business" id="natureOfBuis" onchange="showModalText()"> <option value="">Select </option> <option value="Manufacturer">Manufacturer</option> <option value="Other Than Manufacturer">Other Than Manufacturer</option> </select> </div> </div> <div class="modal" id="myModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">FSSAI LICENCE SAMPLE</h5> <button type="button" class="close" data-dismiss="modal">×</button> </div> <div class="modal-body"> <img src=""width="100%"> </div> </div> </div> </div> <script> function showModalText() { var selectElement = document.getElementById("natureOfBuis"); var selectedValue = selectElement.options[selectElement.selectedIndex].value; var modalTextElement = document.getElementById("modalText"); modalTextElement.innerHTML = ""; if (selectedValue === "Manufacturer") { modalTextElement.innerHTML = "<table class='table table-bordered table-striped'><tr><th>Manufacturer</th></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Fish and Fish Products</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Food or Health Supplements and Nutraceuticals etc.</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Non-specified food and food ingredients</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Substances Added to Food</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> General Manufacturing</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> 100% Export Oriented units</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Slaughtering units</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Dairy units</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Meat processing units</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Radiation Processing of Food</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Exporter - Manufacturer</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Vegetable oil and processing units</td></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Proprietary Food</td></tr></table>"; $('#myModal').modal('show'); } else if (selectedValue === "Other Than Manufacturer") { modalTextElement.innerHTML = "<table class='table table-bordered table-striped' style='width: 100%; table-layout: fixed;'><tr><th>Trade/Retail</th><th>Food Services</th><th>Airport/Seaport</th></tr><tr><td class='column' style='padding: 5px;'><input type='checkbox'> Wholesaler<br><input type='checkbox'> Food Vending Agencies<br><input type='checkbox'> Marketer<br><input type='checkbox'> Storage (Except Controlled Atmosphere and Cold)<br><input type='checkbox'> Transportation (having a number of specialized vehicles like insulated refrigerated van/ wagon and milk tankers etc.)<br><input type='checkbox'> Distributor<br><input type='checkbox'> Trader/Merchant - Exporter<br><input type='checkbox'> Storage (Cold / Refrigerated)<br><input type='checkbox'> Importer<br><input type='checkbox'> Supplier<br><input type='checkbox'> Storage (Controlled Atmosphere + Cold)<br><input type='checkbox'> Retailer<br><input type='checkbox'> e-Commerce</td><td class='column' style='padding: 5px;'><input type='checkbox'> Mid-Day meal - Caterer<br><input type='checkbox'> Petty Retailer of snacks/tea shops<br><input type='checkbox'> Hotel<br><input type='checkbox'> Restaurants<br><input type='checkbox'> Hawker (Itinerant / Mobile food vendor)<br><input type='checkbox'> Caterer<br><input type='checkbox'> Mid-Day meal - Canteen<br><input type='checkbox'> Food Vending Establishment<br><input type='checkbox'> Club/Canteen</td><td class='column' style='padding: 5px;'><input type='checkbox'> Food Catering services<br><input type='checkbox'> Wholesaler<br><input type='checkbox'> Storage (Except Controlled Atmosphere and Cold)<br><input type='checkbox'> Storage (Cold / Refrigerated)<br><input type='checkbox'> Retailer<br><input type='checkbox'> Distributor<br><input type='checkbox'> Storage (Controlled Atmosphere + Cold)</td></tr></table>"; $('#myModal').modal('show'); } } </script> <?php if(isset($_GET['cid'])){ ?> <div class="form-group txt"> <label>COPY OF EXISTING FOOD LICENCE</label> <input type="file" name="upload_aadhaar_card_back"> </div> <?php } ?> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" name="terms_of_service" required> <label class="form-check-label">I AGREE TO THE <a href="./terms-of-service.php">TERMS OF SERVICE</a></label> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" name="tos4" required> <label class="form-check-label"><span class="blink-text" style="font-size: 14px;font-weight: 600;">I, the applicant agree to share OTP</span> sent on my mobile and / or other Details required for the purpose of FOOD LICENCE Certificate Generation.</label> </div> <div class="form-group form-check"id="hide"> <!--<input type="checkbox" class="form-check-input">--> <label class="form-check-label"id="msgPay"></label> </div> <input type="hidden" class="form-control" name="form_name" value="Renewal FOOD Licence"> <input type="hidden" class="form-control" name="form_id" value="renewal_food_licence"> <button type="button" class="btn btn-primary fcs-submit-button" id="submitBtn" onclick="submitApplication()">Submit Application</button> </form> </div> </div> <div class="card" style="border: 1px solid #00a33e !important;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 10px"> <div class="card-header" style="color: #fff; background-color:#00a33e !important; margin: 3px 3px 0px 3px; border-radius: 10px;" align="center"> <b style="font-size: 14px;">INSTRUCTION TO FILL RENEWAL FOOD LICENSE REGISTRATION</b> </div> <div class="card-body"> <ul> <li><strong>Email Id: </strong>Fill Out The Applicant’s Correct Email ID.</li> <li><strong>Mobile Number: </strong>The Applicant's Mobile Number Must Be Entered. Avoid Using Country Code.</li> <li><strong>Existing Fssai License/Registration No: </strong>Fill Out The Applicant’s Existing Fssai License Registration Number Exactly Appears On The Certificate And Click The Validate Button.</li> <li><strong>Business Name: </strong>Business Name Will Be Auto Filled As Mentioned In Existing Fssai Certificate.</li> <li><strong>PAN Card No: </strong>Applicant Need To Fill Correct Pan Card Number.</li> <li><strong>Upload Your Existing Fssai License: </strong>Applicant Need To Choose Correct Fssai License End Data As Given On Fssai Certificate.</li> <li><strong>Terms & Conditions: </strong>Tick Both Checkboxes To Agree To The Terms And Conditions Please Note That To Process Your Application, OTP Is Required.</li> <li><strong>Submit: </strong>To Submit Your Application, Click The Submit Application Button.</li> </ul> </div> </div> </div> </div> </section> <!-- Section 3 starts from here --> <section class="position-2"> <div class="container"> <h2 align="center">UTILIZING FSSAI CONSULTANTS TO RENEW YOUR FSSAI License</h2> <hr style="background-color: #000 !important; margin: 30px 500px 30px 500px;"> <div class="row"> <div class="card-deck"> <div class="card col-lg-4 pt-1 plan-details" style="border: 1px solid #ed8433 !important;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 15px;"> <div class="card-header" style="color: #fff; background-color:#ed8433 !important; margin: 2px 3px 0px 5px; border-radius: 10px;" align="center"> <b>Benefits of Using FSSAI Consultants</b> </div> <div class="card-body"> <h6>Expertise and Knowledge</h6> <ul> <li><strong>In-Depth Understanding: </strong>Consultants have comprehensive knowledge of the FSSAI regulations and procedures, ensuring your renewal application is accurate and complete.</li> <li><strong>Latest Updates: </strong>They stay updated with any changes in FSSAI guidelines, helping your business stay compliant.</li> </ul> <h6>Time-Saving</h6> <ul> <li><strong>Streamlined Process: </strong>Consultants handle the entire renewal process, saving you time and effort.</li> <li><strong>Quick Turnaround: </strong>With their expertise, consultants can expedite the renewal process, minimizing downtime for your business.</li> </ul> <h6>Error Reduction</h6> <ul> <li><strong>Accurate Documentation: </strong>Consultants ensure that all required documents are correctly prepared and submitted, reducing the risk of application rejection.</li> <li><strong>Compliance Assurance: </strong>They verify that your business meets all necessary compliance requirements, avoiding potential penalties.</li> </ul> <h6>Personalized Support</h6> <ul> <li><strong>Tailored Services: </strong>Consultants provide services tailored to your specific business needs, ensuring a smooth renewal process.</li> <li><strong>Ongoing Assistance: </strong>Many consultants offer ongoing support and advice on maintaining compliance and preparing for future renewals.</li> </ul> <h6>Cost-Effective</h6> <ul> <li><strong>Avoid Penalties: </strong>Proper and timely renewal with the help of consultants can help avoid costly fines and legal issues.</li> <li><strong>Efficient Resource Use: </strong>Outsourcing the renewal process allows you to focus on core business activities, optimizing resource use.</li> </ul> </div> </div> <div class="card col-lg-4 pt-1 plan-details" style="border: 1px solid #ed8433 !important;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 15px;"> <div class="card-header" style="color: #fff; background-color:#ed8433 !important;margin: 2px 3px 0px 5px; border-radius: 10px;" align="center"> <b>Steps Involved in FSSAI License Renewal</b> </div> <div class="card-body"> <h6>Initial Consultation</h6> <ul> <li><strong>Assessment: </strong>The consultant will assess your current FSSAI license status and understand your business operations.</li> <li><strong>Requirement Analysis: </strong>They will identify the specific requirements for your license renewal.</li> </ul> <h6>Document Preparation</h6> <ul> <li><strong>Checklist Preparation: </strong>The consultant will provide a checklist of required documents based on your business type and scale.</li> <li><strong>Document Collection: </strong>They will assist in gathering and verifying the necessary documents.</li> </ul> <h6>Application Submission</h6> <ul> <li><strong>Form Filling: </strong>The consultant will accurately fill out the renewal application form.</li> <li><strong>Submission: </strong>They will submit the application along with the required documents to the FSSAI authority.</li> </ul> <h6>Follow-Up and Compliance Check</h6> <ul> <li><strong>Application Tracking: </strong>The consultant will track the status of your application and address any queries from FSSAI authorities.</li> <li><strong>Compliance Verification: </strong>They will ensure your business adheres to any additional compliance requirements during the renewal process.</li> </ul> <h6>Final Approval</h6> <ul> <li><strong>License Issuance: </strong>Once approved, the consultant will obtain the renewed FSSAI license and provide it to you.</li> <li><strong>Documentation: </strong>They will ensure all renewal documentation is properly filed and recorded.</li> </ul> </div> </div> <div class="card col-lg-4 pt-1 plan-details" style="border: 1px solid #ed8433 !important;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 15px;"> <div class="card-header" style="color: #fff; background-color:#ed8433 !important;margin: 2px 3px 0px 5px; border-radius: 10px;" align="center"> <b>Documents for FSSAI License Renewal</b> </div> <div class="card-body"> <p><strong>Form B: </strong>Completed and signed renewal application form.</p> <p><strong>Identity Proof: </strong>PAN card, Aadhaar card, voter ID, or driving license of the proprietor, partners, or directors.</p> <p><strong>Address Proof: </strong>Utility bill, rental agreement, or any other valid proof of the business premises.</p> <p><strong>Existing License: </strong>Copy of the current FSSAI license.</p> <p><strong>Food Safety Management System Plan: </strong>Updated plan or certificate.</p> <p><strong>Proof of Possession of Premises: </strong>Rental agreement, sale deed, or property tax receipt.</p> <p><strong>List of Food Products: </strong>Details of the food products handled or manufactured.</p> </div> </div> </div> </div> </div> </section> <?php require_once('include/footer.php') ?> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> window.addEventListener('DOMContentLoaded', function() { document.getElementById('validmsg').style.display="none"; // document.getElementById('existing_licence_number').readOnly = false; // document.querySelectorAll('.turnover-selection').forEach(element => element.style.display = "none"); // document.querySelector('input[name="applicant_name"]').style.display = 'none'; var storedResponse = localStorage.getItem('formResponse'); console.log(storedResponse); var responseObj = JSON.parse(storedResponse); // console.log('hi'); var inputField = document.querySelector('[name="existing_licence_number"]'); inputField.addEventListener('input', function() { var existingLicenceNumber = inputField.value; if (!existingLicenceNumber) { localStorage.clear(); } }); window.onpopstate = function(event) { localStorage.clear(); }; if (responseObj.status === 'Valid') { document.querySelector('input[name="applicant_name"]').value = responseObj.companyName; document.querySelector('input[name="existing_licence_number"]').value = responseObj.licenseNo; document.getElementById('validmsg').style.display="block"; if(responseObj.licensecategoryname === 'Registration'){ document.getElementById('years').required = true; document.querySelector('[name="existing_licence_number"]').readOnly= true; document.getElementById('validmsg').style.display="block"; document.getElementById("licencemsg").innerHTML = "NATURE OF YOUR REGISTRATION CERTIFICATE IS BASIC REGISTRATION"; var elements = document.querySelectorAll('input[name="turnover"][value="Turnover Above 12 Lacs Upto 20CR"], input[name="turnover"][value="Turnover Above 20CR"]'); elements.forEach(function (element) { element.style.display = "none"; }); document.querySelectorAll('input[name="turnover"][value="Turnover Upto 12 Lacs"]')[0].checked = true; document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "block"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "none"); document.querySelectorAll('.turnover-selection').forEach(element => element.style.display = "none"); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; document.getElementById('kindOfBuis').style.display="none"; document.getElementById('kindOfBuis').style.display="none"; }else if(responseObj.licensecategoryname === 'State License'){ document.getElementById('years').required = false; document.querySelector('[name="existing_licence_number"]').readOnly= true; document.getElementById('validmsg').style.display="block"; document.getElementById("licencemsg").innerHTML = '<span style="font-size: 14px; color: red;">NATURE OF YOUR REGISTRATION CERTIFICATE IS</span> <span style="font-size: 16px; color: black;"> STATE LICENCE</span>'; document.getElementById("validity").innerHTML = "NOTE: RENEWAL CAN BE DONE MAXIMUM FOR 1 YEAR."; document.getElementById('kindOfBuis').style.display="block"; var elements = document.querySelectorAll('input[name="turnover"]'); elements.forEach(function(element) { if (element.value === "Turnover Upto 12 Lacs") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 20CR") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 12 Lacs Upto 20CR") { element.style.display = "block"; element.checked="true"; } }); document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "block"); var labels = document.querySelectorAll('label'); labels.forEach(function (label) { if (label.textContent.trim() === 'STATE LICENCE') { label.style.textDecoration = "none"; label.style.pointerEvents = "auto"; label.style.display = "block"; }else if (label.textContent.trim() === 'NORMAL REGISTRATIONs' || label.textContent.trim() === 'CENTRAL LICENCE') { label.style.textDecoration = "line-through"; label.style.pointerEvents = "none"; label.style.display = "none"; } }); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; // console.log("License Category Name: " + licensecategoryname); // console.log("License Number: " + licenseNo); } else if(responseObj.licensecategoryname === 'Central License'){ document.getElementById('years').required = false; document.querySelector('[name="existing_licence_number"]').readOnly= true; document.getElementById('validmsg').style.display="block"; document.getElementById("licencemsg").innerHTML = '<span style="font-size: 14px; color: red;">NATURE OF YOUR REGISTRATION CERTIFICATE IS</span> <span style="font-size: 16px; color: black;">CENTRAL LICENCE</span>'; document.getElementById("validity").innerHTML = "NOTE: RENEWAL CAN BE DONE MAXIMUM FOR 1 YEAR."; document.getElementById('kindOfBuis').style.display="none"; var elements = document.querySelectorAll('input[name="turnover"]'); elements.forEach(function(element) { if (element.value === "Turnover Upto 12 Lacs") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 20CR") { element.style.display = "none"; element.style.display = "block"; element.checked = true; }else if (element.value === "Turnover Above 12 Lacs Upto 20CR") { element.style.display = "none"; element.checked=false; } }); document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "block"); var labels = document.querySelectorAll('label'); labels.forEach(function (label) { if (label.textContent.trim() === 'CENTRAL LICENCE') { label.style.textDecoration = "none"; label.style.pointerEvents = "auto"; label.style.display = "none"; }else if (label.textContent.trim() === 'NORMAL REGISTRATIONs' || label.textContent.trim() === 'STATE LICENCE') { label.style.textDecoration = "line-through"; label.style.pointerEvents = "none"; label.style.display = "none"; } }); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; } }else{ alert("No data found for the provided license number"); document.getElementById("submitBtn").type = "button"; document.getElementById("licencemsg").style.display="block"; document.getElementById("licencemsg").innerHTML ='No data found for the provided license number'; } }); var isValidateClicked = false; function verifyLicence() { document.getElementById('submitBtn').disabled = false; var inputLicenceValue = document.querySelector('input[name="existing_licence_number"]').value; var checkInputLicence = inputLicenceValue.length; var url = "validate_license.php"; var xhr = new XMLHttpRequest(); xhr.open("POST", url); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function () { if (xhr.readyState === 4 && xhr.status === 200) { console.log(xhr.status); console.log(xhr.responseText); var response = JSON.parse(xhr.responseText); console.log(response); if (response.fboid != '') { // document.getElementById("check").style.display="none"; if ((response.status === 'Valid') && (checkInputLicence == 14)) { document.getElementById('validmsg').style.display="block"; document.querySelector('[name="existing_licence_number"]').readOnly = true; isValidateClicked = true; alert("Validation successful!"); // document.getElementById('existing_licence_number').readOnly = true; document.getElementById("btnz").classList.remove("blink"); document.getElementById("btnz").style.backgroundColor = "transparent"; document.getElementById("submitBtn").type = "submit"; document.getElementById("licencemsg").style.display="block"; document.getElementById("validity").style.display="block"; localStorage.setItem("formResponse", JSON.stringify(response)); // console.log('hi'); var statusx = response.status; var companyname = response.companyName; var licensecategoryname = response.licensecategoryname; var licenseNo = response.licenseNo; document.querySelector('input[name="applicant_name"]').value = companyname; if(licensecategoryname === 'Registration'){ document.getElementById("licencemsg").innerHTML = "NATURE OF YOUR REGISTRATION CERTIFICATE IS BASIC REGISTRATION"; var elements = document.querySelectorAll('input[name="turnover"][value="Turnover Above 12 Lacs Upto 20CR"], input[name="turnover"][value="Turnover Above 20CR"]'); elements.forEach(function (element) { element.style.display = "none"; }); document.querySelectorAll('input[name="turnover"][value="Turnover Upto 12 Lacs"]')[0].checked = true; document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "block"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "none"); document.querySelectorAll('.turnover-selection').forEach(element => element.style.display = "none"); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; document.getElementById('kindOfBuis').style.display="none"; document.getElementById('years').required = true; } else if(licensecategoryname === 'State License'){ document.getElementById('years').required = false; document.getElementById("licencemsg").innerHTML = '<span style="font-size: 14px; color: red;">NATURE OF YOUR REGISTRATION CERTIFICATE IS</span> <span style="font-size: 16px; color: black;"> STATE LICENCE</span>'; document.getElementById("validity").innerHTML = "NOTE: RENEWAL CAN BE DONE MAXIMUM FOR 1 YEAR."; document.getElementById('kindOfBuis').style.display="block"; var elements = document.querySelectorAll('input[name="turnover"]'); elements.forEach(function(element) { if (element.value === "Turnover Upto 12 Lacs") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 20CR") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 12 Lacs Upto 20CR") { element.style.display = "block"; element.checked="true"; } }); document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "block"); var labels = document.querySelectorAll('label'); labels.forEach(function (label) { if (label.textContent.trim() === 'STATE LICENCE') { label.style.textDecoration = "none"; label.style.pointerEvents = "auto"; label.style.display = "block"; }else if (label.textContent.trim() === 'NORMAL REGISTRATIONs' || label.textContent.trim() === 'CENTRAL LICENCE') { label.style.textDecoration = "line-through"; label.style.pointerEvents = "none"; label.style.display = "none"; } }); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; // console.log("License Category Name: " + licensecategoryname); // console.log("License Number: " + licenseNo); } else if(licensecategoryname === 'Central License'){ document.getElementById('years').required = false; document.getElementById("licencemsg").innerHTML = '<span style="font-size: 14px; color: red;">NATURE OF YOUR REGISTRATION CERTIFICATE IS</span> <span style="font-size: 16px; color: black;">CENTRAL LICENCE</span>'; document.getElementById("validity").innerHTML = "NOTE: RENEWAL CAN BE DONE MAXIMUM FOR 1 YEAR."; document.getElementById('kindOfBuis').style.display="none"; var elements = document.querySelectorAll('input[name="turnover"]'); elements.forEach(function(element) { if (element.value === "Turnover Upto 12 Lacs") { element.style.display = "none"; element.checked = false; }else if (element.value === "Turnover Above 20CR") { element.style.display = "none"; element.style.display = "block"; element.checked = true; }else if (element.value === "Turnover Above 12 Lacs Upto 20CR") { element.style.display = "none"; element.checked=false; } }); document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "block"); var labels = document.querySelectorAll('label'); labels.forEach(function (label) { if (label.textContent.trim() === 'CENTRAL LICENCE') { label.style.textDecoration = "none"; label.style.pointerEvents = "auto"; label.style.display = "none"; }else if (label.textContent.trim() === 'NORMAL REGISTRATIONs' || label.textContent.trim() === 'STATE LICENCE') { label.style.textDecoration = "line-through"; label.style.pointerEvents = "none"; label.style.display = "none"; } }); var submitButton = document.querySelector('.btn.btn-primary.fcs-submit-button'); submitButton.style.display = "block"; } else { // console.log('fl'); document.getElementById('kindOfBuis').style.display="block"; } }else{ // document.querySelector('form').reset(); document.getElementById('kindOfBuis').style.display="block"; document.getElementById('validmsg').style.display="block"; document.querySelector('[name="existing_licence_number"]').readOnly = false; document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "none"); document.getElementById('kindOfBuis').style.display="none"; document.getElementById("licencemsg").style.display="block"; document.getElementById("licencemsg").innerHTML ='No data found for the provided license number'; document.getElementById("validity").style.display="none"; document.querySelector('input[name="applicant_name"]').value = ''; // document.getElementById("check").innerHTML ='No data found for the provided license number'; // window.location.href = "renewal-existing-food-licence.php"; } }else{ window.location.href = "renewal-existing-food-licence.php"; } } }; var data = 'verify_licence=' + encodeURIComponent(inputLicenceValue); xhr.send(data); } function submitApplication() { if (isValidateClicked) { // alert("Application submitted!"); } else { var validateButton = document.getElementById("btnz"); var toggleMessage = document.querySelector(".toggle-message"); validateButton.classList.add("highlight"); validateButton.scrollIntoView({ behavior: "smooth" }); toggleMessage.style.display = "inline"; } } function resetForm(){ ['turnover', 'new', 'food_category', 'Dairy Units', 'formResponse'].forEach(key => localStorage.removeItem(key)); // console.log("Specified keys cleared from local storage"); document.querySelector('[name="existing_licence_number"]').value = ''; document.querySelector('[name="existing_licence_number"]').readOnly= false; document.querySelector('[name="applicant_name"]').value = ''; document.querySelector('[name="turnover"]').value = ''; document.querySelectorAll('.yearNormal').forEach(element => element.style.display = "none"); document.querySelectorAll('.yearOther').forEach(element => element.style.display = "none"); document.getElementById('licencemsg').style.display="none"; document.getElementById('validity').style.display="none"; document.getElementById('validmsg').style.display="none"; } // resetForm(); function validateInput() { var input = document.getElementById('mobile_number'); var mobile_number = input.value; var message = ''; mobile_number = mobile_number.replace(/\D/g, ''); input.value = mobile_number; if (!mobile_number || mobile_number.length !== 10) { message = 'Please enter a 10-digit valid number.'; document.getElementById('phoneMessage').innerText = message; document.getElementById('phoneMessage').style.color = "red"; input.setCustomValidity(message); document.getElementById('submitBtn').style.display="none"; } else { message = 'Valid.'; document.getElementById('phoneMessage').innerText = message; document.getElementById('phoneMessage').style.color = "green"; input.setCustomValidity(''); document.getElementById('submitBtn').style.display="block"; } } function checkRequired() { var input = document.getElementById('mobile_number'); var mobile_number = input.value; if (!mobile_number) { input.setCustomValidity('Please enter your phone number.'); input.reportValidity(); } } </script>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка