check bank trans & report

This commit is contained in:
phyusin
2018-08-07 14:51:27 +06:30
parent f78cf533a2
commit c11b8666d5

View File

@@ -118,19 +118,17 @@
<a href="<%= transactions_surveys_path %>"><%= t("views.right_panel.detail.survey") %></a>
</li>
<% end %>
<% if can? :manage, OrderReservation %>
<% if order_reservation %>
<li>
<a href="<%= transactions_order_reservations_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% end %>
<% if can? :manage, OrderReservation && order_reservation %>
<li>
<a href="<%= transactions_order_reservations_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% end %>
<% if can? :menage, Sale %>
<% if can? :manage, Sale && bank_integration %>
<li>
<a href="<%= transactions_card_sale_trans_path %>"><%= t :cb_payments %></a>
</li>
<% end %>
<% if can? :menage, Sale %>
<% if can? :manage, Sale && bank_integration %>
<li>
<a href="<%= transactions_card_settle_trans_path %>"><%= t :cb_settlement %></a>
</li>