Sha256: d983d91643ba2984a9b087df402ef9b31d559a707f0e2d64d932e1e91f3a91cd

Contents?: true

Size: 509 Bytes

Versions: 29

Compression:

Stored size: 509 Bytes

Contents

$('#order_tab_summary h5#order_status').html('<%= "#{t('status')}: #{t("order_state.#{@order.state}")}" %>');
$('#order_tab_summary h5#order_total').html('<%= "#{t('total')}: #{number_to_currency(@order.total)}" %>');
<% if @order.completed? %>
$('#order_tab_summary h5#payment_status').html('<%= "#{t('payment')}: #{t("payment_states.#{@order.payment_state}")}"  %>');
$('#order_tab_summary h5#shipment_status').html('<%= "#{t('shipment')}: #{t("shipment_states.#{@order.shipment_state}")}"  %>');
<% end %>

Version data entries

29 entries across 29 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/shared/_update_order_state.js
My-Commerce_core-1.1.0 app/views/admin/shared/_update_order_state.js
My-Commerce_core-1.0.0 app/views/admin/shared/_update_order_state.js
MyCommerceapi-1.0.0 core/app/views/admin/shared/_update_order_state.js
MyCommerce-0.0.3 core/app/views/admin/shared/_update_order_state.js
rfcommerce_core-0.0.3 app/views/admin/shared/_update_order_state.js
spree_core-0.60.6 app/views/admin/shared/_update_order_state.js
spree_core-0.60.5 app/views/admin/shared/_update_order_state.js
spree_core-0.30.2 app/views/admin/shared/_update_order_state.js
spree_core-0.40.4 app/views/admin/shared/_update_order_state.js
spree_core-0.50.4 app/views/admin/shared/_update_order_state.js
spree_core-0.60.4 app/views/admin/shared/_update_order_state.js
spree_core-0.50.3 app/views/admin/shared/_update_order_state.js
spree_core-0.60.3 app/views/admin/shared/_update_order_state.js
spree_core-0.60.2 app/views/admin/shared/_update_order_state.js
spree_core-0.70.0.rc2 app/views/admin/shared/_update_order_state.js
spree_core-0.70.RC1 app/views/admin/shared/_update_order_state.js
spree_core-0.60.1 app/views/admin/shared/_update_order_state.js
spree_core-0.60.0 app/views/admin/shared/_update_order_state.js
spree_core-0.60.0.RC1 app/views/admin/shared/_update_order_state.js