caboose-store 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/views/caboose_store/orders/admin_index.html.erb +11 -1
- data/lib/caboose-store/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGExNTgzOTE1YTM2OTY5NzI1ZjQ0MWJhZDAzYzBmZWUzZmNhNGRmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTFiZTIxNjlkN2FkYTU5Y2NhNmMwN2VhYTJiMTk2ZTlhZWU4MTg1MQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDVhY2MyMmJmY2Y5ZWM0NWVkZDBmN2QwMDExZTYyNjA3NWU2YjA2YjUzOTEz
|
10
|
+
MjQxZjA4MWY1NzMyNjRjYzhiOTAyNDFjYzhkZmRkYThlYjk0Y2QyMjdlZjFh
|
11
|
+
ZTE1Zjk5MzRlYWYyODYwZTI3N2VlN2U0NzliODVhN2FlNWRlMGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmMwMGI2MDVkODdmMjIxMmJlNWM1YjY0OTk1YmUyYmNmNmQwNzFjNWJlNDA0
|
14
|
+
ZDRkOTA0MWEzOWVjYzEzYTRjZDU2MGUyY2NhYzkzZDEzMmZlN2I2ZTY4ZjA5
|
15
|
+
NjFiN2Y5ZWMwNGU5NDNiZjlkNWJmZTM4YmNkOThkN2U1Y2Q1NDc=
|
@@ -56,7 +56,17 @@
|
|
56
56
|
<% @orders.each do |order| %>
|
57
57
|
<tr onclick="window.location='/admin/orders/<%= order.id %>';">
|
58
58
|
<td><%= raw order.id %></td>
|
59
|
-
<td
|
59
|
+
<td>
|
60
|
+
<% if order.customer.nil? %>
|
61
|
+
Unknown
|
62
|
+
<% else %>
|
63
|
+
<% if order.customer.first_name.strip.length > 0 %>
|
64
|
+
<%= order.customer.first_name %> <%= order.customer.last_name %>
|
65
|
+
<% else %>
|
66
|
+
Guest Customer
|
67
|
+
<% end %>
|
68
|
+
<% end %>
|
69
|
+
</td>
|
60
70
|
<td><%= raw order.date_created %></td>
|
61
71
|
<td align='right'><%= number_to_currency(order.total) %></td>
|
62
72
|
<td><%= raw order.status %></td>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|