Sha256: 31391f87ce97debf999607b2de14ac2fb26fcde36c8593cb605ce833705f9e10

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

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

<% content_for :page_title do %>
  <%= Spree.t('stock_transfer') %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to Spree.t('back_to_stock_transfers_list'),
                     admin_stock_transfers_path, :icon => 'icon-arrow-left' %>
  </li>
  <li>
    <%= button_link_to Spree.t('new_stock_transfer'), new_admin_stock_transfer_path, { :icon => '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') %>:</label>
      <div class="value"><%= @stock_transfer.created_at %></div>
    </div>
  </div>

  <% if @stock_transfer.source_movements.present? %>
    <fieldset class="no-border-bottom">
      <legend><%= Spree.t('source') %> <i class="icon-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><%= Spree.t('destination') %> <i class="icon-arrow-right"></i> <%= @stock_transfer.destination_location.name %></legend>
      <%= render :partial => 'stock_movements', :object => @stock_transfer.destination_movements %>
    </fieldset>
  <% end %>

</fieldset>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_backend-2.0.3 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.0.2 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.0.1 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.0.0 app/views/spree/admin/stock_transfers/show.html.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/stock_transfers/show.html.erb