% @refund = Refund.available_for_user(current_user).first %>
<%= t(:datetime)%> | <%= @refund.date %> |
<%= t(:customer) %> | <%= @refund.shipping_address.customer.name %> |
<%= t(:shipping_address) %> | <%= @refund.shipping_address.name %> |
<%= t(:manager) %> | <%= @refund.manager.name %> |
<%= t(:status) %> | <%= t(@refund.status_name) %> |
<%= t(:cannot_find_refund) %>
<% if can? :manage, Refund %> <%= link_to t(:new_refund), new_refund_path, class: 'btn btn-new', :disable_with => t(:please_wait) %> <% end %> <% end %>