aboutsummaryrefslogtreecommitdiff
path: root/manageorders.php
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-18 22:21:49 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-18 22:21:49 +0100
commit1818a590244c1ae8390a6fb58d6e1f775b46d723 (patch)
treeb3a7f475e70a5d47c76f5aeac389034e7dc71c7f /manageorders.php
parent0cb2a90f5422ca5c2f04ecf986a555c758afae61 (diff)
downloadarfnet2-cstims-1818a590244c1ae8390a6fb58d6e1f775b46d723.tar.gz
arfnet2-cstims-1818a590244c1ae8390a6fb58d6e1f775b46d723.zip
Order status, manageorders, order
Diffstat (limited to 'manageorders.php')
-rw-r--r--manageorders.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/manageorders.php b/manageorders.php
index 6f25959..596b351 100644
--- a/manageorders.php
+++ b/manageorders.php
@@ -140,7 +140,7 @@ function getclientbyid($id) {
$client_options .= "<option value=\"".$client["id"]."\" ".($client["id"] == $order["client"] ? "selected" : "").">".$client["username"]."</option>";
foreach ($services as $service)
$service_options .= "<option value=\"".$service["id"]."\" ".($service["id"] == $order["service"] ? "selected" : "").">".$service["name"]."</option>";*/
- echo "<div class=\"editform\"><h3>Edit order ".$order["id"]."</h3><form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"post\">\n"
+ 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=\"active\" ".($service["status"] == "active" ? "selected" : "").">active</option><option value=\"inactive\" ".($service["status"] == "inactive" ? "selected" : "").">inactive</option></select><br>\n"
@@ -156,7 +156,7 @@ function getclientbyid($id) {
$client_options .= "<option value=\"".$client["id"]."\">".$client["username"]."</option>";
foreach ($services as $service)
$service_options .= "<option value=\"".$service["id"]."\">".$service["name"]."</option>";
- echo "<div class=\"editform\"><h3>Add order</h3><form action=\"".$_SERVER["SCRIPT_NAME"]."\" method=\"post\">\n"
+ echo "<div class=\"form\"><h3>Add order</h3><form action=\"".$_SERVER["SCRIPT_NAME"]."\" method=\"post\">\n"
."<label>Service</label><br><select name=\"service\">".$service_options."</select><br>"
."<label>Name</label><br><input type=\"text\" name=\"name\"><br>\n"
."<label>Client</label><br><select name=\"client\">".$client_options."</select><br>\n"