aboutsummaryrefslogtreecommitdiff
path: root/manageorders.php
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-20 16:21:44 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-20 16:21:44 +0100
commit041786bff99e94ea895bcbcd4cb257e53bd152b1 (patch)
tree828ba8a17d7f6f4f2225990a4b576988cb1d31be /manageorders.php
parent89f8cb7b48e57be6e4ad85fe17cfebe73eb32653 (diff)
downloadarfnet2-cstims-041786bff99e94ea895bcbcd4cb257e53bd152b1.tar.gz
arfnet2-cstims-041786bff99e94ea895bcbcd4cb257e53bd152b1.zip
Fix edit order status
Diffstat (limited to 'manageorders.php')
-rw-r--r--manageorders.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/manageorders.php b/manageorders.php
index 49c2e63..a1ff0a0 100644
--- a/manageorders.php
+++ b/manageorders.php
@@ -143,7 +143,7 @@ function getclientbyid($id) {
echo "<div class=\"form\"><h3>Edit order ".$order["id"]."</h3><form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"post\">\n"
."<label>Name</label><br><input type=\"text\" name=\"name\" value=\"".$order["name"]."\"><br>\n"
."<label>Billing</label><br><input type=\"text\" name=\"billing\" value=\"".$order["billing"]."\"><br>\n"
- ."<label>Status</label><br><select name=\"status\"><option value=\"setting up\" ".($service["status"] == "setting up" ? "selected" : "").">setting up</option><option value=\"active\" ".($service["status"] == "active" ? "selected" : "").">active</option><option value=\"inactive\" ".($service["status"] == "inactive" ? "selected" : "").">inactive</option></select><br>\n"
+ ."<label>Status</label><br><select name=\"status\"><option value=\"setting up\" ".($order["status"] == "setting up" ? "selected" : "").">setting up</option><option value=\"active\" ".($order["status"] == "active" ? "selected" : "").">active</option><option value=\"inactive\" ".($order["status"] == "inactive" ? "selected" : "").">inactive</option></select><br>\n"
."<label>Comments</label><br><textarea name=\"comments\" rows=\"10\" cols=\"80\">".$order["comments"]."</textarea><br>\n"
."<input type=\"hidden\" name=\"id\" value=\"".$order["id"]."\">"
."<br><input type=\"submit\" name=\"save\" value=\"Save\"><a href=\"".$_SERVER['SCRIPT_NAME']."\">cancel</a>"