diff --git a/assignTaskForm.php b/assignTaskForm.php new file mode 100644 index 0000000..589feb9 --- /dev/null +++ b/assignTaskForm.php @@ -0,0 +1,784 @@ +num_rows > 0) { + $row2 = $resultData->fetch_assoc(); + $adminName = $row2['name']; + $adminEmail = $row2['email']; +} +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Create workOrder + + + + + + + + + + + + + + + + + +
+

Assign Workorder

+
+ + +
+
+
+
+ +
+ + +
+ + +
+ +
+ + +
+ + +
+ + +
+ +

Add Container/Filefolder

+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+
+
+
+
+ +
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/order.php b/order.php index f7c3fed..1cbfbf7 100644 --- a/order.php +++ b/order.php @@ -527,29 +527,29 @@
-
+
List of Delivery Work Orders
num_rows > 0) { - // Display table - echo ' + // Check if there are any results + if ($resultShowOrders->num_rows > 0) { + // Display table + echo '
- - + + - + - '; + '; - // Only display the Action column if the user is an admin - if ($_SESSION['role'] == 'admin') { - echo ''; - } - echo ' + // Only display the Action column if the user is an admin + if ($_SESSION['role'] == 'admin') { + echo ''; + } + echo ''; @@ -626,16 +626,19 @@
AccountWorkOrder NoAccountWorkOrder No StatusCreate DateCreate Date Service PriorityRequired ByRequired ByAction
Action
- + - - - - + + + View +