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-3.6.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.5.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.6 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.8 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.6.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.5.0.rc2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.5.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.7 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.3 app/views/spree/admin/shared/_update_order_state.js.erb