Sha256: fff8c438416da9f9d64edab291fce876422a538abeb635850e2b8e7e77eb1826

Contents?: true

Size: 644 Bytes

Versions: 28

Compression:

Stored size: 644 Bytes

Contents

<% if show_actions %>
  <%= render partial: 'spree/admin/shared/number_field_update_cell', locals: { resource_id: item.id, field_tag: "#{quantity_type}_quantity", number_value: item.send("#{quantity_type}_quantity") } %>
  <td class="actions">
    <%= render partial: 'spree/admin/shared/number_field_update_actions', locals: { resource: item, update_data: {} } %>
    <%= link_to_with_icon 'trash', Spree.t('delete'), '#', no_text: true, data: { action: 'remove', id: item.id } if quantity_type == 'expected' && can?(:destroy, item) %>
  </td>
<% else %>
  <td class='align-center'><%= item.send("#{quantity_type}_quantity") %></td>
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.4 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.0.7 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.0.6 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.2 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.3 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.0.5 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.0 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.0.4 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.2 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.0.3 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.0 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb