caboose-cms 0.7.29 → 0.7.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/checkout_controller.rb +1 -12
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1a2b599d4b6436f4ec68b1bbda09ad14dc412d2
|
4
|
+
data.tar.gz: 1eac458365e4df16bb53ffbaab07771de308b64d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40904aa6cac95f6f64e06af5832a405c5eae3f0f180f99e58db8d0228bc25a9cb928b58b53da325412c316f0ba1e684d09dda1d6fbdd004500852a9b07ebe6e2
|
7
|
+
data.tar.gz: acaf7f38eef8595d9814a416107a62134bd52adf5b688a3f6981af32624af812b848ca99b20eb6124138c4078c4eb1cb8a50887ece59b5c772d91ba843f60499
|
@@ -189,18 +189,7 @@ module Caboose
|
|
189
189
|
@order.calculate
|
190
190
|
total = @order.total
|
191
191
|
end
|
192
|
-
|
193
|
-
ap @order
|
194
|
-
|
195
|
-
render :json => {
|
196
|
-
:subtotal => @order.calculate_subtotal.to_f ,
|
197
|
-
:tax => @order.calculate_tax.to_f ,
|
198
|
-
:shipping => @order.calculate_shipping.to_f ,
|
199
|
-
:handling => @order.calculate_handling.to_f ,
|
200
|
-
:gift_wrap => @order.calculate_gift_wrap.to_f ,
|
201
|
-
:discount => @order.calculate_discount.to_f ,
|
202
|
-
:total => @order.calculate_total.to_f
|
203
|
-
}
|
192
|
+
render :json => total.to_f
|
204
193
|
end
|
205
194
|
|
206
195
|
# GET /checkout/address
|
data/lib/caboose/version.rb
CHANGED