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.0.9 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.15 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.14 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.8 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.14.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.13.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.7.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.7 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.14 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.13 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.6 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.2.0.rc2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.13 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.12 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.12 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.2.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.0.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.7.11 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-4.1.11 app/views/spree/admin/shared/_update_order_state.js.erb