From 04f53e2d62a402661dcc2ef4aa635c352c0a134d Mon Sep 17 00:00:00 2001 From: arf20 Date: Tue, 19 Mar 2024 05:03:32 +0100 Subject: Index, and client comments --- client.php | 6 +++--- index.php | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/client.php b/client.php index 5d33ba2..43dd78b 100644 --- a/client.php +++ b/client.php @@ -14,7 +14,7 @@ $type = $_SESSION["type"]; require_once "config.php"; // Get orders -$sql = "SELECT id, service, name, billing FROM orders WHERE client = ?"; +$sql = "SELECT id, service, name, billing, comments FROM orders WHERE client = ?"; $stmt = mysqli_prepare($link, $sql); mysqli_stmt_bind_param($stmt, "s", $param_client); $param_client = $clientid; @@ -61,10 +61,10 @@ function getservicebyid($id) {

Active services

- + \n"; + echo "\n"; } ?>
serviceinstancebilling
serviceinstancebillingcomments
".getservicebyid($order["service"])["name"]."".$order["name"]."".$order["billing"]."
".getservicebyid($order["service"])["name"]."".$order["name"]."".$order["billing"]."
".$order["comments"]."
diff --git a/index.php b/index.php index db7b080..83de5b5 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,13 @@ +fetch_all(MYSQLI_ASSOC); +?> + @@ -22,7 +32,14 @@

Services and plans

- + + + \n"; + } + ?> +
nametypebilling
".$service["name"]."".$service["type"]."".$service["billing"]."
-- cgit v1.2.3