prepare("SELECT * FROM customers WHERE id = ? AND msp_id = ?"); $stmt->execute([$customer_id, $msp_id]); $customer = $stmt->fetch(); if (!$customer) { header('Location: customers.php'); exit; } // Fetch tasks for the customer $stmt = db()->prepare("SELECT * FROM onboarding_tasks WHERE customer_id = ? ORDER BY id ASC"); $stmt->execute([$customer_id]); $tasks = $stmt->fetchAll(); include 'header.php'; ?>
Track and manage the setup process for this client.
No tasks assigned to this customer.