Sha256: 0caa02447e3da4c71c9815124e218456280e4da731d4633e3545a5b1a69f522d

Contents?: true

Size: 627 Bytes

Versions: 98

Compression:

Stored size: 627 Bytes

Contents

$('#order_tab_summary h5#order_status').html('<%= j Spree.t(:status) %>: <%= j Spree.t(@order.state, scope: :order_state) %>');
$('#order_tab_summary h5#order_total').html('<%= j Spree.t(:total) %>: <%= j @order.display_total.to_html %>');

<% if @order.completed? %>
  $('#order_tab_summary h5#payment_status').html('<%= j Spree.t(:payment) %>: <%= j Spree.t(@order.payment_state, scope: :payment_states, default: [:missing, "none"]) %>');
  $('#order_tab_summary h5#shipment_status').html('<%= j Spree.t(:shipment) %>: <%= j Spree.t(@order.shipment_state, scope: :shipment_state, default: [:missing, "none"]) %>');
<% end %>

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
spree_backend-4.1.10 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.2.0.beta app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.9 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.8 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.7 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.6 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.0.rc3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.0.rc2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.6 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.10 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.9 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.2 app/views/spree/admin/shared/_update_order_state.js.erb