update oqs employee and oqs station

This commit is contained in:
Aung Myo
2018-08-14 17:21:06 +06:30
parent f6ec819545
commit ba8c723c17
8 changed files with 57 additions and 11 deletions

View File

@@ -36,6 +36,12 @@
<th><%= t("views.right_panel.detail.role") %></th>
<td><%= @employee.role %></td>
</tr>
<% if @employee.role == "kitchen"%>
<tr>
<th><%= t("views.right_panel.detail.station_name") %></th>
<td><%= @employee.order_queue_station.station_name %></td>
</tr>
<% end%>
<tr>
<th><%= t("views.right_panel.detail.created_at") %></th>
<td><%= @employee.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>