Sha256: f4be970c2d3d113c886b1ed45b251109b6e29bedcc64144dfdfa3fdb67769f84

Contents?: true

Size: 597 Bytes

Versions: 11

Compression:

Stored size: 597 Bytes

Contents

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

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.4 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.3.2 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.3 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.3.1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.3.0 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.3.0.rc2 app/views/spree/admin/shared/_update_order_state.js
dup_spree_core-1.3.0.rc1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.3.0.rc1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.2 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.0 app/views/spree/admin/shared/_update_order_state.js