effective_orders 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78e782a1bdc2b7e19fdc190f5df17f905d42c69c
4
- data.tar.gz: 9c5bd9283e99442d7163509785a20b56640fae75
3
+ metadata.gz: 1a1297dcbb14c49c194aa9573568cabda9f59054
4
+ data.tar.gz: 4adc9e432d25558315f906ff80b92e217b5c11fd
5
5
  SHA512:
6
- metadata.gz: bbec12f05c3ff77553e894fa6acff0c3eae5db215d7734f463bf210476c0614c724fd2c470eb245b680e62720200d5172b0011f5059ff7c7ba41f0882237cd32
7
- data.tar.gz: 922ed82a7ccc56b1f8b5627a94b1df55c2ba7f8c33c793a74c96daa6c519e0556d1eb061f16a8690a4bd7ab6f1d1fd60366ba0f1bb79bba98499b92ea4de6c65
6
+ metadata.gz: 071868aabb5d8cf49c75bde7d71850343b3565317420ee369b5d3f5ebff3469447f2f17671de28096aa3d3d78919e662801b44bc747398ea834fa8f796bbd35f
7
+ data.tar.gz: 900466161445c4e200890a7b1982888cd316b222416be323a2d13839d82dd80551bca6e8801b54335600ee1d3e90d57ed4b85751b1c572ff61a52420c441f3fc
@@ -39,10 +39,10 @@
39
39
  - if EffectiveOrders.terms_and_conditions
40
40
  = render partial: 'effective/orders/order_terms_and_conditions_fields', locals: { form: f }
41
41
 
42
- - unless f.object.pending? || current_cart.try(:empty?)
43
- = link_to_current_cart(label: 'Change Items')
44
-
45
42
  %p.text-right
43
+ - unless f.object.pending? || current_cart.try(:empty?)
44
+ = link_to_current_cart(label: 'Change Items')
45
+
46
46
  - if order.total == 0 && EffectiveOrders.allow_free_orders
47
47
  = f.submit order_checkout_label(:free), class: 'btn btn-primary', rel: :nofollow, data: {'disable_with' => 'Processing...' }
48
48
  - else
@@ -28,7 +28,7 @@
28
28
  - if order.new_record? && item.purchasable.kind_of?(Effective::Subscription)
29
29
  = render :partial => 'effective/orders/stripe/subscription_fields', :locals => {:form => form, :subscription => item.purchasable }
30
30
 
31
- %td.price= price_to_currency(item.price)
31
+ %td.price= price_to_currency(item.subtotal)
32
32
 
33
33
  %tfoot
34
34
  - if order.tax.to_i > 0 || order.tax_rate == nil
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '2.1.2'.freeze
2
+ VERSION = '2.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect