| 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 "-" %> | <% if Employee.exists?(@table.created_by) %><%= Employee.find(@table.created_by).name %> | <% else %><%= @table.created_by %> | <% end %><%= @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' %>
Are you sure you want to delete this row ?This action can't be undo. |
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
1) EDIT - to edit table
2) DELETE - to delete table
1) Home / Back - go to dashboard