Sha256: 28ade935311663634fcfa0b72d0dada9dbbfb92b9f5a41101461c4784093ae2c
Contents?: true
Size: 1.77 KB
Versions: 6
Compression:
Stored size: 1.77 KB
Contents
<% content_for :page_title do %> <%= "#{Spree.t(:receiving)} #{@stock_transfer.number}" %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => 'arrow-left' %> </li> <li> <%= button_link_to Spree.t(:close), close_admin_stock_transfer_path(@stock_transfer), icon: 'lock', method: 'put', data: { confirm: Spree.t('close_stock_transfer.confirm') } %> </li> <% end %> <div id='stock_transfer_summary' class='fullwidth'> <div class='location'> <span class='summary-field'>From:</span> <span><%= @stock_transfer.source_location.admin_name %></span> <span class='arrow'>→</span> <span class='summary-field'>To:</span> <span><%= @stock_transfer.destination_location.admin_name %></span> </div> <div class='count-summary'> <span id='total-received-quantity'><%= @stock_transfer.received_item_count %></span> / <span><%= @stock_transfer.expected_item_count %></span> <span class='summary-field'><%= Spree.t(:received) %></span> </div> </div> <fieldset> <legend align="center"><%= Spree.t(:variant_to_be_received) %></legend> <div data-hook="transfer_item_selection"> <%= hidden_field_tag :stock_transfer_number, @stock_transfer.number %> <%= hidden_field_tag :variant_display_attributes, @variant_display_attributes.to_json %> <%= text_field_tag :transfer_item_variant_id, "", :class => "variant_autocomplete fullwidth" %> </div> </fieldset> <fieldset id='received-transfer-items'> <legend align="center"><%= Spree.t(:received_items) %></legend> <%= render partial: 'transfer_item_table', locals: { transfer_items: @received_items, show_expected: false, show_received: true, show_actions: true } %> </fieldset>
Version data entries
6 entries across 6 versions & 1 rubygems