caboose-cms 0.5.102 → 0.5.103
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/orders_controller.rb +2 -1
- data/app/models/caboose/order.rb +27 -27
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTFkNzMxNWUxMjkyZGUzOTY0NmRkNmNjZDcwYjBiOTkzYjI2MWQ1ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2YxNDcwMmNlZmIwNjU4MzAwMDljNmQ0ODVlNThkMWVkMmFhZGYyMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTM5MzRhNDNhMmRmYjI4YzVkMTUyYWRlZmI2YmUyNWQxNmYyMTdmMzRiZmM5
|
10
|
+
ODM4Y2MwZTk4ZDQ4ZTI5Mjc2OWY0ODA4MjU1OTYyNzU2Mzk5NDcyN2UyZmM4
|
11
|
+
YzFjZTJmMWI5NjgyMGQ1OTUzNTU4ZDRiZWQ3NTgwOTcwZjEzYTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGZmMGFiNTdlMTY1M2I3M2ZjNjJmMmU1ZGQwZDYxMzU1MGJlOTRiYzhhMDIy
|
14
|
+
ZTZlNzk2NmM2ZDJlMjhmMGIyZGVhMzQ2MDc0YzA3YmU2MjliZmFhNzBjMWUz
|
15
|
+
ZDEzMjZhYjc4NmMyMWYyZjQ1MzkzZWU5NTQ2NTAwMzA4ODQwNWI=
|
data/app/models/caboose/order.rb
CHANGED
@@ -16,28 +16,28 @@ module Caboose
|
|
16
16
|
#has_many :order_packages, :class_name => 'Caboose::OrderPackage'
|
17
17
|
#has_many :order_transactions
|
18
18
|
|
19
|
-
attr_accessible :id,
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
19
|
+
#attr_accessible :id,
|
20
|
+
# :site_id,
|
21
|
+
# :alternate_id,
|
22
|
+
# :subtotal,
|
23
|
+
# :tax,
|
24
|
+
# :shipping,
|
25
|
+
# :handling,
|
26
|
+
# :custom_discount,
|
27
|
+
# :discount,
|
28
|
+
# :total,
|
29
|
+
# :customer_id,
|
30
|
+
# :shipping_address_id,
|
31
|
+
# :billing_address_id,
|
32
|
+
# :status,
|
33
|
+
# :financial_status,
|
34
|
+
# :referring_site,
|
35
|
+
# :landing_page,
|
36
|
+
# :landing_page_ref,
|
37
|
+
# :auth_amount,
|
38
|
+
# :date_created,
|
39
|
+
# :notes
|
40
|
+
#
|
41
41
|
# :payment_status,
|
42
42
|
# :cancel_reason,
|
43
43
|
# :date_authorized,
|
@@ -56,11 +56,11 @@ module Caboose
|
|
56
56
|
# :transaction_service,
|
57
57
|
# :transaction_id
|
58
58
|
|
59
|
-
STATUS_CART = 'cart'
|
60
|
-
STATUS_PENDING = 'pending'
|
61
|
-
STATUS_CANCELED = 'canceled'
|
62
|
-
STATUS_SHIPPED = 'shipped'
|
63
|
-
STATUS_TESTING = 'testing'
|
59
|
+
#STATUS_CART = 'cart'
|
60
|
+
#STATUS_PENDING = 'pending'
|
61
|
+
#STATUS_CANCELED = 'canceled'
|
62
|
+
#STATUS_SHIPPED = 'shipped'
|
63
|
+
#STATUS_TESTING = 'testing'
|
64
64
|
|
65
65
|
#
|
66
66
|
# Scopes
|
data/lib/caboose/version.rb
CHANGED