Add CB payment in transactions and reports

This commit is contained in:
San Wai Lwin
2018-08-03 16:01:22 +06:30
parent cbb649c8d5
commit 0abad2b305
13 changed files with 967 additions and 10 deletions

View File

@@ -123,6 +123,16 @@
<a href="<%= transactions_order_reservations_path %>"><%= t("views.right_panel.detail.order_reservation") %></a>
</li>
<% end %>
<% if can? :menage, Sale %>
<li>
<a href="<%= transactions_card_sale_trans_path %>"><%= t :cb_payments %></a>
</li>
<% end %>
<% if can? :menage, Sale %>
<li>
<a href="<%= transactions_card_sale_trans_path %>"><%= t :cb_settlement %></a>
</li>
<% end %>
</ul>
</li>
<% if can? :index, :dailysale %>
@@ -174,6 +184,9 @@
<li>
<a href="<%= reports_stock_check_index_path %>">Stock Check</a>
</li>
<li>
<a href="<%= reports_card_sale_tran_index_path %>">CB Payments</a>
</li>
</ul>
</li>
<%end%>