:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/tdrbazaar.com/crm/**
:: Editing File: lead_edit_1.php
<!-- Edit Lead Offcanvas Component --> <div class="offcanvas offcanvas-end offcanvas-large" tabindex="-1" id="offcanvas_edit"> <div class="offcanvas-header border-bottom"> <h5 class="fw-semibold">Modify Deal Matrix Values</h5> <button type="button" class="btn-close rounded-circle border" data-bs-dismiss="offcanvas"><i class="ti ti-x"></i></button> </div> <div class="offcanvas-body"> <form action="lead_update.php" method="POST" class="needs-validation" novalidate> <input type="hidden" name="action" value="update"> <input type="hidden" name="lead_id" id="edit_lead_id"> <div class="row g-3"> <div class="col-md-6"> <label class="form-label small fw-bold">Contact Name *</label> <input type="text" name="contact_name" id="edit_contact_name" class="form-control form-control-sm" required> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Company Name</label> <input type="text" name="company_name" id="edit_company_name" class="form-control form-control-sm"> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Primary Contact No *</label> <input type="text" name="contact_no" id="edit_contact_no" class="form-control form-control-sm" required> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Secondary Contact No</label> <input type="text" name="contact_no_2" id="edit_contact_no_2" class="form-control form-control-sm"> </div> <div class="col-12"> <label class="form-label small fw-bold">Deal Name</label> <input type="text" name="deal_name" id="edit_deal_name" class="form-control form-control-sm"> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Party Group</label> <select name="party_type" id="edit_party_type" class="form-select form-select-sm"> <option value="Builder/Developer">Builder/Developer</option> <option value="CP/Liaison Agent/Broker">CP/Liaison Agent/Broker</option> <option value="Architect">Architect</option> <option value="DRC Holder/Seller">DRC Holder/Seller</option> <option value="Raw TDR Seller/Owner">Raw TDR Seller/Owner</option> </select> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Authority</label> <select name="authority" id="edit_authority" class="form-select form-select-sm"> <option value="--none--">--none--</option> <option value="PMC">PMC</option> <option value="PCMC">PCMC</option> <option value="PMRDA">PMRDA</option> <option value="Phursungi">Phursungi</option> <option value="Out Of Pune">Out Of Pune</option> </select> </div> <div class="col-md-12"> <label class="form-label small fw-bold">Location</label> <input type="text" name="location" id="edit_location" class="form-control form-control-sm"> </div> <div class="col-md-4"> <label class="form-label small fw-bold">Reg TDR Area</label> <input type="text" name="reg_tdr_area" id="edit_reg_tdr_area" class="form-control form-control-sm"> </div> <div class="col-md-4"> <label class="form-label small fw-bold">RR Rate</label> <input type="text" name="rr_rate" id="edit_rr_rate" class="form-control form-control-sm"> </div> <div class="col-md-4"> <label class="form-label small fw-bold">Slum TDR Area</label> <input type="text" name="slum_tdr_area" id="edit_slum_tdr_area" class="form-control form-control-sm"> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Sub-Pipeline</label> <select name="sub_pipeline" id="edit_sub_pipeline" class="form-select form-select-sm"> <option value="PMC TDR / DRC Buyers">PMC TDR / DRC Buyers</option> <option value="PMC DRC for sale">PMC DRC for sale</option> <option value="PCMC Pipeline">PCMC Pipeline</option> <option value="PMRDA Pipeline">PMRDA Pipeline</option> <option value="PMC Raw TDR for sale">PMC Raw TDR for sale</option> </select> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Stage Step</label> <select name="stage_id" id="edit_stage_id" class="form-select form-select-sm"> <?php $stg_q2 = mysqli_query($conn, "SELECT * FROM lead_stages ORDER BY id ASC"); while($s2 = mysqli_fetch_assoc($stg_q2)){ echo "<option value='{$s2['id']}'>".htmlspecialchars($s2['name'])."</option>"; } ?> </select> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Priority Status</label> <select name="deal_priority" id="edit_deal_priority" class="form-select form-select-sm"> <option value="--none--">--none--</option> <option value="Hot – High probability, serious buyer">Hot – High probability, serious buyer</option> <option value="Warm – Interested but still exploring">Warm – Interested but still exploring</option> <option value="Cold – Early discussion / uncertain">Cold – Early discussion / uncertain</option> </select> </div> <div class="col-md-6"> <label class="form-label small fw-bold">Closing Date</label> <input type="date" name="closing_date" id="edit_closing_date" class="form-control form-control-sm"> </div> </div> <div class="mt-4 pt-3 border-top text-end"> <button type="button" class="btn btn-sm btn-outline-light text-dark border" data-bs-dismiss="offcanvas">Cancel</button> <button type="submit" class="btn btn-sm btn-success text-white px-3">Update Changes</button> </div> </form> </div> </div>