From b9ab2af22bcd26a76339e29b9d339da76c325103 Mon Sep 17 00:00:00 2001 From: Suvodip Date: Sat, 30 Nov 2024 16:03:18 +0530 Subject: [PATCH] add lead quality --- .hta_slug/edit-lead.php | 15 ++++++++++++++- .hta_slug/leads.php | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.hta_slug/edit-lead.php b/.hta_slug/edit-lead.php index f8e4f2a..9618fe3 100644 --- a/.hta_slug/edit-lead.php +++ b/.hta_slug/edit-lead.php @@ -17,7 +17,7 @@ try { $conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); - $stmt = $conn->prepare("UPDATE cleads SET name = :name, email = :email, phone = :phone, date = :date, status = :status, user = :user, country = :country, state= :state, city = :city, address = :address, profession = :profession, coupon_code = :coupon_code, gender = :gender, warm_status = :warm_status, business_type = :business_type WHERE id = :id"); + $stmt = $conn->prepare("UPDATE cleads SET name = :name, email = :email, phone = :phone, date = :date, status = :status, user = :user, country = :country, state= :state, city = :city, address = :address, profession = :profession, coupon_code = :coupon_code, gender = :gender, warm_status = :warm_status, business_type = :business_type, lead_quality = :lead_quality WHERE id = :id"); $stmt->bindParam(':name', $_POST['name']); $stmt->bindParam(':email', $_POST['email']); $stmt->bindParam(':phone', $_POST['phone']); @@ -33,6 +33,7 @@ $stmt->bindParam(':gender', $_POST['gender']); $stmt->bindParam(':warm_status', $_POST['warm_status']); $stmt->bindParam(':business_type', $_POST['business_type']); + $stmt->bindParam(':lead_quality', $_POST['lead_quality']); $stmt->bindParam(':id', $_GET['id']); $stmt->execute(); @@ -292,6 +293,18 @@ ?> +
+

Assign to

+ +
diff --git a/.hta_slug/leads.php b/.hta_slug/leads.php index 93f6485..15dd821 100644 --- a/.hta_slug/leads.php +++ b/.hta_slug/leads.php @@ -219,6 +219,7 @@ Status Form Name Assigned to + Lead Quality @@ -306,6 +307,7 @@ --> +