caboose-cms 0.7.48 → 0.7.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/caboose/order_pdf.rb +3 -3
- data/app/models/caboose/pending_orders_pdf.rb +2 -2
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05df2133ce69c265c58154aae2612ddd8c018412
|
|
4
|
+
data.tar.gz: 65b19cc81afe0af3f2d617dd8c1cbdd33bf41f8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b386a475e9c3592bc02be0e4252cc2c2de1e40af93ba6c8371a08f1bfdbb5cf2669b173ad2bb0fcebb5fcfabb79a082a82138c8d2cf7c1b672d39771ba233696
|
|
7
|
+
data.tar.gz: 8e66d3a6e7b8a638b4fd4aa668302f0c1c090d4e74dde92f82675c1f91a6425718435587d063cb5db82f42bcda9f24efb8bf3446bff321a9776709af97754839
|
|
@@ -125,8 +125,8 @@ module Caboose
|
|
|
125
125
|
{ :content => "Quantity" , :align => :right , :valign => :bottom }
|
|
126
126
|
]
|
|
127
127
|
if !hide_prices
|
|
128
|
-
tbl << { :content => "Price" , :align => :right , :valign => :bottom }
|
|
129
|
-
tbl << { :content => "Amount" , :align => :right , :valign => :bottom }
|
|
128
|
+
tbl[0] << { :content => "Price" , :align => :right , :valign => :bottom }
|
|
129
|
+
tbl[0] << { :content => "Amount" , :align => :right , :valign => :bottom }
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
order.calculate
|
|
@@ -211,7 +211,7 @@ module Caboose
|
|
|
211
211
|
tbl << [{ :content => "Grand Total" , :colspan => 6, :align => :right, :font_style => :bold }, { :content => "$" + sprintf("%.2f", order.total ) , :align => :right, :font_style => :bold }]
|
|
212
212
|
end
|
|
213
213
|
|
|
214
|
-
table tbl , :position => 7, :width => 530
|
|
214
|
+
table tbl , :position => 7, :width => 530
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
def gift_options(li)
|
|
@@ -124,8 +124,8 @@ module Caboose
|
|
|
124
124
|
{ :content => "Quantity" , :align => :right , :valign => :bottom }
|
|
125
125
|
]
|
|
126
126
|
if !hide_prices
|
|
127
|
-
tbl << { :content => "Price" , :align => :right , :valign => :bottom }
|
|
128
|
-
tbl << { :content => "Amount" , :align => :right , :valign => :bottom }
|
|
127
|
+
tbl[0] << { :content => "Price" , :align => :right , :valign => :bottom }
|
|
128
|
+
tbl[0] << { :content => "Amount" , :align => :right , :valign => :bottom }
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
#order.calculate
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: caboose-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.49
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Barry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|