caboose-store 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTVhNjExOWJmY2ExOWYyNWFhNTVhNWQzYmU5YjFkNGYyOTU4OTc2Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWIyYWYyOWM0NDIyZDk0M2ZkMTFkZjZmMGYyYzlkMDFkYzQ0OTQ0MA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODllYjYyNzBmNTg0NGIxOTk1YzdiODNhNWI4OTAwZDJjZDJjMjEzYmMxZGI0
|
10
|
+
OTMxYTYxNjhiNDUyNzllMmVkOWE2MWMxYTM4NjAxMjY0YzY2MWE1MzIzN2Zh
|
11
|
+
OWZhMzJiZDdiMzZlZTM2Mzc1NzNkNjJjM2FjZjY5ZWUyODU4ZjE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTM4ODNjNGFlMmFhZDE5YjM5N2I0ZDdjYmY3ODg1NDRhNjQ0NTE2Nzk3ODBm
|
14
|
+
MzliMDJmYTEwMDM1NTFhZjYyZWMxNTE5NzMwMzRlYmM4ZDIxZTg1ODYwY2Uy
|
15
|
+
Yzk4NGY1ZDU5YmYxNWIzYmU4YTAyN2JiYmUzOGQ2NGZmMTFkYzI=
|
@@ -57,7 +57,11 @@ captured = @order.financial_status == 'captured'
|
|
57
57
|
<tr>
|
58
58
|
<td>
|
59
59
|
<% if li.variant.nil? || li.variant.product.nil? %>
|
60
|
-
|
60
|
+
<% if li.variant.nil? %>
|
61
|
+
Unknown variant
|
62
|
+
<% else %>
|
63
|
+
<%= li.variant.sku %>
|
64
|
+
<% end %>
|
61
65
|
<% else %>
|
62
66
|
<a href='/admin/products/<%= li.variant.product.id %>/variants?highlight=<%= li.variant.id %>'><%= li.variant.product.title %></a><br />
|
63
67
|
<%= li.variant.sku %><br />
|
@@ -90,20 +94,21 @@ captured = @order.financial_status == 'captured'
|
|
90
94
|
<tr><td colspan='5' align='right'>Total </td><td align='right' id='total' ><%= number_to_currency(@order.total ) %></td></tr>
|
91
95
|
</table>
|
92
96
|
<div id='message'></div>
|
97
|
+
|
93
98
|
<p>
|
94
99
|
<input type='button' value='< Back' onclick="window.location='/admin/orders';" />
|
95
|
-
|
96
100
|
<% if @order.financial_status == 'authorized' %>
|
97
101
|
<input type='button' value='Capture Funds' onclick="capture_funds(<%= @order.id %>);" />
|
98
102
|
<input type='button' value='Void' onclick="void_order(<%= @order.id %>);" />
|
99
103
|
<% end %>
|
100
|
-
|
101
104
|
<% if @order.financial_status == 'captured' %>
|
102
105
|
<input type='button' value='Refund' onclick="refund_order(<%= @order.id %>);" />
|
103
106
|
<% end %>
|
104
|
-
|
105
107
|
<input type='button' value='Resend Confirmation' onclick="resend_confirmation(<%= @order.id %>)" />
|
106
108
|
<input type='button' value='Print Order' onclick="print_order(<%= @order.id %>);" />
|
109
|
+
|
110
|
+
<% str = Caboose.plugin('admin_edit_order_buttons', "", @order) %>
|
111
|
+
<% if str %><%= raw str %><% end %>
|
107
112
|
</p>
|
108
113
|
|
109
114
|
<% content_for :caboose_js do %>
|
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.41
|
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-10-
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|