app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.76 vs app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.77
- old
+ new
@@ -65,9 +65,13 @@
<% end %>
<% if can? :read_contract, EducodeSales::Business %>
<dd><a href="/missions/contracts" class="<%= current?('layui-this', contracts_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/4.商机管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>合同管理</a>
</dd>
<% end %>
+ <% if can? :read_product_catalog, EducodeSales::Business %>
+ <dd><a href="/missions/contracts/product_list" class="<%= current?('layui-this', product_list_contracts_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/4.商机管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>产品目录</a>
+ </dd>
+ <% end %>
<% if can? :read, EducodeSales::MoneyPlan %>
<dd><a href="/missions/money_plans" class="<%= current?('layui-this', money_plans_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/money_plans.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>回款计划</a>
</dd>
<% end %>
<% if can? :read, EducodeSales::Customer %>
\ No newline at end of file