Skip to content

Commit

Permalink
km order type
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshanGune committed Mar 31, 2021
1 parent 913e3c4 commit 83c7ef6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
10 changes: 10 additions & 0 deletions application/logs/2021-03-31.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
2021-03-31 20:09:31 localhost/cafe99/account_controller/loginSubmit session opened for user 200 3 INFORMATIONAL
2021-03-31 20:58:26 localhost/cafe99/account_controller/loginSubmit session opened for user 202 3 INFORMATIONAL
2021-03-31 20:58:53 localhost/cafe99/km_controller/updateOrderStatus order#24 pickup order email notif is sent successfully 3 INFORMATIONAL
2021-03-31 21:00:33 localhost/cafe99/account_controller/loginSubmit session opened for user 198 3 INFORMATIONAL
2021-03-31 21:00:43 localhost/cafe99/account_controller/loginSubmit session opened for user 202 3 INFORMATIONAL
2021-03-31 21:03:16 localhost/cafe99/account_controller/loginSubmit session opened for user 200 3 INFORMATIONAL
2021-03-31 21:03:39 localhost/cafe99/account_controller/loginSubmit session opened for user 202 3 INFORMATIONAL
2021-03-31 22:46:19 localhost/cafe99/km_controller/updateOrderStatus order#24 pickup order email notif is sent successfully 3 INFORMATIONAL
2021-03-31 23:04:11 localhost/cafe99/account_controller/loginSubmit session opened for user 202 3 INFORMATIONAL
2021-03-31 23:56:31 localhost/cafe99/account_controller/loginSubmit session opened for user 202 3 INFORMATIONAL
18 changes: 10 additions & 8 deletions application/views/kitchenmanager/orders/orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<?php if($order_status[$order_id] == "Onqueue" || $order_status[$order_id] == "onqueue"):?>

<tr>
<td><?php echo $order_id ?></td>
<td><?php echo $order_id.str_repeat('&nbsp;', 3)."(".$order_types[$order_id].")" ?></td>
<td ><div class="cell-desc"><?php echo $values ?></div></td>
<td>
<div class="btn-container">
Expand Down Expand Up @@ -144,7 +144,7 @@
<?php if($order_status[$order_id] == "Processing" || $order_status[$order_id] == "processing"):?>

<tr>
<td><?php echo $order_id ?></td>
<td><?php echo $order_id.str_repeat('&nbsp;', 3)."(".$order_types[$order_id].")" ?></td>
<td ><div class="cell-desc"><?php echo $values ?></div></td>
<td>
<div class="btn-container">
Expand Down Expand Up @@ -181,11 +181,13 @@
<tr>
<td>
<?php
if($order_types[$order_id] == "delivery"){
echo $order_id .str_repeat('&nbsp;', 3)."(Delivery)";
}else{
echo $order_id;
}
// if($order_types[$order_id] == "delivery"){
// echo $order_id .str_repeat('&nbsp;', 3)."(Delivery)";
// }else{
// echo $order_id;
// }
echo $order_id.str_repeat('&nbsp;', 3)."(".$order_types[$order_id].")"

?>
</td>
<td ><div class="cell-desc"><?php echo $values ?></div></td>
Expand Down Expand Up @@ -235,7 +237,7 @@
<?php if($order_status[$order_id] == "Dispatched" || $order_status[$order_id] == "dispatched"):?>

<tr>
<td><?php echo $order_id ?></td>
<td><?php echo $order_id.str_repeat('&nbsp;', 3)."(".$order_types[$order_id].")" ?></td>
<td ><div class="cell-desc"><?php echo $values ?></div></td>
<td>
<div class="btn-container">
Expand Down

0 comments on commit 83c7ef6

Please sign in to comment.