Closed imgarylai closed 4 years ago
What about app/views/spree/admin/orders/_print_invoice_order_tab_links.html.erb
I think this file also should have small changes
<% if can? :show, Spree::Order %>
<% if @order && @order.completed_at? %>
<li data-hook="admin_order_tabs_documents">
<%=
link_to_with_icon 'file',
Spree.t(:documents, scope: :print_invoice),
spree.admin_order_bookkeeping_documents_path(@order),
title: title,
class: "#{'active ' if current == :documents}nav-link icon-link with-tip action-refresh"
%>
</li>
<% end %>
<% end %>
And please change name of PR, it's not only about locales
Thank you @voleoo
I have updated this PR.
@voleoo Thanks for your review. I made the update and pushed it to GitHub.
It's strange that the github failed, but TravisCI is ok.
@damianlegawiec I think it's should be merged to master for support Spree > 4 Thanks @imgarylai
This is relevant to #122 & #139
zh-TW