table status color

This commit is contained in:
Yan
2017-12-07 17:04:55 +06:30
parent 94c2086152
commit daf3554826
4 changed files with 13 additions and 29 deletions

View File

@@ -47,12 +47,8 @@
Table <%= table.name %> ( <%= table.seater %> Seat )
</div>
</div>
<% else %>
<% if table.get_checkout_booking.nil? %>
<div class="card tables blue text-white" data-id="<%= table.id %>">
<% else %>
<div class="card tables orange text-white" data-id="<%= table.id %>">
<% end %>
<% else %>
<div class="card tables blue text-white" data-id="<%= table.id %>">
<div class="card-block">
Zone <%= table.zone_id %> <br>
Table <%= table.name %> ( <%= table.seater %> Seat )