caboose-cms 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/caboose/pending_invoices_pdf.rb +3 -3
- 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: 48cbc46f288c8ce3b3c85b2c9a4fb22b9ead9c51
|
4
|
+
data.tar.gz: b7ae8921bd015291bb825bd777a1f5dd734f0295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a95aaeb742ab75bb33dca9dedfea6da942c6ced04d80a371f59a421003b2b6177e34b842f3e479b97829da60b6f627a5ca18f8b9d22f95b1253752de63964d9f
|
7
|
+
data.tar.gz: 506ff6c24e72063b1a4c0daf8cbea9bc5c6ffbf3a468fd5391b4f0a301168b678c71071320f863eff57da54a4a11b9fc1cdeea8b87f20e076d43fe25d36e2099
|
@@ -142,9 +142,9 @@ module Caboose
|
|
142
142
|
|
143
143
|
invoice.invoice_packages.all.each do |pk|
|
144
144
|
|
145
|
-
carrier = pk.shipping_method.carrier
|
146
|
-
service = pk.shipping_method.service_name
|
147
|
-
package = pk.shipping_package.name
|
145
|
+
carrier = pk.shipping_method ? pk.shipping_method.carrier : nil
|
146
|
+
service = pk.shipping_method ? pk.shipping_method.service_name : nil
|
147
|
+
package = pl.shipping_package ? pk.shipping_package.name : nil
|
148
148
|
|
149
149
|
pk.line_items.each_with_index do |li, index|
|
150
150
|
options = ''
|
data/lib/caboose/version.rb
CHANGED