spree_billing_sisow 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/views/spree/admin/payments/source_forms/_creditcard.html.erb +8 -0
- data/app/views/spree/admin/payments/source_views/_creditcard.html.erb +33 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/nl.yml +1 -0
- data/spec/dummy/db/spree_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +88602 -0
- data/spec/dummy/tmp/capybara/capybara-201911011430474572758620.html +421 -0
- data/spec/dummy/tmp/capybara/capybara-201911011431505777475649.html +421 -0
- data/spec/dummy/tmp/capybara/capybara-201911011433364536468467.html +461 -0
- data/spec/dummy/tmp/capybara/capybara-201911011433561400549457.html +461 -0
- data/spec/dummy/tmp/capybara/capybara-201911011434195588687897.html +569 -0
- data/spec/dummy/tmp/capybara/capybara-201911011435078889255594.html +273 -0
- data/spec/dummy/tmp/capybara/capybara-201911011436218114868754.html +273 -0
- data/spec/dummy/tmp/capybara/capybara-201911011436469459729472.html +281 -0
- data/spec/features/administer_spec.rb +58 -0
- metadata +20 -2
@@ -0,0 +1,569 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head data-hook="admin_inside_head">
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
<title>
|
11
|
+
Spree Administration:
|
12
|
+
Orders
|
13
|
+
</title>
|
14
|
+
|
15
|
+
<link rel="stylesheet" media="all" href="/assets/spree/backend/all-7a9f9297e55c2d8089e033e69e2a1458be789bdf1ea980f6d285886026badd52.css" />
|
16
|
+
|
17
|
+
<script>
|
18
|
+
SpreePaths = {"mounted_at":"/","admin":"admin/"}
|
19
|
+
</script>
|
20
|
+
|
21
|
+
<script src="/assets/spree/backend/all-da2e1beed5f92ec67ec299f8a83b4d6cf6858f47fe7f75de11c11732253a9542.js"></script>
|
22
|
+
<script>
|
23
|
+
Spree.translations = {"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"add":"Add","are_you_sure":"Are you sure?","are_you_sure_delete":"Are you sure you want to delete this record?","bill_address":"Bill Address","cancel":"Cancel","choose_a_customer":"Choose a customer","confirm_delete":"Confirm Deletion","currency_separator":".","cut":"Cut","date_picker":"yy/mm/dd","destroy":"Destroy","edit":"Edit","first_day":0,"find_a_taxon":"Find a Taxon","item_stock_placeholder":"Choose location","loading":"Loading","month_names":["January","February","March","April","May","June","July","August","September","October","November","December"],"more":"More","name":"Name","new_taxon":"New Taxon","next":"Next","no_results":"No results","option_type_placeholder":"Choose an option type","paste":"Paste","previous":"Previous","remove":"Remove","rename":"Rename","save":"Save","searching":"Searching","server_error":"The server returned an error","sku":"SKU","type_to_search":"Type to search","taxon_placeholder":"Add a Taxon","taxonomy_tree_error":"The requested change has not been accepted and the tree has been returned to its previous state, please try again.","tags_placeholder":"Add Tags","tracking":"Tracking","variant_placeholder":"Choose a variant","value":"Value"}
|
24
|
+
</script>
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
<script>
|
29
|
+
//<![CDATA[
|
30
|
+
|
31
|
+
var AUTH_TOKEN = "CqRVnSmUZDNqG+yBcY0YNSOMXgiZVZUZ2sMsDrwB8PjtyXslJQpwErudYiNBz/zoy4qA89Wt8nJWbHT4xmBRXg==";
|
32
|
+
|
33
|
+
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
|
37
|
+
|
38
|
+
</head>
|
39
|
+
|
40
|
+
<body class="admin">
|
41
|
+
|
42
|
+
<div id="progress">
|
43
|
+
<div class="alert alert-info alert-progress">
|
44
|
+
<div class="spinner">Loading...</div>
|
45
|
+
<div class="progress-message">Loading...</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<header class="header logged-in">
|
50
|
+
|
51
|
+
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
52
|
+
<div class="container-fluid">
|
53
|
+
<div class="row">
|
54
|
+
<div class="navbar-header col-xs-3 col-md-2">
|
55
|
+
<a class="logo navbar-brand" href="/admin"><img id="logo" src="/assets/admin/logo-80200db37ace2294842fdb8cadf550b3681426b5551d89ad8fc4c0a53249d729.png" /></a>
|
56
|
+
<span class="navbar-toggle" id="sidebar-toggle">
|
57
|
+
<span class="icon-bar"></span>
|
58
|
+
<span class="icon-bar"></span>
|
59
|
+
<span class="icon-bar"></span>
|
60
|
+
</span>
|
61
|
+
</div>
|
62
|
+
<div class="col-xs-9 col-md-10">
|
63
|
+
<div class="navbar-right">
|
64
|
+
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</nav>
|
70
|
+
|
71
|
+
</header>
|
72
|
+
|
73
|
+
|
74
|
+
<div id="wrapper" class="container-fluid ">
|
75
|
+
<div class="row">
|
76
|
+
|
77
|
+
<div class="col-xs-3 col-md-2 sidebar" id="main-sidebar" data-hook="admin_tabs">
|
78
|
+
<ul class="nav nav-sidebar">
|
79
|
+
<li class="sidebar-menu-item selected"><a class="icon-link with-tip action-shopping-cart" href="/admin/orders"><span class="icon icon-shopping-cart"></span> <span class="text">Orders</span></a></li>
|
80
|
+
</ul>
|
81
|
+
|
82
|
+
<ul class="nav nav-sidebar">
|
83
|
+
<li class="sidebar-menu-item"><a data-toggle="collapse" data-parent="#sidebar" href="#sidebar-returns"><span class="icon icon-transfer"></span><span class="text"> Returns</span><span class="icon icon-chevron-left pull-right"></span></a><ul id="sidebar-returns" class="collapse nav nav-pills nav-stacked" data-hook="admin_returns_sub_tabs">
|
84
|
+
<li class="sidebar-menu-item"><a href="/admin/return_authorizations">Return Authorizations</a></li>
|
85
|
+
<li class="sidebar-menu-item"><a href="/admin/customer_returns">Customer Returns</a></li>
|
86
|
+
</ul>
|
87
|
+
</li>
|
88
|
+
</ul>
|
89
|
+
|
90
|
+
<ul class="nav nav-sidebar">
|
91
|
+
<li class="sidebar-menu-item"><a data-toggle="collapse" data-parent="#sidebar" href="#sidebar-product"><span class="icon icon-th-large"></span><span class="text"> Products</span><span class="icon icon-chevron-left pull-right"></span></a><ul id="sidebar-product" class="collapse nav nav-pills nav-stacked" data-hook="admin_product_sub_tabs">
|
92
|
+
<li class="sidebar-menu-item"><a href="/admin/products">Products</a></li>
|
93
|
+
<li class="sidebar-menu-item"><a href="/admin/option_types">Option Types</a></li>
|
94
|
+
<li class="sidebar-menu-item"><a href="/admin/properties">Properties</a></li>
|
95
|
+
<li class="sidebar-menu-item"><a href="/admin/prototypes">Prototypes</a></li>
|
96
|
+
<li class="sidebar-menu-item"><a href="/admin/taxonomies">Taxonomies</a></li>
|
97
|
+
<li class="sidebar-menu-item"><a href="/admin/taxons">Taxons</a></li>
|
98
|
+
</ul>
|
99
|
+
</li>
|
100
|
+
</ul>
|
101
|
+
|
102
|
+
<ul class="nav nav-sidebar">
|
103
|
+
<li class="sidebar-menu-item"><a class="icon-link with-tip action-file" href="/admin/reports"><span class="icon icon-file"></span> <span class="text">Reports</span></a></li>
|
104
|
+
</ul>
|
105
|
+
|
106
|
+
<ul class="nav nav-sidebar">
|
107
|
+
<li class="sidebar-menu-item"><a data-toggle="collapse" data-parent="#sidebar" href="#sidebar-promotions"><span class="icon icon-gift"></span><span class="text"> Promotions</span><span class="icon icon-chevron-left pull-right"></span></a><ul id="sidebar-promotions" class="collapse nav nav-pills nav-stacked" data-hook="admin_promotion_sub_tabs">
|
108
|
+
<li class="sidebar-menu-item"><a href="/admin/promotions">Promotions</a></li>
|
109
|
+
<li class="sidebar-menu-item"><a href="/admin/promotion_categories">Promotion Categories</a></li>
|
110
|
+
</ul>
|
111
|
+
</li>
|
112
|
+
</ul>
|
113
|
+
|
114
|
+
<ul class="nav nav-sidebar">
|
115
|
+
<li class="sidebar-menu-item"><a class="icon-link with-tip action-user" href="/admin/users"><span class="icon icon-user"></span> <span class="text">Users</span></a></li>
|
116
|
+
</ul>
|
117
|
+
|
118
|
+
<ul class="nav nav-sidebar">
|
119
|
+
<li class="sidebar-menu-item"><a data-toggle="collapse" data-parent="#sidebar" href="#sidebar-configuration"><span class="icon icon-wrench"></span><span class="text"> Configurations</span><span class="icon icon-chevron-left pull-right"></span></a><ul data-hook="admin_configurations_sidebar_menu" class="collapse nav nav-pills nav-stacked" id="sidebar-configuration">
|
120
|
+
<li class="sidebar-menu-item"><a href="/admin/general_settings/edit">General Settings</a></li>
|
121
|
+
<li class="sidebar-menu-item"><a href="/admin/stores">Stores</a></li>
|
122
|
+
<li class="sidebar-menu-item"><a href="/admin/tax_categories">Tax Categories</a></li>
|
123
|
+
<li class="sidebar-menu-item"><a href="/admin/tax_rates">Tax Rates</a></li>
|
124
|
+
<li class="sidebar-menu-item"><a href="/admin/zones">Zones</a></li>
|
125
|
+
<li class="sidebar-menu-item"><a href="/admin/countries">Countries</a></li>
|
126
|
+
|
127
|
+
<li class="sidebar-menu-item"><a href="/admin/countries/1/states">States</a></li>
|
128
|
+
|
129
|
+
<li class="sidebar-menu-item"><a href="/admin/payment_methods">Payment Methods</a></li>
|
130
|
+
<li class="sidebar-menu-item"><a href="/admin/shipping_methods">Shipping Methods</a></li>
|
131
|
+
<li class="sidebar-menu-item"><a href="/admin/shipping_categories">Shipping Categories</a></li>
|
132
|
+
<li class="sidebar-menu-item"><a href="/admin/stock_transfers">Stock Transfers</a></li>
|
133
|
+
<li class="sidebar-menu-item"><a href="/admin/stock_locations">Stock Locations</a></li>
|
134
|
+
<li class="sidebar-menu-item"><a href="/admin/store_credit_categories">Store Credit Categories</a></li>
|
135
|
+
<li class="sidebar-menu-item"><a href="/admin/refund_reasons">Refund Reasons</a></li>
|
136
|
+
<li class="sidebar-menu-item"><a href="/admin/reimbursement_types">Reimbursement Types</a></li>
|
137
|
+
<li class="sidebar-menu-item"><a href="/admin/return_authorization_reasons">Return Authorization Reasons</a></li>
|
138
|
+
<li class="sidebar-menu-item"><a href="/admin/roles">Roles</a></li>
|
139
|
+
<li class="sidebar-menu-item"><a href="/admin/sisow/edit">Sisow configuration</a></li>
|
140
|
+
</ul>
|
141
|
+
</li>
|
142
|
+
</ul>
|
143
|
+
|
144
|
+
|
145
|
+
<div class="spree-version hidden-xs hidden-sm">
|
146
|
+
3.7.3
|
147
|
+
</div>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div class="col-xs-9 col-xs-offset-3 col-md-10 col-md-offset-2 main" id="main-part">
|
152
|
+
|
153
|
+
<div class="content-header page-header">
|
154
|
+
<div class="row">
|
155
|
+
<h1 class="col-xs-6">
|
156
|
+
<a href="/admin/orders">Orders</a> /
|
157
|
+
<a href="/admin/orders/R792535996/edit">R792535996</a>
|
158
|
+
/ Shipments
|
159
|
+
|
160
|
+
</h1>
|
161
|
+
|
162
|
+
<div class="page-actions col-xs-6" data-hook="toolbar">
|
163
|
+
<form class="display-inline" action="/admin/orders/R792535996/approve" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><input type="hidden" name="_method" value="put" /><button name="button" data-confirm="Are you sure you want to approve this order?" class="btn btn-primary " data-disable-with="Saving..."><span class="icon icon-approve"></span> Approve</button></form>
|
164
|
+
<form class="display-inline" action="http://www.example.com/admin/orders/R792535996/resend" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><button name="button" class="btn btn-primary " data-disable-with="Saving..."><span class="icon icon-envelope"></span> Resend</button></form>
|
165
|
+
|
166
|
+
</div>
|
167
|
+
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
<div class="row">
|
173
|
+
|
174
|
+
|
175
|
+
<div class="with-sidebar col-xs-8 col-md-9" id="content" data-hook>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<div data-hook="admin_order_edit_header">
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
<script type='text/template' id='variant_autocomplete_template'>
|
189
|
+
<div class='variant-autocomplete-item media'>
|
190
|
+
<figure class='variant-image media-left'>
|
191
|
+
{{#if variant.image }}
|
192
|
+
<img src='{{variant.image}}' class="thumbnail no-marginb" />
|
193
|
+
{{ else }}
|
194
|
+
<img src='/assets/noimage/mini-d5d987414566f22657bbe0b08a980ddb4230d156845a31ab3cad0a0825016ce8.png' class="thumbnail no-marginb" />
|
195
|
+
{{/if}}
|
196
|
+
</figure>
|
197
|
+
|
198
|
+
<div class='variant-details media-body'>
|
199
|
+
<h5 class="variant-name media-heading">{{variant.name}}</h5>
|
200
|
+
{{#if variant.option_values}}
|
201
|
+
{{#each variant.option_values}}
|
202
|
+
<strong>{{this.option_type_presentation}}:</strong> {{this.presentation}}<br/>
|
203
|
+
{{/each}}
|
204
|
+
{{/if}}
|
205
|
+
<strong>SKU:</strong> {{variant.sku}}
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
</script>
|
209
|
+
|
210
|
+
<script type='text/template' id='variant_autocomplete_stock_template'>
|
211
|
+
|
212
|
+
<label>Select stock</label>
|
213
|
+
<table class="table table-condensed table-bordered stock-levels no-marginb" data-hook="stock-levels">
|
214
|
+
<thead>
|
215
|
+
<th>Location</th>
|
216
|
+
<th>Count On Hand</th>
|
217
|
+
<th width="15%">Quantity</th>
|
218
|
+
<th class="actions"></th>
|
219
|
+
</thead>
|
220
|
+
<tbody>
|
221
|
+
{{#each variant.stock_items}}
|
222
|
+
<tr>
|
223
|
+
<td>{{this.stock_location_name}}</td>
|
224
|
+
{{#unless ../variant.track_inventory}}
|
225
|
+
<td>It doesn't track inventory</td>
|
226
|
+
<td>
|
227
|
+
<input class="quantity form-control input-sm" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
|
228
|
+
</td>
|
229
|
+
<td class="actions actions-1">
|
230
|
+
<button class="btn btn-sm btn-success add_variant with-tip" data-stock-location-id="{{this.stock_location_id}}" title="Add" data-action="add">
|
231
|
+
<span class="icon icon-add"></span>
|
232
|
+
</button>
|
233
|
+
</td>
|
234
|
+
{{else}}
|
235
|
+
{{#if this.available}}
|
236
|
+
<td>
|
237
|
+
{{this.count_on_hand}}
|
238
|
+
{{#if this.backorderable}} (backorders allowed) {{/if}}
|
239
|
+
</td>
|
240
|
+
<td>
|
241
|
+
<input class="quantity form-control input-sm" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
|
242
|
+
</td>
|
243
|
+
<td class="actions actions-1">
|
244
|
+
<button class="btn btn-sm btn-success add_variant with-tip" data-stock-location-id="{{this.stock_location_id}}" title="Add" data-action="add">
|
245
|
+
<span class="icon icon-add"></span>
|
246
|
+
</button>
|
247
|
+
</td>
|
248
|
+
{{else}}
|
249
|
+
<td>Out of Stock</td>
|
250
|
+
<td>0</td>
|
251
|
+
<td></td>
|
252
|
+
{{/if}}
|
253
|
+
{{/unless}}
|
254
|
+
</tr>
|
255
|
+
{{/each}}
|
256
|
+
</tbody>
|
257
|
+
</table>
|
258
|
+
</script>
|
259
|
+
|
260
|
+
|
261
|
+
<div class="panel panel-default" id="add-line-item" data-hook>
|
262
|
+
<div class="panel-heading">
|
263
|
+
<h1 class="panel-title">
|
264
|
+
Add Product
|
265
|
+
</h1>
|
266
|
+
</div>
|
267
|
+
<div class="panel-body">
|
268
|
+
<div data-hook="add_product_name">
|
269
|
+
<label for="add_variant_id">Name or SKU (enter at least first 3 characters of product name)</label>
|
270
|
+
<input type="hidden" name="add_variant_id" id="add_variant_id" value="" class="variant_autocomplete fullwidth-input" />
|
271
|
+
</div>
|
272
|
+
|
273
|
+
<div id="stock_details"></div>
|
274
|
+
</div>
|
275
|
+
</div>
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
<div data-hook="admin_order_edit_form">
|
280
|
+
<div id="order-form-wrapper">
|
281
|
+
<div data-hook="admin_order_form_fields">
|
282
|
+
|
283
|
+
<div id="shipment_1" data-hook="admin_shipment_form" class="panel panel-default">
|
284
|
+
|
285
|
+
<script type='text/template' id='variant_split_template'>
|
286
|
+
<tr class='stock-item-split' data-variant-id='{{variant.id}}'>
|
287
|
+
<td colspan='2'>
|
288
|
+
Move {{variant.name}} to
|
289
|
+
</td>
|
290
|
+
<td colspan='2'>
|
291
|
+
<select name="item_stock_location" id='item_stock_location' style='width:100%;'>
|
292
|
+
<option></option>
|
293
|
+
<optgroup label="Existing shipments">
|
294
|
+
{{#each shipments}}
|
295
|
+
<option data-shipment-number='{{this.number}}' value='{{this.stock_location_id}}'>{{this.stock_location.name}}({{this.number}})</option>
|
296
|
+
{{/each}}
|
297
|
+
</optgroup>
|
298
|
+
<optgroup label="New shipment at location">
|
299
|
+
{{#each variant.stock_items}}
|
300
|
+
<option data-new-shipment='true' value='{{this.stock_location_id}}'>{{this.stock_location_name}} ({{this.count_on_hand}} on hand)</option>
|
301
|
+
{{/each}}
|
302
|
+
</optgroup>
|
303
|
+
</select>
|
304
|
+
</td>
|
305
|
+
<td>
|
306
|
+
<input class="quantity form-control" id="item_quantity" type="number" min="1" value="1" max="{{max_quantity}}">
|
307
|
+
</td>
|
308
|
+
<td class='actions'>
|
309
|
+
<a href='#' class='cancel-split with-tip btn btn-sm btn-default' title='Cancel'>
|
310
|
+
<span class="icon icon-arrow-left"></span>
|
311
|
+
</a>
|
312
|
+
<a href='#' class='save-split with-tip btn btn-sm btn-success' title='Save'>
|
313
|
+
<span class="icon icon-save"></span>
|
314
|
+
</a>
|
315
|
+
</td>
|
316
|
+
</tr>
|
317
|
+
</script>
|
318
|
+
|
319
|
+
|
320
|
+
<div class="panel-heading stock-location no-borderb" data-hook="stock-location">
|
321
|
+
<h1 class="panel-title">
|
322
|
+
<span class="shipment-number">H29750405276</span>
|
323
|
+
-
|
324
|
+
<span class="shipment-state">pending</span>
|
325
|
+
package from
|
326
|
+
<strong class="stock-location-name" data-hook="stock-location-name">'Lang Kessler'</strong>
|
327
|
+
</h1>
|
328
|
+
</div>
|
329
|
+
|
330
|
+
<div class="table-responsive">
|
331
|
+
<table class="table table-bordered stock-contents" data-hook="stock-contents">
|
332
|
+
<thead>
|
333
|
+
<tr>
|
334
|
+
<th colspan="2">Item Description</th>
|
335
|
+
<th width="15%" class="text-center">Price</th>
|
336
|
+
<th width="15%" class="text-center">Quantity</th>
|
337
|
+
<th width="15%" class="text-center">Total</th>
|
338
|
+
<th class="orders-actions actions text-center" data-hook="admin_order_form_line_items_header_actions"></th>
|
339
|
+
</tr>
|
340
|
+
</thead>
|
341
|
+
|
342
|
+
<tbody data-shipment-number="H29750405276" data-order-number="R792535996">
|
343
|
+
<tr class="stock-item" data-item-quantity="1">
|
344
|
+
<td class="item-image image text-center">
|
345
|
+
<img alt="Product #1 - 6676" src="/assets/noimage/mini-d5d987414566f22657bbe0b08a980ddb4230d156845a31ab3cad0a0825016ce8.png" />
|
346
|
+
</td>
|
347
|
+
|
348
|
+
<td class="item-name">
|
349
|
+
Product #1 - 6676
|
350
|
+
<br />
|
351
|
+
|
352
|
+
<strong>SKU:</strong> SKU-1
|
353
|
+
</td>
|
354
|
+
|
355
|
+
<td class="item-price text-center">$19.99</td>
|
356
|
+
|
357
|
+
<td class="item-qty-show text-center">
|
358
|
+
1 x backordered
|
359
|
+
</td>
|
360
|
+
|
361
|
+
<td class="item-qty-edit is-hidden">
|
362
|
+
<input type="number" name="quantity" id="quantity" value="1" min="0" class="line_item_quantity form-control" size="5" />
|
363
|
+
</td>
|
364
|
+
|
365
|
+
<td class="item-total text-center">
|
366
|
+
$19.99
|
367
|
+
</td>
|
368
|
+
|
369
|
+
<td class="cart-item-delete actions actions-3 text-center" data-hook="cart_item_delete">
|
370
|
+
<a class="edit-item btn btn-default btn-sm icon-link with-tip action-pencil no-text" title="Edit" href="#"><span class="icon icon-pencil"></span> </a>
|
371
|
+
<a class="cancel-item btn btn-primary btn-sm icon-link with-tip action-cancel no-text" data-action="cancel" title="Cancel" style="display: none" href="#"><span class="icon icon-cancel"></span> </a>
|
372
|
+
<a class="save-item btn btn-success btn-sm icon-link with-tip action-ok no-text" data-shipment-number="H29750405276" data-variant-id="1" data-action="save" title="Save" style="display: none" href="#"><span class="icon icon-ok"></span> </a>
|
373
|
+
<a class="split-item btn btn-primary btn-sm icon-link with-tip action-split no-text" data-action="split" data-variant-id="1" title="Split" href="#"><span class="icon icon-split"></span> </a>
|
374
|
+
<a class="delete-item btn btn-danger btn-sm icon-link with-tip action-delete no-text" data-shipment-number="H29750405276" data-variant-id="1" data-action="remove" title="Delete" href="#"><span class="icon icon-delete"></span> </a>
|
375
|
+
</td>
|
376
|
+
</tr>
|
377
|
+
|
378
|
+
|
379
|
+
<tr class="edit-method is-hidden total">
|
380
|
+
<td colspan="5">
|
381
|
+
<div class="field alpha five columns">
|
382
|
+
<label for="selected_shipping_rate_id">Shipping Method</label>
|
383
|
+
<select name="selected_shipping_rate_id" id="selected_shipping_rate_id" class="select2" data-shipment-number="H29750405276"><option selected="selected" value="1">UPS Ground $10.00</option></select>
|
384
|
+
</div>
|
385
|
+
</td>
|
386
|
+
<td class="actions text-center">
|
387
|
+
<a class="cancel-method btn btn-primary btn-sm icon-link with-tip action-cancel no-text" data-action="cancel" title="Cancel" href="#"><span class="icon icon-cancel"></span> </a>
|
388
|
+
<a class="save-method btn btn-success btn-sm icon-link with-tip action-save no-text" data-shipment-number="H29750405276" data-action="save" title="Save" href="#"><span class="icon icon-save"></span> </a>
|
389
|
+
</td>
|
390
|
+
</tr>
|
391
|
+
|
392
|
+
<tr class="show-method total">
|
393
|
+
<td colspan="4">
|
394
|
+
<strong>UPS Ground</strong>
|
395
|
+
</td>
|
396
|
+
<td class="total text-center">
|
397
|
+
$10.00
|
398
|
+
</td>
|
399
|
+
|
400
|
+
<td class="actions text-center">
|
401
|
+
<a class="edit-method with-tip btn btn-sm btn-primary icon-link with-tip action-edit no-text" data-action="edit" title="Edit" href="javascript:;"><span class="icon icon-edit"></span> </a>
|
402
|
+
</td>
|
403
|
+
</tr>
|
404
|
+
|
405
|
+
|
406
|
+
<tr class="edit-tracking is-hidden total">
|
407
|
+
<td colspan="5">
|
408
|
+
<label>Tracking Number:</label>
|
409
|
+
<input type="text" name="tracking" id="tracking" class="form-control" />
|
410
|
+
</td>
|
411
|
+
<td class="actions">
|
412
|
+
<a class="cancel-tracking btn btn-primary btn-sm icon-link with-tip action-cancel no-text" data-action="cancel" title="Cancel" href="#"><span class="icon icon-cancel"></span> </a>
|
413
|
+
<a class="save-tracking btn btn-success btn-sm icon-link with-tip action-save no-text" data-shipment-number="H29750405276" data-action="save" title="Save" href="#"><span class="icon icon-save"></span> </a>
|
414
|
+
</td>
|
415
|
+
</tr>
|
416
|
+
|
417
|
+
|
418
|
+
<tr class="show-tracking total">
|
419
|
+
<td colspan="5" class="tracking-value">
|
420
|
+
No tracking details provided.
|
421
|
+
</td>
|
422
|
+
<td class="actions text-center">
|
423
|
+
<a class="edit-tracking btn btn-primary btn-sm icon-link with-tip action-edit no-text" data-action="edit" title="Edit" href="#"><span class="icon icon-edit"></span> </a>
|
424
|
+
</td>
|
425
|
+
</tr>
|
426
|
+
</tbody>
|
427
|
+
</table>
|
428
|
+
</div>
|
429
|
+
</div>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
<div class="alert alert-success" id="order-total" data-hook="order_details_total">
|
437
|
+
Order Total:
|
438
|
+
<strong class="order-total">
|
439
|
+
$29.99
|
440
|
+
</strong>
|
441
|
+
</div>
|
442
|
+
|
443
|
+
<script>
|
444
|
+
//<![CDATA[
|
445
|
+
|
446
|
+
var order_number = 'R792535996';
|
447
|
+
var shipments = [];
|
448
|
+
|
449
|
+
shipments.push(
|
450
|
+
{"id":1,"tracking":null,"number":"H29750405276","state":"pending","stock_location_id":1,"inventory_units":[{"id":1,"state":"backordered","variant_id":1,"order_id":1,"shipment_id":1,"created_at":"2019-11-01T13:34:18.934Z","updated_at":"2019-11-01T13:34:18.934Z","pending":true,"line_item_id":1,"quantity":1,"original_return_item_id":null}],"stock_location":{"id":1,"name":"Lang Kessler","created_at":"2019-11-01T13:34:18.762Z","updated_at":"2019-11-01T13:34:18.762Z","default":false,"address1":"1600 Pennsylvania Ave NW","address2":null,"city":"Washington","state_id":1,"state_name":null,"country_id":1,"zipcode":"20500","phone":"(202) 456-1111","active":true,"backorderable_default":true,"propagate_all_variants":true,"admin_name":null}}
|
451
|
+
);
|
452
|
+
|
453
|
+
$('#order_tab_summary h5#order_status').html('Status: delivery');
|
454
|
+
$('#order_tab_summary h5#order_total').html('Total: $29.99');
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
//]]>
|
459
|
+
</script></div>
|
460
|
+
|
461
|
+
</div>
|
462
|
+
</div>
|
463
|
+
|
464
|
+
<div class="panel panel-default">
|
465
|
+
<div class="panel-heading">
|
466
|
+
<h3 class="panel-title">Summary</h3>
|
467
|
+
</div>
|
468
|
+
|
469
|
+
<table class="table table-condensed table-bordered" id="order_tab_summary" data-hook>
|
470
|
+
<tbody class="additional-info">
|
471
|
+
<tr>
|
472
|
+
<td id="order_status" width="35%" data-hook>
|
473
|
+
<strong>Status:</strong>
|
474
|
+
</td>
|
475
|
+
<td>
|
476
|
+
<span class="state label label-delivery">
|
477
|
+
delivery
|
478
|
+
</span>
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
<tr>
|
482
|
+
<td data-hook='admin_order_tab_channel_title'>
|
483
|
+
<strong>Channel:</strong>
|
484
|
+
</td>
|
485
|
+
<td id='order_channel'>spree</td>
|
486
|
+
</tr>
|
487
|
+
<tr>
|
488
|
+
<td data-hook='admin_order_tab_subtotal_title'>
|
489
|
+
<strong>Subtotal:</strong>
|
490
|
+
</td>
|
491
|
+
<td id='item_total'>
|
492
|
+
$19.99
|
493
|
+
</td>
|
494
|
+
</tr>
|
495
|
+
|
496
|
+
<tr>
|
497
|
+
<td data-hook='admin_order_tab_ship_total_title'>
|
498
|
+
<strong>Ship Total:</strong>
|
499
|
+
</td>
|
500
|
+
<td id='ship_total'>
|
501
|
+
$10.00
|
502
|
+
</td>
|
503
|
+
</tr>
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
<tr>
|
508
|
+
<td data-hook='admin_order_tab_total_title'>
|
509
|
+
<strong>Total:</strong>
|
510
|
+
</td>
|
511
|
+
<td id='order_total'>$29.99</td>
|
512
|
+
</tr>
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
</tbody>
|
517
|
+
</table>
|
518
|
+
</div>
|
519
|
+
|
520
|
+
|
521
|
+
</div>
|
522
|
+
|
523
|
+
<div class="col-xs-4 col-md-3">
|
524
|
+
<aside id="sidebar" class="main-right-sidebar" data-hook>
|
525
|
+
<ul class="nav nav-pills nav-stacked" data-hook="admin_order_tabs">
|
526
|
+
<li data-hook='admin_order_tabs_cart_details'>
|
527
|
+
<a class="icon-link with-tip action-edit" href="http://www.example.com/admin/orders/R792535996/cart"><span class="icon icon-edit"></span> <span class="text">Cart</span></a>
|
528
|
+
</li>
|
529
|
+
|
530
|
+
<li data-hook='admin_order_tabs_store_details'>
|
531
|
+
<a class="icon-link with-tip action-home" href="http://www.example.com/admin/orders/R792535996/store"><span class="icon icon-home"></span> <span class="text">Store</span></a>
|
532
|
+
</li>
|
533
|
+
|
534
|
+
<li data-hook='admin_order_tabs_customer_details'>
|
535
|
+
<a class="icon-link with-tip action-user" href="http://www.example.com/admin/orders/R792535996/customer"><span class="icon icon-user"></span> <span class="text">Customer</span></a>
|
536
|
+
</li>
|
537
|
+
|
538
|
+
<li class="active" data-hook='admin_order_tabs_shipment_details'>
|
539
|
+
<a class="icon-link with-tip action-road" href="http://www.example.com/admin/orders/R792535996/edit"><span class="icon icon-road"></span> <span class="text">Shipments</span></a>
|
540
|
+
</li>
|
541
|
+
|
542
|
+
<li data-hook='admin_order_tabs_adjustments'>
|
543
|
+
<a class="icon-link with-tip action-wrench" href="http://www.example.com/admin/orders/R792535996/adjustments"><span class="icon icon-wrench"></span> <span class="text">Adjustments</span></a>
|
544
|
+
</li>
|
545
|
+
|
546
|
+
<li data-hook='admin_order_tabs_payments'>
|
547
|
+
<a class="icon-link with-tip action-credit-card" href="http://www.example.com/admin/orders/R792535996/payments"><span class="icon icon-credit-card"></span> <span class="text">Payments</span></a>
|
548
|
+
</li>
|
549
|
+
|
550
|
+
|
551
|
+
|
552
|
+
<li data-hook='admin_order_tabs_state_changes'>
|
553
|
+
<a class="icon-link with-tip action-refresh" href="http://www.example.com/admin/orders/R792535996/state_changes"><span class="icon icon-refresh"></span> <span class="text">State changes</span></a>
|
554
|
+
</li>
|
555
|
+
</ul>
|
556
|
+
|
557
|
+
</aside>
|
558
|
+
|
559
|
+
</div>
|
560
|
+
</div>
|
561
|
+
|
562
|
+
|
563
|
+
</div>
|
564
|
+
</div>
|
565
|
+
</div>
|
566
|
+
|
567
|
+
<div data-hook="admin_footer_scripts"></div>
|
568
|
+
</body>
|
569
|
+
</html>
|