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.2.6 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.0.rc2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.4.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.5 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.3.0.rc4 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.1 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.0 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.0.rc3 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.0.rc2 app/views/spree/admin/shared/_update_order_state.js.erb
spree_backend-3.2.0.rc1 app/views/spree/admin/shared/_update_order_state.js.erb