remove conflict

This commit is contained in:
phyusin
2018-08-07 11:11:03 +06:30
5 changed files with 57 additions and 17 deletions

View File

@@ -119,9 +119,11 @@
</li>
<% end %>
<% if can? :manage, OrderReservation %>
<li>
<a href="<%= transactions_order_reservations_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% if order_reservation %>
<li>
<a href="<%= transactions_order_reservations_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% end %>
<% end %>
<% if can? :menage, Sale %>
<li>
@@ -151,9 +153,11 @@
<li>
<a href="<%= reports_product_sale_index_path %>">Product Sale</a>
</li>
<% if order_reservation %>
<li>
<a href="<%= reports_order_reservation_index_path %>">Order Reservation</a>
<a href="<%= reports_order_reservation_index_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% end %>
<li>
<a href="<%= reports_receipt_no_index_path %>">Receipt</a>
</li>