Table

<% if Employee.exists?(@table.created_by) %> <% else %> <% end %>
Name Status Seater Order by is Active Created By Created At Actions
<%= @table.name %> <%= @table.status %> <%= @table.seater rescue "-" %> <%= @table.order_by rescue "-" %> <%= @table.is_active rescue "-" %><%= Employee.find(@table.created_by).name %><%= @table.created_by %><%= @table.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %> <%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,@table),:class => 'btn btn-primary btn-sm waves-effect' %>
view_headline PAGE DETAIL

1) Name - table name
2) Status - table is available or not
3) Seater - seat for table
4) Order by - order for table
5) Is active - is active or not
6) Created By - user who created table
7) Created At - datetime for table
8) Actions - user can edit/delete table

list BUTTON LISTS

1) EDIT - to edit table
2) DELETE - to delete table

list LINK LISTS

1) Home / Back - go to dashboard