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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a1297dcbb14c49c194aa9573568cabda9f59054
|
4
|
+
data.tar.gz: 4adc9e432d25558315f906ff80b92e217b5c11fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|