Sha256: a97e823f86256adf6c49475e0bff318991ebd5fa7466f9b0d05b735c2c942d01

Contents?: true

Size: 604 Bytes

Versions: 12

Compression:

Stored size: 604 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 number_to_currency(@order.total) %>');

<% 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

12 entries across 12 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.5 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.4 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.0.rc2 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.2.0.rc1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.3 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.2 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.2.rc1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.1 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.0 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.0.rc2 app/views/spree/admin/shared/_update_order_state.js
spree_core-1.1.0.rc1 app/views/spree/admin/shared/_update_order_state.js