spree_backend 2.3.13 → 2.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spree/backend/address_states.js +1 -3
- data/app/assets/javascripts/spree/backend/adjustments.js.coffee +1 -2
- data/app/assets/javascripts/spree/backend/admin.js.erb +11 -1
- data/app/assets/javascripts/spree/backend/checkouts/edit.js +1 -20
- data/app/assets/javascripts/spree/backend/line_items.js.coffee +2 -5
- data/app/assets/javascripts/spree/backend/line_items_on_order_edit.js.erb +50 -0
- data/app/assets/javascripts/spree/backend/option_type_autocomplete.js.erb +2 -4
- data/app/assets/javascripts/spree/backend/orders/edit_form.js +2 -3
- data/app/assets/javascripts/spree/backend/payments/edit.js.coffee +5 -5
- data/app/assets/javascripts/spree/backend/product_picker.js +2 -4
- data/app/assets/javascripts/spree/backend/returns/expedited_exchanges_warning.coffee +4 -0
- data/app/assets/javascripts/spree/backend/returns/return_item_selection.js +35 -0
- data/app/assets/javascripts/spree/backend/shipments.js.erb +39 -52
- data/app/assets/javascripts/spree/backend/stock_movement.js.coffee +1 -2
- data/app/assets/javascripts/spree/backend/stock_transfer.js.coffee +1 -2
- data/app/assets/javascripts/spree/backend/taxon_autocomplete.js.erb +8 -6
- data/app/assets/javascripts/spree/backend/taxonomy.js.coffee +5 -24
- data/app/assets/javascripts/spree/backend/taxons.js.coffee +2 -4
- data/app/assets/javascripts/spree/backend/user_picker.js +2 -3
- data/app/assets/javascripts/spree/backend/variant_autocomplete.js.coffee.erb +2 -2
- data/app/assets/stylesheets/spree/backend/components/_navigation.scss +0 -5
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +5 -2
- data/app/assets/stylesheets/spree/backend/sections/_adjustments_table.scss +8 -0
- data/app/assets/stylesheets/spree/backend/sections/_products.scss +4 -0
- data/app/assets/stylesheets/spree/backend/sections/_return_authorizations.scss +24 -0
- data/app/assets/stylesheets/spree/backend/sections/_taxons.scss +1 -7
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +8 -0
- data/app/assets/stylesheets/spree/backend/spree_admin.scss +2 -0
- data/app/assets/stylesheets/spree/backend.css +1 -1
- data/app/controllers/spree/admin/adjustments_controller.rb +1 -7
- data/app/controllers/spree/admin/base_controller.rb +8 -2
- data/app/controllers/spree/admin/customer_returns_controller.rb +67 -0
- data/app/controllers/spree/admin/general_settings_controller.rb +1 -1
- data/app/controllers/spree/admin/images_controller.rb +1 -1
- data/app/controllers/spree/admin/log_entries_controller.rb +2 -2
- data/app/controllers/spree/admin/option_types_controller.rb +1 -1
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +2 -2
- data/app/controllers/spree/admin/orders_controller.rb +21 -10
- data/app/controllers/spree/admin/payment_methods_controller.rb +3 -3
- data/app/controllers/spree/admin/payments_controller.rb +6 -12
- data/app/controllers/spree/admin/product_properties_controller.rb +2 -2
- data/app/controllers/spree/admin/products_controller.rb +1 -1
- data/app/controllers/spree/admin/promotion_actions_controller.rb +2 -2
- data/app/controllers/spree/admin/promotion_categories_controller.rb +6 -0
- data/app/controllers/spree/admin/promotion_rules_controller.rb +2 -2
- data/app/controllers/spree/admin/promotions_controller.rb +2 -1
- data/app/controllers/spree/admin/refund_reasons_controller.rb +6 -0
- data/app/controllers/spree/admin/refunds_controller.rb +31 -0
- data/app/controllers/spree/admin/reimbursement_types_controller.rb +6 -0
- data/app/controllers/spree/admin/reimbursements_controller.rb +44 -0
- data/app/controllers/spree/admin/resource_controller.rb +2 -2
- data/app/controllers/spree/admin/return_authorization_reasons_controller.rb +6 -0
- data/app/controllers/spree/admin/return_authorizations_controller.rb +35 -5
- data/app/controllers/spree/admin/return_items_controller.rb +9 -0
- data/app/controllers/spree/admin/search_controller.rb +1 -1
- data/app/controllers/spree/admin/shipping_methods_controller.rb +3 -3
- data/app/controllers/spree/admin/states_controller.rb +1 -1
- data/app/controllers/spree/admin/stock_items_controller.rb +1 -1
- data/app/controllers/spree/admin/stock_locations_controller.rb +1 -1
- data/app/controllers/spree/admin/stock_transfers_controller.rb +2 -2
- data/app/controllers/spree/admin/tax_rates_controller.rb +1 -1
- data/app/controllers/spree/admin/users_controller.rb +4 -4
- data/app/controllers/spree/admin/variants_controller.rb +2 -2
- data/app/controllers/spree/admin/zones_controller.rb +1 -1
- data/app/helpers/spree/admin/customer_returns_helper.rb +9 -0
- data/app/helpers/spree/admin/navigation_helper.rb +1 -1
- data/app/helpers/spree/admin/reimbursement_type_helper.rb +9 -0
- data/app/helpers/spree/admin/reimbursements_helper.rb +14 -0
- data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +7 -3
- data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +36 -0
- data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +50 -0
- data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +43 -0
- data/app/views/spree/admin/customer_returns/edit.html.erb +65 -0
- data/app/views/spree/admin/customer_returns/index.html.erb +60 -0
- data/app/views/spree/admin/customer_returns/new.html.erb +60 -0
- data/app/views/spree/admin/general_settings/edit.html.erb +6 -0
- data/app/views/spree/admin/images/_form.html.erb +6 -6
- data/app/views/spree/admin/log_entries/_credit_card.html.erb +4 -0
- data/app/views/spree/admin/log_entries/index.html.erb +2 -5
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +5 -7
- data/app/views/spree/admin/option_types/edit.html.erb +9 -2
- data/app/views/spree/admin/orders/_add_line_item.html.erb +18 -0
- data/app/views/spree/admin/orders/_form.html.erb +7 -7
- data/app/views/spree/admin/orders/_line_items_edit_form.html.erb +40 -0
- data/app/views/spree/admin/orders/_shipment.html.erb +1 -1
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +5 -4
- data/app/views/spree/admin/orders/cart.html.erb +39 -0
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
- data/app/views/spree/admin/orders/edit.html.erb +2 -2
- data/app/views/spree/admin/orders/index.html.erb +8 -14
- data/app/views/spree/admin/payment_methods/_form.html.erb +7 -7
- data/app/views/spree/admin/payments/_list.html.erb +11 -3
- data/app/views/spree/admin/payments/index.html.erb +13 -1
- data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +4 -6
- data/app/views/spree/admin/products/_form.html.erb +20 -6
- data/app/views/spree/admin/products/new.html.erb +3 -3
- data/app/views/spree/admin/products/stock.html.erb +1 -1
- data/app/views/spree/admin/promotion_categories/_form.html.erb +10 -0
- data/app/views/spree/admin/promotion_categories/edit.html.erb +17 -0
- data/app/views/spree/admin/promotion_categories/index.html.erb +34 -0
- data/app/views/spree/admin/promotion_categories/new.html.erb +16 -0
- data/app/views/spree/admin/promotion_rules/create.js.erb +2 -0
- data/app/views/spree/admin/promotions/_actions.html.erb +1 -1
- data/app/views/spree/admin/promotions/_form.html.erb +5 -0
- data/app/views/spree/admin/promotions/actions/_create_line_items.html.erb +7 -7
- data/app/views/spree/admin/promotions/index.html.erb +16 -6
- data/app/views/spree/admin/promotions/rules/_item_total.html.erb +4 -2
- data/app/views/spree/admin/promotions/rules/_one_use_per_user.html.erb +0 -0
- data/app/views/spree/admin/promotions/rules/_taxon.html.erb +9 -0
- data/app/views/spree/admin/prototypes/_form.html.erb +2 -2
- data/app/views/spree/admin/refund_reasons/edit.html.erb +4 -0
- data/app/views/spree/admin/refund_reasons/index.html.erb +5 -0
- data/app/views/spree/admin/refund_reasons/new.html.erb +4 -0
- data/app/views/spree/admin/refunds/edit.html.erb +31 -0
- data/app/views/spree/admin/refunds/new.html.erb +43 -0
- data/app/views/spree/admin/reimbursement_types/index.html.erb +33 -0
- data/app/views/spree/admin/reimbursements/edit.html.erb +108 -0
- data/app/views/spree/admin/reimbursements/index.html.erb +34 -0
- data/app/views/spree/admin/reimbursements/show.html.erb +94 -0
- data/app/views/spree/admin/return_authorization_reasons/edit.html.erb +4 -0
- data/app/views/spree/admin/return_authorization_reasons/index.html.erb +5 -0
- data/app/views/spree/admin/return_authorization_reasons/new.html.erb +4 -0
- data/app/views/spree/admin/return_authorizations/_form.html.erb +62 -50
- data/app/views/spree/admin/return_authorizations/edit.html.erb +6 -8
- data/app/views/spree/admin/return_authorizations/index.html.erb +3 -4
- data/app/views/spree/admin/return_authorizations/new.html.erb +1 -1
- data/app/views/spree/admin/shared/_configuration_menu.html.erb +5 -2
- data/app/views/spree/admin/shared/_destroy.js.erb +1 -1
- data/app/views/spree/admin/shared/_head.html.erb +1 -2
- data/app/views/spree/admin/shared/_order_submenu.html.erb +17 -3
- data/app/views/spree/admin/shared/_order_summary.html.erb +7 -0
- data/app/views/spree/admin/shared/_product_tabs.html.erb +1 -0
- data/app/views/spree/admin/shared/_refunds.html.erb +32 -0
- data/app/views/spree/admin/shared/_report_order_criteria.html.erb +12 -12
- data/app/views/spree/admin/shared/_tabs.html.erb +2 -2
- data/app/views/spree/admin/shared/named_types/_edit.html.erb +17 -0
- data/app/views/spree/admin/shared/named_types/_form.html.erb +16 -0
- data/app/views/spree/admin/shared/named_types/_index.html.erb +52 -0
- data/app/views/spree/admin/shared/named_types/_new.html.erb +16 -0
- data/app/views/spree/admin/shipping_categories/_form.html.erb +1 -1
- data/app/views/spree/admin/shipping_methods/_form.html.erb +8 -0
- data/app/views/spree/admin/stock_locations/_form.html.erb +77 -59
- data/app/views/spree/admin/stock_transfers/new.html.erb +2 -2
- data/app/views/spree/admin/tax_categories/_form.html.erb +9 -2
- data/app/views/spree/admin/tax_categories/index.html.erb +4 -1
- data/app/views/spree/admin/taxons/index.html.erb +4 -0
- data/app/views/spree/admin/trackers/_form.html.erb +4 -4
- data/app/views/spree/admin/users/_form.html.erb +1 -1
- data/app/views/spree/admin/users/index.html.erb +1 -1
- data/app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb +49 -0
- data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +0 -1
- data/app/views/spree/admin/variants/_split.js.erb +1 -1
- data/app/views/spree/admin/zones/_form.html.erb +1 -1
- data/config/initializers/assets.rb +1 -1
- data/config/routes.rb +22 -1
- metadata +62 -32
- data/app/controllers/spree/admin/inventory_units_controller.rb +0 -6
- data/app/controllers/spree/admin/line_items_controller.rb +0 -49
- data/app/controllers/spree/admin/overview_controller.rb +0 -11
- data/app/views/spree/admin/inventory_units/adjust.html.erb +0 -31
- data/app/views/spree/test_mailer/test_email.text.erb +0 -4
- data/config/locales/en.yml +0 -6
@@ -1,11 +1,9 @@
|
|
1
1
|
<tr class="option_value fields" id="spree_<%= dom_id(f.object) %>" data-hook="option_value" class="<%= cycle('odd', 'even')%>">
|
2
|
-
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<% end %>
|
8
|
-
<td colspan="<%= f.object.persisted? ? '' : '2' %>" class="name"><%= f.text_field :name %></td>
|
2
|
+
<td class="no-border">
|
3
|
+
<span class="handle"></span>
|
4
|
+
<%= f.hidden_field :id %>
|
5
|
+
</td>
|
6
|
+
<td class="name"><%= f.text_field :name %></td>
|
9
7
|
<td class="presentation"><%= f.text_field :presentation %></td>
|
10
8
|
<td class="actions"><%= link_to_remove_fields Spree.t(:remove), f, :no_text => true %></td>
|
11
9
|
</tr>
|
@@ -32,8 +32,15 @@
|
|
32
32
|
</tr>
|
33
33
|
</thead>
|
34
34
|
<tbody id="option_values">
|
35
|
-
|
36
|
-
|
35
|
+
<% if @option_type.option_values.empty? %>
|
36
|
+
<tr id="none" data-hook="option_none" class="<%= cycle('odd', 'even')%>">
|
37
|
+
<td colspan="2"><%= Spree.t(:none) %></td>
|
38
|
+
<td class="actions"></td>
|
39
|
+
</tr>
|
40
|
+
<% else %>
|
41
|
+
<%= f.fields_for :option_values do |option_value_form| %>
|
42
|
+
<%= render :partial => 'option_value_fields', :locals => { :f => option_value_form } %>
|
43
|
+
<% end %>
|
37
44
|
<% end %>
|
38
45
|
</tbody>
|
39
46
|
</table>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
|
2
|
+
|
3
|
+
<%= render :partial => "spree/admin/variants/autocomplete_line_items_stock", :formats => :js %>
|
4
|
+
|
5
|
+
|
6
|
+
<div id="add-line-item" data-hook>
|
7
|
+
<fieldset class="no-border-bottom">
|
8
|
+
<legend align="center"><%= Spree.t(:add_product) %></legend>
|
9
|
+
|
10
|
+
<div data-hook="add_product_name" class="field twelve columns alpha">
|
11
|
+
<%= label_tag :add_line_item_variant_id, Spree.t(:name_or_sku) %>
|
12
|
+
<%= hidden_field_tag :add_line_item_variant_id, "", :class => "variant_autocomplete fullwidth" %>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
</fieldset>
|
16
|
+
|
17
|
+
<div id="stock_details"></div>
|
18
|
+
</div>
|
@@ -3,24 +3,23 @@
|
|
3
3
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @line_item } %>
|
4
4
|
<% end %>
|
5
5
|
|
6
|
-
<% if Spree::Order.checkout_step_names.include?(:delivery)
|
7
|
-
<%= render :partial => "spree/admin/orders/shipment", :collection => @order.shipments, :locals => { :order => order } %>
|
6
|
+
<% if Spree::Order.checkout_step_names.include?(:delivery) %>
|
7
|
+
<%= render :partial => "spree/admin/orders/shipment", :collection => @order.shipments.order(:created_at), :locals => { :order => order } %>
|
8
8
|
<% else %>
|
9
9
|
<%= render :partial => "spree/admin/orders/line_items", :locals => { :order => order } %>
|
10
10
|
<% end %>
|
11
|
-
|
12
11
|
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
13
|
-
:adjustments => @order.line_item_adjustments,
|
12
|
+
:adjustments => @order.line_item_adjustments,
|
14
13
|
:order => order,
|
15
14
|
:title => Spree.t(:line_item_adjustments)
|
16
15
|
} %>
|
17
16
|
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
18
|
-
:adjustments => @order.shipment_adjustments,
|
17
|
+
:adjustments => @order.shipment_adjustments,
|
19
18
|
:order => order,
|
20
19
|
:title => Spree.t(:shipment_adjustments)
|
21
20
|
} %>
|
22
21
|
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
23
|
-
:adjustments => @order.adjustments,
|
22
|
+
:adjustments => @order.adjustments,
|
24
23
|
:order => order,
|
25
24
|
:title => Spree.t(:order_adjustments)
|
26
25
|
} %>
|
@@ -37,8 +36,9 @@
|
|
37
36
|
var shipments = [];
|
38
37
|
|
39
38
|
<% @order.shipments.each do |shipment| %>
|
40
|
-
|
39
|
+
shipments.push(<%== shipment.to_json(:root => false, :include => [:inventory_units, :stock_location]) %>);
|
41
40
|
<% end %>
|
41
|
+
|
42
42
|
<%= render :partial => 'spree/admin/shared/update_order_state', :handlers => [:js] %>
|
43
43
|
<% end -%>
|
44
44
|
</div>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<div data-hook="admin_order_form_fields">
|
2
|
+
<% if @line_item.try(:errors).present? %>
|
3
|
+
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @line_item } %>
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
<%= render :partial => "spree/admin/orders/line_items", :locals => { :order => order } %>
|
7
|
+
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
8
|
+
:adjustments => @order.line_item_adjustments,
|
9
|
+
:order => order,
|
10
|
+
:title => Spree.t(:line_item_adjustments)
|
11
|
+
} %>
|
12
|
+
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
13
|
+
:adjustments => @order.shipment_adjustments,
|
14
|
+
:order => order,
|
15
|
+
:title => Spree.t(:shipment_adjustments)
|
16
|
+
} %>
|
17
|
+
<%= render :partial => "spree/admin/orders/adjustments", :locals => {
|
18
|
+
:adjustments => @order.adjustments,
|
19
|
+
:order => order,
|
20
|
+
:title => Spree.t(:order_adjustments)
|
21
|
+
} %>
|
22
|
+
|
23
|
+
<% if order.line_items.exists? %>
|
24
|
+
<fieldset class="no-border-bottom" id="order-total" data-hook="order_details_total">
|
25
|
+
<legend><%= Spree.t(:order_total) %></legend>
|
26
|
+
<span class="order-total"><%= order.display_total %></span>
|
27
|
+
</fieldset>
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
<%= javascript_tag do -%>
|
31
|
+
var order_number = '<%= @order.number %>';
|
32
|
+
var shipments = [];
|
33
|
+
|
34
|
+
<% @order.shipments.each do |shipment| %>
|
35
|
+
shipments.push(<%== shipment.to_json(:root => false, :include => [:inventory_units, :stock_location]) %>);
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
<%= render :partial => 'spree/admin/shared/update_order_state', :handlers => [:js] %>
|
39
|
+
<% end -%>
|
40
|
+
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
<tr class="show-tracking total">
|
101
101
|
<td colspan="5" class="tracking-value">
|
102
102
|
<% if shipment.tracking.present? %>
|
103
|
-
<strong><%= Spree.t(:tracking) %>:</strong> <%= shipment
|
103
|
+
<strong><%= Spree.t(:tracking) %>:</strong> <%= link_to_tracking(shipment, target: '_blank') %>
|
104
104
|
<% else %>
|
105
105
|
<%= Spree.t(:no_tracking_present) %>
|
106
106
|
<% end %>
|
@@ -23,12 +23,13 @@
|
|
23
23
|
<td class="item-total align-center"><%= line_item_shipment_price(item.line_item, item.quantity) %></td>
|
24
24
|
<% unless shipment.shipped? %>
|
25
25
|
<td class="cart-item-delete actions" data-hook="cart_item_delete">
|
26
|
-
<% if can?
|
26
|
+
<% if can? :update, item %>
|
27
27
|
<%= link_to '', '#', :class => 'save-item fa fa-ok no-text with-tip', :data => {'shipment-number' => shipment.number, 'variant-id' => item.variant.id, :action => 'save'}, :title => Spree.t('actions.save'), :style => 'display: none' %>
|
28
28
|
<%= link_to '', '#', :class => 'cancel-item fa fa-cancel no-text with-tip', :data => {:action => 'cancel'}, :title => Spree.t('actions.cancel'), :style => 'display: none' %>
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
<% if shipment.order.shipped_shipments.count == 0 %>
|
30
|
+
<%= link_to '', '#', :class => 'split-item icon_link fa fa-arrows-h no-text with-tip', :data => {:action => 'split', 'variant-id' => item.variant.id}, :title => Spree.t('split') %>
|
31
|
+
<%= link_to '', '#', :class => 'delete-item fa fa-trash no-text with-tip', :data => { 'shipment-number' => shipment.number, 'variant-id' => item.variant.id, :action => 'remove'}, :title => Spree.t('delete') %>
|
32
|
+
<% end %>
|
32
33
|
<% end %>
|
33
34
|
</td>
|
34
35
|
<% end %>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<% content_for :page_actions do %>
|
2
|
+
<% if can?(:fire, @order) %>
|
3
|
+
<li><%= event_links %></li>
|
4
|
+
<% end %>
|
5
|
+
<% if can?(:resend, @order) %>
|
6
|
+
<li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), :method => :post, :icon => 'email' %></li>
|
7
|
+
<% end %>
|
8
|
+
<% if can?(:admin, Spree::Order) %>
|
9
|
+
<li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li>
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Cart' } %>
|
14
|
+
|
15
|
+
<div data-hook="admin_order_edit_header">
|
16
|
+
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<% if @order.payments.exists? && @order.considered_risky? %>
|
20
|
+
<%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.order("created_at DESC").first %>
|
21
|
+
<% end %>
|
22
|
+
|
23
|
+
<%= render :partial => 'add_line_item' if can?(:update, @order) %>
|
24
|
+
|
25
|
+
<% if @order.line_items.empty? %>
|
26
|
+
<div class="no-objects-found">
|
27
|
+
<%= Spree.t(:your_order_is_empty_add_product)%>
|
28
|
+
</div>
|
29
|
+
<% end %>
|
30
|
+
|
31
|
+
<div data-hook="admin_order_edit_form">
|
32
|
+
<div id="order-form-wrapper">
|
33
|
+
<%= render :partial => 'line_items_edit_form', :locals => { :order => @order } %>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<% content_for :head do %>
|
38
|
+
<%= javascript_tag 'var expand_variants = true;' %>
|
39
|
+
<% end %>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<%= f.fields_for :ship_address do |sa_form| %>
|
52
52
|
<div class="field" style="position: absolute;margin-top: -15px;right: 0;">
|
53
53
|
<span data-hook="use_billing">
|
54
|
-
<%= check_box_tag 'order[use_billing]', '1', ((@order.bill_address.empty? && @order.ship_address.empty?) && @order.bill_address.same_as?(@order.ship_address)) %>
|
54
|
+
<%= check_box_tag 'order[use_billing]', '1', (!(@order.bill_address.empty? && @order.ship_address.empty?) && @order.bill_address.same_as?(@order.ship_address)) %>
|
55
55
|
<%= label_tag 'order[use_billing]', Spree.t(:use_billing_address) %>
|
56
56
|
</span>
|
57
57
|
</div>
|
@@ -10,14 +10,14 @@
|
|
10
10
|
<% end %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= render partial
|
13
|
+
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Shipments' } %>
|
14
14
|
|
15
15
|
<div data-hook="admin_order_edit_header">
|
16
16
|
<%= render partial: 'spree/shared/error_messages', locals: { target: @order } %>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<% if @order.payments.exists? && @order.considered_risky? %>
|
20
|
-
<%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.
|
20
|
+
<%= render 'spree/admin/orders/risk_analysis', latest_payment: @order.payments.order("created_at DESC").first %>
|
21
21
|
<% end %>
|
22
22
|
|
23
23
|
<%= render partial: 'add_product' if @order.shipment_state != 'shipped' && can?(:update, @order) %>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<%= search_form_for [:admin, @search] do |f| %>
|
18
18
|
<div class="field-block alpha four columns">
|
19
19
|
<div class="date-range-filter field">
|
20
|
-
<%= label_tag
|
20
|
+
<%= label_tag :q_created_at_gt, Spree.t(:date_range) %>
|
21
21
|
<div class="date-range-fields">
|
22
22
|
<%= f.text_field :created_at_gt, :class => 'datepicker datepicker-from', :value => params[:q][:created_at_gt], :placeholder => Spree.t(:start) %>
|
23
23
|
|
@@ -30,34 +30,34 @@
|
|
30
30
|
</div>
|
31
31
|
|
32
32
|
<div class="field">
|
33
|
-
<%= label_tag
|
33
|
+
<%= label_tag :q_state_eq, Spree.t(:status) %>
|
34
34
|
<%= f.select :state_eq, Spree::Order.state_machines[:state].states.collect {|s| [Spree.t("order_state.#{s.name}"), s.value]}, {:include_blank => true}, :class => 'select2' %>
|
35
35
|
</div>
|
36
36
|
|
37
37
|
<div class="field">
|
38
|
-
<%= label_tag
|
38
|
+
<%= label_tag :q_promotions_id_in, Spree.t(:promotion) %>
|
39
39
|
<%= f.select :promotions_id_in, Spree::Promotion.applied.pluck(:name, :id), {:include_blank => true}, :class => 'select2' %>
|
40
40
|
</div>
|
41
41
|
</div>
|
42
42
|
|
43
43
|
<div class="four columns">
|
44
44
|
<div class="field">
|
45
|
-
<%= label_tag
|
45
|
+
<%= label_tag :q_number_cont, Spree.t(:order_number, :number => '') %>
|
46
46
|
<%= f.text_field :number_cont %>
|
47
47
|
</div>
|
48
48
|
<div class="field">
|
49
|
-
<%= label_tag
|
49
|
+
<%= label_tag :q_email_cont, Spree.t(:email) %>
|
50
50
|
<%= f.text_field :email_cont %>
|
51
51
|
</div>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
<div class="four columns">
|
55
55
|
<div class="field">
|
56
|
-
<%= label_tag
|
56
|
+
<%= label_tag :q_bill_address_firstname_start, Spree.t(:first_name_begins_with) %>
|
57
57
|
<%= f.text_field :bill_address_firstname_start, :size => 25 %>
|
58
58
|
</div>
|
59
59
|
<div class="field">
|
60
|
-
<%= label_tag
|
60
|
+
<%= label_tag :q_bill_address_lastname_start, Spree.t(:last_name_begins_with) %>
|
61
61
|
<%= f.text_field :bill_address_lastname_start, :size => 25%>
|
62
62
|
</div>
|
63
63
|
</div>
|
@@ -132,13 +132,7 @@
|
|
132
132
|
<% if Spree::Order.checkout_step_names.include?(:delivery) %>
|
133
133
|
<td class="align-center"><span class="state <%= order.shipment_state %>"><%= Spree.t("shipment_states.#{order.shipment_state}") if order.shipment_state %></span></td>
|
134
134
|
<% end %>
|
135
|
-
<td>
|
136
|
-
<% if order.user %>
|
137
|
-
<%= link_to order.email, edit_admin_user_path(order.user) %>
|
138
|
-
<% else %>
|
139
|
-
<%= mail_to order.email %>
|
140
|
-
<% end %>
|
141
|
-
</td>
|
135
|
+
<td><%= mail_to order.email %></td>
|
142
136
|
<td class="align-center"><%= order.display_total.to_html %></td>
|
143
137
|
<td class='actions align-center' data-hook="admin_orders_index_row_actions">
|
144
138
|
<%= link_to_edit_url edit_admin_order_path(order), :title => "admin_edit_#{dom_id(order)}", :no_text => true %>
|
@@ -16,15 +16,15 @@
|
|
16
16
|
<% end %>
|
17
17
|
</div>
|
18
18
|
<div data-hook="environment" class="field">
|
19
|
-
<%= label_tag
|
19
|
+
<%= label_tag :payment_method_environment, Spree.t(:environment) %>
|
20
20
|
<%= collection_select(:payment_method, :environment, rails_environments, :to_s, :titleize, {}, {:id => 'gtwy-env', :class => 'select2 fullwidth'}) %>
|
21
21
|
</div>
|
22
22
|
<div data-hook="display" class="field">
|
23
|
-
<%= label_tag
|
23
|
+
<%= label_tag :payment_method_display_on, Spree.t(:display) %>
|
24
24
|
<%= select(:payment_method, :display_on, Spree::PaymentMethod::DISPLAY.collect { |display| [Spree.t(display), display == :both ? nil : display.to_s] }, {}, {:class => 'select2 fullwidth'}) %>
|
25
25
|
</div>
|
26
26
|
<div data-hook="auto_capture" class="field">
|
27
|
-
<%= label_tag
|
27
|
+
<%= label_tag :payment_method_auto_capture, Spree.t(:auto_capture) %>
|
28
28
|
<%= select(:payment_method, :auto_capture, [["#{Spree.t(:use_app_default)} (#{Spree::Config[:auto_capture]})", ''], [Spree.t(:say_yes), true], [Spree.t(:say_no), false]], {}, {:class => 'select2 fullwidth'}) %>
|
29
29
|
</div>
|
30
30
|
<div data-hook="active" class="field">
|
@@ -32,11 +32,11 @@
|
|
32
32
|
<ul>
|
33
33
|
<li>
|
34
34
|
<%= radio_button :payment_method, :active, true %>
|
35
|
-
<%= label_tag
|
35
|
+
<%= label_tag :payment_method_active_true, Spree.t(:say_yes) %>
|
36
36
|
</li>
|
37
37
|
<li>
|
38
38
|
<%= radio_button :payment_method, :active, false %>
|
39
|
-
<%= label_tag
|
39
|
+
<%= label_tag :payment_method_active_false, Spree.t(:say_no) %>
|
40
40
|
</li>
|
41
41
|
</ul>
|
42
42
|
</div>
|
@@ -44,11 +44,11 @@
|
|
44
44
|
|
45
45
|
<div class="omega eight columns">
|
46
46
|
<div data-hook="name" class="field">
|
47
|
-
<%= label_tag
|
47
|
+
<%= label_tag :payment_method_name, Spree.t(:name) %>
|
48
48
|
<%= text_field :payment_method, :name, :class => 'fullwidth' %>
|
49
49
|
</div>
|
50
50
|
<div data-hook="description" class="field">
|
51
|
-
<%= label_tag
|
51
|
+
<%= label_tag :payment_method_description, Spree.t(:description) %>
|
52
52
|
<%= text_area :payment_method, :description, {:cols => 60, :rows => 6, :class => 'fullwidth'} %>
|
53
53
|
</div>
|
54
54
|
</div>
|
@@ -1,23 +1,31 @@
|
|
1
1
|
<table class="index" id='payments' data-order-id='<%= @order.number %>'>
|
2
2
|
<thead>
|
3
3
|
<tr data-hook="payments_header">
|
4
|
+
<th><%= Spree.t(:identifier) %></th>
|
4
5
|
<th><%= "#{Spree.t('date')}/#{Spree.t('time')}" %></th>
|
5
6
|
<th><%= Spree.t(:amount) %></th>
|
6
7
|
<th><%= Spree.t(:payment_method) %></th>
|
8
|
+
<th><%= Spree.t(:transaction_id) %></th>
|
7
9
|
<th><%= Spree.t(:payment_state) %></th>
|
8
10
|
<th class="actions"></th>
|
9
11
|
</tr>
|
10
12
|
</thead>
|
11
13
|
<tbody>
|
12
14
|
<% payments.each do |payment| %>
|
13
|
-
<tr id="<%= dom_id(payment) %>" data-hook="payments_row" class="<%= cycle('odd', 'even')%>">
|
14
|
-
<td><%= link_to
|
15
|
+
<tr id="<%= dom_id(payment) %>" data-hook="payments_row" class="<%= cycle('odd', 'even', name: 'payment_table_cycle')%>">
|
16
|
+
<td><%= link_to payment.identifier, spree.admin_order_payment_path(@order, payment) %></td>
|
17
|
+
<td><%= pretty_time(payment.created_at) %></td>
|
15
18
|
<td class="align-center amount"><%= payment.display_amount.to_html %></td>
|
16
19
|
<td class="align-center"><%= payment_method_name(payment) %></td>
|
20
|
+
<td class="align-center"><%= payment.transaction_id %></td>
|
17
21
|
<td class="align-center"> <span class="state <%= payment.state %>"><%= Spree.t(payment.state, :scope => :payment_states, :default => payment.state.capitalize) %></span></td>
|
18
22
|
<td class="actions">
|
19
23
|
<% payment.actions.each do |action| %>
|
20
|
-
|
24
|
+
<% if action == 'credit' %>
|
25
|
+
<%= link_to_with_icon 'reply', Spree.t(:refund), new_admin_order_payment_refund_path(@order, payment), no_text: true %>
|
26
|
+
<% else %>
|
27
|
+
<%= link_to_with_icon action, Spree.t(action), fire_admin_order_payment_path(@order, payment, :e => action), :method => :put, :no_text => true, :data => {:action => action} %>
|
28
|
+
<% end %>
|
21
29
|
<% end %>
|
22
30
|
</td>
|
23
31
|
</tr>
|
@@ -18,7 +18,19 @@
|
|
18
18
|
<% end %>
|
19
19
|
|
20
20
|
<% if @payments.any? %>
|
21
|
-
|
21
|
+
|
22
|
+
<fieldset data-hook="payment_list" class="no-border-bottom">
|
23
|
+
<legend align="center"><%= Spree.t(:payments) %></legend>
|
24
|
+
<%= render :partial => 'list', :locals => { :payments => @payments } %>
|
25
|
+
</fieldset>
|
26
|
+
|
27
|
+
<% if @refunds.any? %>
|
28
|
+
<fieldset data-hook="payment_list" class="no-border-bottom">
|
29
|
+
<legend align="center"><%= Spree.t(:refunds) %></legend>
|
30
|
+
<%= render :partial => 'spree/admin/shared/refunds', :locals => { :refunds => @refunds, show_actions: true } %>
|
31
|
+
</fieldset>
|
32
|
+
<% end %>
|
33
|
+
|
22
34
|
<% else %>
|
23
35
|
<div class="alpha twelve columns no-objects-found"><%= Spree.t(:order_has_no_payments) %></div>
|
24
36
|
<% end %>
|
@@ -1,19 +1,17 @@
|
|
1
1
|
<tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property">
|
2
2
|
<td class="no-border">
|
3
|
-
|
4
|
-
|
5
|
-
<%= f.hidden_field :id %>
|
6
|
-
<% end %>
|
3
|
+
<span class="handle"></span>
|
4
|
+
<%= f.hidden_field :id %>
|
7
5
|
</td>
|
8
6
|
<td class='property_name'>
|
9
|
-
<%= f.text_field :property_name, class
|
7
|
+
<%= f.text_field :property_name, :class => 'autocomplete' %>
|
10
8
|
</td>
|
11
9
|
<td class='value'>
|
12
10
|
<%= f.text_field :value %>
|
13
11
|
</td>
|
14
12
|
<td class="actions">
|
15
13
|
<% if f.object.persisted? %>
|
16
|
-
<%= link_to_delete f.object, no_text
|
14
|
+
<%= link_to_delete f.object, :no_text => true %>
|
17
15
|
<% end %>
|
18
16
|
</td>
|
19
17
|
</tr>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div data-hook="admin_product_form_name">
|
5
5
|
<%= f.field_container :name do %>
|
6
6
|
<%= f.label :name, raw(Spree.t(:name) + content_tag(:span, ' *', :class => 'required')) %>
|
7
|
-
<%= f.text_field :name, :class => 'fullwidth title'
|
7
|
+
<%= f.text_field :name, :class => 'fullwidth title' %>
|
8
8
|
<%= f.error_message_on :name %>
|
9
9
|
<% end %>
|
10
10
|
</div>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<div data-hook="admin_product_form_slug">
|
13
13
|
<%= f.field_container :slug do %>
|
14
14
|
<%= f.label :slug, raw(Spree.t(:slug) + content_tag(:span, ' *', :class => "required")) %>
|
15
|
-
<%= f.text_field :slug, :class => 'fullwidth title'
|
15
|
+
<%= f.text_field :slug, :class => 'fullwidth title' %>
|
16
16
|
<%= f.error_message_on :slug %>
|
17
17
|
<% end %>
|
18
18
|
</div>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<div data-hook="admin_product_form_description">
|
21
21
|
<%= f.field_container :description do %>
|
22
22
|
<%= f.label :description, Spree.t(:description) %>
|
23
|
-
<%= f.text_area :description, {:rows => "#{unless @product.has_variants? then '
|
23
|
+
<%= f.text_area :description, {:rows => "#{unless @product.has_variants? then '22' else '15' end}", :class => 'fullwidth'} %>
|
24
24
|
<%= f.error_message_on :description %>
|
25
25
|
<% end %>
|
26
26
|
</div>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<div data-hook="admin_product_form_price">
|
31
31
|
<%= f.field_container :price do %>
|
32
32
|
<%= f.label :price, raw(Spree.t(:master_price) + content_tag(:span, ' *', :class => "required")) %>
|
33
|
-
<%= f.text_field :price, :value => number_to_currency(@product.price, :unit => '')
|
33
|
+
<%= f.text_field :price, :value => number_to_currency(@product.price, :unit => '') %>
|
34
34
|
<%= f.error_message_on :price %>
|
35
35
|
<% end %>
|
36
36
|
</div>
|
@@ -42,7 +42,6 @@
|
|
42
42
|
<%= f.error_message_on :cost_price %>
|
43
43
|
<% end %>
|
44
44
|
</div>
|
45
|
-
|
46
45
|
<div data-hook="admin_product_form_cost_currency" class="omega two columns">
|
47
46
|
<%= f.field_container :cost_currency do %>
|
48
47
|
<%= f.label :cost_currency, Spree.t(:cost_currency) %>
|
@@ -61,6 +60,14 @@
|
|
61
60
|
<% end %>
|
62
61
|
</div>
|
63
62
|
|
63
|
+
<div data-hook="admin_product_form_promotionable">
|
64
|
+
<%= f.field_container :promotionable do %>
|
65
|
+
<%= f.label :promotionable do %>
|
66
|
+
<%= f.check_box :promotionable %> <%= Spree.t(:promotionable) %>
|
67
|
+
<% end %>
|
68
|
+
<% end %>
|
69
|
+
</div>
|
70
|
+
|
64
71
|
<% if @product.has_variants? %>
|
65
72
|
<div data-hook="admin_product_form_multiple_variants">
|
66
73
|
<%= f.label :skus, Spree.t(:skus) %>
|
@@ -77,7 +84,7 @@
|
|
77
84
|
</span>
|
78
85
|
<div class="info-actions">
|
79
86
|
<% if can?(:admin, Spree::Variant) %>
|
80
|
-
<%= link_to_with_icon 'th-large', Spree.t(:manage_variants),
|
87
|
+
<%= link_to_with_icon 'th-large', Spree.t(:manage_variants), admin_product_variants_url(@product) %>
|
81
88
|
<% end %>
|
82
89
|
</div>
|
83
90
|
</div>
|
@@ -143,6 +150,13 @@
|
|
143
150
|
</div>
|
144
151
|
|
145
152
|
<div data-hook="admin_product_form_meta" class="alpha omega twelve columns">
|
153
|
+
<div data-hook="admin_product_form_meta_title">
|
154
|
+
<%= f.field_container :meta_title do %>
|
155
|
+
<%= f.label :meta_title, Spree.t(:meta_title) %>
|
156
|
+
<%= f.text_field :meta_title, :class => 'fullwidth' %>
|
157
|
+
<% end %>
|
158
|
+
</div>
|
159
|
+
|
146
160
|
<div data-hook="admin_product_form_meta_keywords">
|
147
161
|
<%= f.field_container :meta_keywords do %>
|
148
162
|
<%= f.label :meta_keywords, Spree.t(:meta_keywords) %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<%= f.field_container :name do %>
|
12
12
|
<%= f.label :name, Spree.t(:name) %> <span class="required">*</span><br />
|
13
|
-
<%= f.text_field :name, :class => 'fullwidth title'
|
13
|
+
<%= f.text_field :name, :class => 'fullwidth title' %>
|
14
14
|
<%= f.error_message_on :name %>
|
15
15
|
<% end %>
|
16
16
|
|
@@ -35,7 +35,7 @@
|
|
35
35
|
<div data-hook="new_product_price" class="four columns">
|
36
36
|
<%= f.field_container :price do %>
|
37
37
|
<%= f.label :price, Spree.t(:master_price) %> <span class="required">*</span><br />
|
38
|
-
<%= f.text_field :price, :value => number_to_currency(@product.price, :unit => ''), :class => 'fullwidth'
|
38
|
+
<%= f.text_field :price, :value => number_to_currency(@product.price, :unit => ''), :class => 'fullwidth' %>
|
39
39
|
<%= f.error_message_on :price %>
|
40
40
|
<% end %>
|
41
41
|
</div>
|
@@ -54,7 +54,7 @@
|
|
54
54
|
<div data-hook="new_product_shipping_category" class="alpha four columns">
|
55
55
|
<%= f.field_container :shipping_category do %>
|
56
56
|
<%= f.label :shipping_category_id, Spree.t(:shipping_categories) %><span class="required">*</span><br />
|
57
|
-
<%= f.collection_select(:shipping_category_id, @shipping_categories, :id, :name, { :include_blank => Spree.t('match_choices.none') }, { :class => 'select2 fullwidth'
|
57
|
+
<%= f.collection_select(:shipping_category_id, @shipping_categories, :id, :name, { :include_blank => Spree.t('match_choices.none') }, { :class => 'select2 fullwidth' }) %>
|
58
58
|
<%= f.error_message_on :shipping_category_id %>
|
59
59
|
<% end %>
|
60
60
|
</div>
|
@@ -37,7 +37,7 @@
|
|
37
37
|
<%= form_tag admin_product_variants_including_master_path(@product, variant, format: :js), method: :put, class: 'toggle_variant_track_inventory' do %>
|
38
38
|
<%= check_box_tag 'track_inventory', 1, variant.track_inventory?,
|
39
39
|
class: 'track_inventory_checkbox' %>
|
40
|
-
<%= Spree.t(:track_inventory) %>
|
40
|
+
<%= label_tag :track_inventory, Spree.t(:track_inventory) %>
|
41
41
|
<%= hidden_field_tag 'variant[track_inventory]', variant.track_inventory?,
|
42
42
|
class: 'variant_track_inventory',
|
43
43
|
id: "variant_track_inventory_#{variant.id}" %>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
|
2
|
+
|
3
|
+
<div class='row'>
|
4
|
+
<div class='alpha six columns'>
|
5
|
+
<%= f.field_container :name do %>
|
6
|
+
<%= f.label :name %>
|
7
|
+
<%= f.text_field :name, :class => 'fullwidth' %>
|
8
|
+
<% end %>
|
9
|
+
</div>
|
10
|
+
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<% content_for :page_title do %>
|
2
|
+
<%= Spree.t(:editing_promotion_category) %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<% content_for :page_actions do %>
|
6
|
+
<li>
|
7
|
+
<%= button_link_to Spree.t(:back_to_promotion_categories_list), spree.admin_promotion_categories_path, :icon => 'arrow-left' %>
|
8
|
+
</li>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<%= form_for @promotion_category, :url => object_url, :method => :put do |f| %>
|
12
|
+
<fieldset class="no-border-top">
|
13
|
+
<%= render :partial => 'form', :locals => { :f => f } %>
|
14
|
+
<%= render :partial => 'spree/admin/shared/edit_resource_links' %>
|
15
|
+
</fieldset>
|
16
|
+
<% end %>
|
17
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<% content_for :page_title do %>
|
2
|
+
<%= Spree::PromotionCategory.model_name.human(count: :many) %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<% content_for :page_actions do %>
|
6
|
+
<li>
|
7
|
+
<%= button_link_to Spree.t(:new_promotion_category), spree.new_admin_promotion_category_path, :icon => 'plus' %>
|
8
|
+
</li>
|
9
|
+
<li>
|
10
|
+
<%= button_link_to Spree.t(:back_to_promotions_list), spree.admin_promotions_path, :icon => 'arrow-left' %>
|
11
|
+
</li>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<table>
|
15
|
+
<colgroup>
|
16
|
+
<col style="width: 85%">
|
17
|
+
<col style="width: 15%">
|
18
|
+
</colgroup>
|
19
|
+
<thead>
|
20
|
+
<th><%= Spree::PromotionCategory.human_attribute_name :name %></th>
|
21
|
+
<th class='actions'></th>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<% @promotion_categories.each do |promotion_category| %>
|
25
|
+
<tr>
|
26
|
+
<td><%= promotion_category.name %></td>
|
27
|
+
<td class="actions">
|
28
|
+
<%= link_to_edit promotion_category, :no_text => true %>
|
29
|
+
<%= link_to_delete promotion_category, :no_text => true %>
|
30
|
+
</td>
|
31
|
+
</tr>
|
32
|
+
<% end %>
|
33
|
+
</tbody>
|
34
|
+
</table>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<% content_for :page_title do %>
|
2
|
+
<%= Spree.t(:new_promotion_category) %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<% content_for :page_actions do %>
|
6
|
+
<li>
|
7
|
+
<%= button_link_to Spree.t(:back_to_promotion_categories_list), spree.admin_promotion_categories_path, :icon => 'arrow-left' %>
|
8
|
+
</li>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<%= form_for :promotion_category, :url => collection_url do |f| %>
|
12
|
+
<fieldset class="no-border-top">
|
13
|
+
<%= render :partial => 'form', :locals => { :f => f } %>
|
14
|
+
<%= render :partial => 'spree/admin/shared/new_resource_links' %>
|
15
|
+
</fieldset>
|
16
|
+
<% end %>
|