show is_active for menu

This commit is contained in:
phyusin
2018-12-28 11:31:38 +06:30
parent 7de391f001
commit 5648769643
4 changed files with 14 additions and 4 deletions

View File

@@ -77,6 +77,7 @@
<th><%= t("views.right_panel.detail.sub_cat_count") %></th>
<th><%= t("views.right_panel.detail.items_count") %></th>
<th><%= t("views.right_panel.detail.order_by") %></th>
<th><%= t("views.right_panel.detail.is_available") %></th>
<th><%= t("views.right_panel.detail.created_at") %></th>
<th><%= t("views.right_panel.detail.actions") %></th>
</tr>
@@ -89,6 +90,7 @@
<td><%= category.children.count rescue "-" %></td>
<td><%= category.menu_items.count %></td>
<td><%= category.order_by %></td>
<td><%= category.is_available %></td>
<td><%= category.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_menu_category_path(@settings_menu, category),:class => 'btn btn-info btn-sm waves-effect' %></td>
</tr>