Sha256: be0ee84fa17a06ff25a2c0bd195c6b21a009e98899646f3215012a8ccd6af27b

Contents?: true

Size: 1.72 KB

Versions: 41

Compression:

Stored size: 1.72 KB

Contents

<%= render 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= Spree.t('stock_transfer') %> (<%= @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(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => 'forward' } %>
  </li>
<% end %>

<fieldset class="no-border-bottom">
  <legend align="center"><%= Spree.t(:stock_transfer) %></legend>

  <div class="alpha six columns">
    <div class="field">
      <label><%= Spree.t(:reference) %></label>
      <div class="value"><%= @stock_transfer.reference %></div>
    </div>
  </div>

  <div class="omega six columns">
    <div class="field">
      <label><%= Spree.t(:created_at) %></label>
      <div class="value"><%= @stock_transfer.created_at %></div>
    </div>
  </div>

  <% if @stock_transfer.source_movements.present? %>
    <fieldset class="no-border-bottom">
      <legend id="stock-location-source">
        <%= Spree.t(:source) %> <i class="fa fa-arrow-right"></i> <%= @stock_transfer.source_location.name %>
      </legend>
      <%= render :partial => 'stock_movements', :object => @stock_transfer.source_movements %>
    </fieldset>
  <% end %>

  <% if @stock_transfer.destination_movements.present? %>
    <fieldset class="no-border-bottom">
      <legend id="stock-location-destination">
        <%= Spree.t(:destination) %> <i class="fa fa-arrow-right"></i> <%= @stock_transfer.destination_location.name %>
      </legend>
      <%= render :partial => 'stock_movements', :object => @stock_transfer.destination_movements %>
    </fieldset>
  <% end %>

</fieldset>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
spree_backend-2.4.10 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.13 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.2.14 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.9 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.12 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.2.13 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.8 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.11 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.2.12 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.7 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.10 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.6 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.9 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.2.11 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.2.10 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.8 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.5 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.4 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.3.7 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.4.3 app/views/spree/admin/stock_transfers/show.html.erb