%= render :partial => 'spree/admin/shared/stock_sub_menu' %>
<%= render :partial => 'transfer_item_template' %>
<%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
<% content_for :page_title do %>
<%= "#{Spree.t(:receiving)} #{@stock_transfer.number}" %>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => 'arrow-left' %>
<%= button_link_to Spree.t(:close), '#', :icon => 'lock', :id => 'close-transfer-button' %>
<% end %>
<%= Spree.t(:you_cannot_undo_action) %>
<%= Spree.t('close_stock_transfer.will_cause') %>:
- <%= Spree.t('close_stock_transfer.no_longer_edit') %>
- <%= Spree.t('close_stock_transfer.stock_movements_created') %>
<%= Spree.t(:are_you_sure_close_stock_transfer) %>
<%= link_to Spree.t(:no_dont_close), '#', :id => 'cancel-close-link' %>
<%= link_to Spree.t(:yes_close), close_admin_stock_transfer_path(@stock_transfer), { method: 'put' } %>
From:
<%= @stock_transfer.source_location.admin_name %>
→
To:
<%= @stock_transfer.destination_location.admin_name %>
<%= @stock_transfer.received_item_count %>
/
<%= @stock_transfer.expected_item_count %>
Received