solidus_backend 1.3.2 → 1.4.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +38 -0
- data/app/assets/javascripts/spree/backend/components/tooltips.js +2 -0
- data/app/assets/javascripts/spree/backend/product_picker.js +2 -2
- data/app/assets/javascripts/spree/backend/routes.js +0 -1
- data/app/assets/javascripts/spree/backend/shipments.js +147 -118
- data/app/assets/javascripts/spree/backend/taxon_autocomplete.js +16 -14
- data/app/assets/javascripts/spree/backend/templates/orders/customer_details/autocomplete.hbs +1 -1
- data/app/assets/javascripts/spree/backend/templates/variants/autocomplete.hbs.erb +1 -1
- data/app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs +1 -1
- data/app/assets/javascripts/spree/backend/templates/variants/split.hbs +25 -27
- data/app/assets/javascripts/spree/backend/user_picker.js +14 -8
- data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +3 -3
- data/app/assets/stylesheets/spree/backend/components/_breadcrumb.scss +4 -0
- data/app/assets/stylesheets/spree/backend/components/_date-picker.scss +0 -1
- data/app/assets/stylesheets/spree/backend/components/_hint.scss +3 -0
- data/app/assets/stylesheets/spree/backend/components/_navigation.scss +0 -1
- data/app/assets/stylesheets/spree/backend/components/_progress.scss +5 -2
- data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +14 -5
- data/app/assets/stylesheets/spree/backend/components/_states.scss +1 -2
- data/app/assets/stylesheets/spree/backend/globals/_mixins.css +2 -0
- data/app/assets/stylesheets/spree/backend/globals/mixins/_line_through.scss +22 -0
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +12 -3
- data/app/assets/stylesheets/spree/backend/sections/_products.scss +25 -7
- data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +0 -1
- data/app/assets/stylesheets/spree/backend/sections/_transfer_items.scss +0 -1
- data/app/assets/stylesheets/spree/backend/shared/_forms.scss +4 -6
- data/app/assets/stylesheets/spree/backend/shared/_header.scss +5 -2
- data/app/assets/stylesheets/spree/backend/shared/_layout.scss +36 -3
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +1 -3
- data/app/assets/stylesheets/spree/backend/shared/_typography.scss +0 -2
- data/app/assets/stylesheets/spree/backend/spree_admin.scss +3 -1
- data/app/controllers/spree/admin/cancellations_controller.rb +1 -1
- data/app/controllers/spree/admin/general_settings_controller.rb +0 -6
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +7 -0
- data/app/controllers/spree/admin/orders_controller.rb +1 -1
- data/app/controllers/spree/admin/payment_methods_controller.rb +8 -3
- data/app/controllers/spree/admin/payments_controller.rb +12 -5
- data/app/controllers/spree/admin/products_controller.rb +1 -1
- data/app/controllers/spree/admin/refunds_controller.rb +1 -1
- data/app/controllers/spree/admin/reimbursements_controller.rb +1 -1
- data/app/controllers/spree/admin/root_controller.rb +1 -1
- data/app/controllers/spree/admin/stock_items_controller.rb +0 -8
- data/app/controllers/spree/admin/stock_transfers_controller.rb +6 -6
- data/app/controllers/spree/admin/users_controller.rb +7 -3
- data/app/helpers/spree/admin/base_helper.rb +11 -0
- data/app/helpers/spree/admin/navigation_helper.rb +46 -3
- data/app/helpers/spree/admin/orders_helper.rb +0 -1
- data/app/helpers/spree/admin/stock_locations_helper.rb +1 -5
- data/app/models/spree/backend_configuration.rb +100 -0
- data/app/views/spree/admin/adjustment_reasons/edit.html.erb +4 -7
- data/app/views/spree/admin/adjustment_reasons/index.html.erb +4 -4
- data/app/views/spree/admin/adjustment_reasons/new.html.erb +4 -4
- data/app/views/spree/admin/adjustments/edit.html.erb +4 -6
- data/app/views/spree/admin/adjustments/index.html.erb +3 -6
- data/app/views/spree/admin/adjustments/new.html.erb +5 -6
- data/app/views/spree/admin/cancellations/index.html.erb +4 -3
- data/app/views/spree/admin/countries/edit.html.erb +4 -6
- data/app/views/spree/admin/countries/index.html.erb +4 -4
- data/app/views/spree/admin/countries/new.html.erb +4 -4
- data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +1 -1
- data/app/views/spree/admin/customer_returns/edit.html.erb +4 -6
- data/app/views/spree/admin/customer_returns/index.html.erb +2 -5
- data/app/views/spree/admin/customer_returns/new.html.erb +5 -6
- data/app/views/spree/admin/general_settings/edit.html.erb +4 -28
- data/app/views/spree/admin/images/edit.html.erb +6 -2
- data/app/views/spree/admin/images/index.html.erb +3 -0
- data/app/views/spree/admin/images/new.html.erb +3 -3
- data/app/views/spree/admin/log_entries/index.html.erb +4 -8
- data/app/views/spree/admin/option_types/edit.html.erb +7 -9
- data/app/views/spree/admin/option_types/index.html.erb +4 -4
- data/app/views/spree/admin/orders/_shipment.html.erb +4 -1
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +4 -1
- data/app/views/spree/admin/orders/cart.html.erb +4 -8
- data/app/views/spree/admin/orders/confirm.html.erb +3 -4
- data/app/views/spree/admin/orders/confirm/_payments.html.erb +1 -1
- data/app/views/spree/admin/orders/confirm_advance.html.erb +3 -4
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
- data/app/views/spree/admin/orders/customer_details/edit.html.erb +2 -4
- data/app/views/spree/admin/orders/customer_details/show.html.erb +3 -5
- data/app/views/spree/admin/orders/edit.html.erb +1 -8
- data/app/views/spree/admin/orders/index.html.erb +11 -5
- data/app/views/spree/admin/payment_methods/edit.html.erb +5 -7
- data/app/views/spree/admin/payment_methods/index.html.erb +6 -5
- data/app/views/spree/admin/payment_methods/new.html.erb +6 -7
- data/app/views/spree/admin/payments/_capture_events.html.erb +1 -1
- data/app/views/spree/admin/payments/credit.html.erb +3 -3
- data/app/views/spree/admin/payments/index.html.erb +4 -7
- data/app/views/spree/admin/payments/new.html.erb +4 -5
- data/app/views/spree/admin/payments/show.html.erb +4 -7
- data/app/views/spree/admin/prices/_form.html.erb +1 -0
- data/app/views/spree/admin/prices/index.html.erb +2 -2
- data/app/views/spree/admin/product_properties/index.html.erb +3 -1
- data/app/views/spree/admin/products/_form.html.erb +11 -18
- data/app/views/spree/admin/products/_properties_form.erb +1 -1
- data/app/views/spree/admin/products/edit.html.erb +3 -2
- data/app/views/spree/admin/products/index.html.erb +19 -28
- data/app/views/spree/admin/products/new.html.erb +4 -2
- data/app/views/spree/admin/promotion_categories/edit.html.erb +4 -3
- data/app/views/spree/admin/promotion_categories/index.html.erb +4 -4
- data/app/views/spree/admin/promotion_categories/new.html.erb +4 -3
- data/app/views/spree/admin/promotion_rules/create.js.erb +1 -1
- data/app/views/spree/admin/promotions/_actions.html.erb +3 -3
- data/app/views/spree/admin/promotions/_rules.html.erb +2 -2
- data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +1 -1
- data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +1 -1
- data/app/views/spree/admin/promotions/edit.html.erb +4 -5
- data/app/views/spree/admin/promotions/index.html.erb +3 -5
- data/app/views/spree/admin/promotions/new.html.erb +3 -3
- data/app/views/spree/admin/promotions/rules/_option_value.html.erb +2 -2
- data/app/views/spree/admin/properties/edit.html.erb +3 -6
- data/app/views/spree/admin/properties/index.html.erb +5 -5
- data/app/views/spree/admin/prototypes/_form.html.erb +3 -3
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +1 -1
- data/app/views/spree/admin/prototypes/edit.html.erb +3 -6
- data/app/views/spree/admin/prototypes/index.html.erb +4 -4
- data/app/views/spree/admin/prototypes/show.html.erb +2 -2
- data/app/views/spree/admin/refund_reasons/edit.html.erb +4 -4
- data/app/views/spree/admin/refund_reasons/index.html.erb +5 -4
- data/app/views/spree/admin/refund_reasons/new.html.erb +5 -4
- data/app/views/spree/admin/refunds/edit.html.erb +5 -6
- data/app/views/spree/admin/refunds/new.html.erb +6 -6
- data/app/views/spree/admin/reimbursement_types/index.html.erb +4 -3
- data/app/views/spree/admin/reimbursements/edit.html.erb +5 -6
- data/app/views/spree/admin/reimbursements/index.html.erb +2 -4
- data/app/views/spree/admin/reimbursements/show.html.erb +3 -4
- data/app/views/spree/admin/reports/index.html.erb +2 -3
- data/app/views/spree/admin/reports/sales_total.html.erb +2 -4
- data/app/views/spree/admin/return_authorizations/edit.html.erb +15 -16
- data/app/views/spree/admin/return_authorizations/index.html.erb +3 -5
- data/app/views/spree/admin/return_authorizations/new.html.erb +5 -6
- data/app/views/spree/admin/return_reasons/edit.html.erb +3 -2
- data/app/views/spree/admin/return_reasons/index.html.erb +3 -1
- data/app/views/spree/admin/return_reasons/new.html.erb +4 -2
- data/app/views/spree/admin/shared/_areas_tabs.html.erb +3 -3
- data/app/views/spree/admin/shared/_configuration_menu.html.erb +2 -2
- data/app/views/spree/admin/shared/_edit_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_head.html.erb +1 -8
- data/app/views/spree/admin/shared/_header.html.erb +8 -12
- data/app/views/spree/admin/shared/_new_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_no_objects_found.html.erb +1 -1
- data/app/views/spree/admin/shared/_order_submenu.html.erb +10 -10
- data/app/views/spree/admin/shared/_order_summary.html.erb +1 -1
- data/app/views/spree/admin/shared/_order_tabs.html.erb +3 -3
- data/app/views/spree/admin/shared/_payments_tabs.html.erb +1 -1
- data/app/views/spree/admin/shared/_product_sub_menu.html.erb +2 -2
- data/app/views/spree/admin/shared/_product_tabs.html.erb +8 -9
- data/app/views/spree/admin/shared/_report_criteria.html.erb +2 -2
- data/app/views/spree/admin/shared/_report_order_criteria.html.erb +2 -2
- data/app/views/spree/admin/shared/_settings_checkout_tabs.html.erb +4 -4
- data/app/views/spree/admin/shared/_settings_sub_menu.html.erb +5 -5
- data/app/views/spree/admin/shared/_shipping_tabs.html.erb +4 -3
- data/app/views/spree/admin/shared/_sidebar.html.erb +1 -1
- data/app/views/spree/admin/shared/_tabs.html.erb +12 -37
- data/app/views/spree/admin/shared/_taxes_tabs.html.erb +2 -2
- data/app/views/spree/admin/shared/_variant_search.html.erb +1 -1
- data/app/views/spree/admin/shared/named_types/_edit.html.erb +5 -5
- data/app/views/spree/admin/shared/named_types/_index.html.erb +5 -4
- data/app/views/spree/admin/shared/named_types/_new.html.erb +5 -4
- data/app/views/spree/admin/shipping_categories/edit.html.erb +5 -6
- data/app/views/spree/admin/shipping_categories/index.html.erb +5 -4
- data/app/views/spree/admin/shipping_categories/new.html.erb +5 -6
- data/app/views/spree/admin/shipping_methods/_form.html.erb +2 -2
- data/app/views/spree/admin/shipping_methods/edit.html.erb +5 -6
- data/app/views/spree/admin/shipping_methods/index.html.erb +5 -5
- data/app/views/spree/admin/shipping_methods/new.html.erb +5 -6
- data/app/views/spree/admin/states/edit.html.erb +5 -6
- data/app/views/spree/admin/states/index.html.erb +5 -4
- data/app/views/spree/admin/states/new.html.erb +5 -3
- data/app/views/spree/admin/stock_items/index.html.erb +4 -7
- data/app/views/spree/admin/stock_locations/_transfer_stock_form.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/edit.html.erb +5 -5
- data/app/views/spree/admin/stock_locations/index.html.erb +16 -9
- data/app/views/spree/admin/stock_locations/new.html.erb +5 -4
- data/app/views/spree/admin/stock_movements/index.html.erb +3 -4
- data/app/views/spree/admin/stock_movements/new.html.erb +2 -3
- data/app/views/spree/admin/stock_transfers/_location.html.erb +7 -0
- data/app/views/spree/admin/stock_transfers/_transfer_item_table.html.erb +1 -1
- data/app/views/spree/admin/stock_transfers/edit.html.erb +5 -6
- data/app/views/spree/admin/stock_transfers/index.html.erb +5 -5
- data/app/views/spree/admin/stock_transfers/new.html.erb +6 -8
- data/app/views/spree/admin/stock_transfers/receive.html.erb +4 -12
- data/app/views/spree/admin/stock_transfers/show.html.erb +6 -12
- data/app/views/spree/admin/stock_transfers/tracking_info.html.erb +5 -13
- data/app/views/spree/admin/store_credits/edit_amount.html.erb +6 -4
- data/app/views/spree/admin/store_credits/edit_validity.html.erb +8 -6
- data/app/views/spree/admin/store_credits/index.html.erb +5 -5
- data/app/views/spree/admin/store_credits/new.html.erb +5 -4
- data/app/views/spree/admin/store_credits/show.html.erb +5 -4
- data/app/views/spree/admin/style_guide/topics/typography/_icons.html.erb +2 -2
- data/app/views/spree/admin/tax_categories/edit.html.erb +5 -4
- data/app/views/spree/admin/tax_categories/index.html.erb +5 -4
- data/app/views/spree/admin/tax_categories/new.html.erb +5 -4
- data/app/views/spree/admin/tax_rates/edit.html.erb +5 -6
- data/app/views/spree/admin/tax_rates/index.html.erb +5 -4
- data/app/views/spree/admin/tax_rates/new.html.erb +5 -6
- data/app/views/spree/admin/taxonomies/edit.erb +7 -9
- data/app/views/spree/admin/taxonomies/index.html.erb +4 -4
- data/app/views/spree/admin/taxonomies/new.html.erb +5 -7
- data/app/views/spree/admin/taxons/edit.html.erb +5 -6
- data/app/views/spree/admin/taxons/index.html.erb +2 -3
- data/app/views/spree/admin/trackers/edit.html.erb +5 -6
- data/app/views/spree/admin/trackers/index.html.erb +4 -4
- data/app/views/spree/admin/trackers/new.html.erb +4 -6
- data/app/views/spree/admin/users/_form.html.erb +2 -2
- data/app/views/spree/admin/users/_tabs.html.erb +5 -5
- data/app/views/spree/admin/users/_user_page_actions.html.erb +1 -4
- data/app/views/spree/admin/users/addresses.html.erb +5 -4
- data/app/views/spree/admin/users/edit.html.erb +6 -6
- data/app/views/spree/admin/users/index.html.erb +4 -5
- data/app/views/spree/admin/users/items.html.erb +4 -3
- data/app/views/spree/admin/users/new.html.erb +2 -9
- data/app/views/spree/admin/users/orders.html.erb +4 -3
- data/app/views/spree/admin/variants/_form.html.erb +1 -0
- data/app/views/spree/admin/variants/edit.html.erb +4 -3
- data/app/views/spree/admin/variants/index.html.erb +10 -8
- data/app/views/spree/admin/variants/new.html.erb +5 -0
- data/app/views/spree/admin/zones/_country_members.html.erb +2 -2
- data/app/views/spree/admin/zones/_state_members.html.erb +2 -2
- data/app/views/spree/admin/zones/edit.html.erb +5 -6
- data/app/views/spree/admin/zones/index.html.erb +5 -4
- data/app/views/spree/admin/zones/new.html.erb +6 -7
- data/app/views/spree/layouts/admin.html.erb +28 -15
- data/config/initializers/form_builder.rb +6 -0
- data/config/routes.rb +2 -6
- data/spec/controllers/spree/admin/cancellations_controller_spec.rb +3 -3
- data/spec/controllers/spree/admin/customer_returns_controller_spec.rb +4 -4
- data/spec/controllers/spree/admin/missing_products_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/orders/customer_details_controller_spec.rb +5 -5
- data/spec/controllers/spree/admin/orders_controller_spec.rb +28 -28
- data/spec/controllers/spree/admin/payment_methods_controller_spec.rb +5 -5
- data/spec/controllers/spree/admin/payments_controller_spec.rb +7 -7
- data/spec/controllers/spree/admin/prices_controller_spec.rb +2 -2
- data/spec/controllers/spree/admin/product_properties_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/products_controller_spec.rb +6 -6
- data/spec/controllers/spree/admin/promotion_actions_controller_spec.rb +2 -2
- data/spec/controllers/spree/admin/promotion_codes_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/promotion_rules_controller_spec.rb +2 -2
- data/spec/controllers/spree/admin/promotions_controller_spec.rb +7 -7
- data/spec/controllers/spree/admin/refunds_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/reimbursements_controller_spec.rb +5 -5
- data/spec/controllers/spree/admin/reports_controller_spec.rb +2 -2
- data/spec/controllers/spree/admin/resource_controller_spec.rb +6 -6
- data/spec/controllers/spree/admin/return_authorizations_controller_spec.rb +11 -11
- data/spec/controllers/spree/admin/return_items_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/search_controller_spec.rb +2 -2
- data/spec/controllers/spree/admin/shipping_methods_controller_spec.rb +1 -1
- data/spec/controllers/spree/admin/stock_items_controller_spec.rb +3 -3
- data/spec/controllers/spree/admin/stock_locations_controller_spec.rb +3 -3
- data/spec/controllers/spree/admin/stock_transfers_controller_spec.rb +10 -10
- data/spec/controllers/spree/admin/store_credits_controller_spec.rb +10 -10
- data/spec/controllers/spree/admin/users_controller_spec.rb +139 -141
- data/spec/controllers/spree/admin/variants_controller_spec.rb +2 -2
- data/spec/features/admin/configuration/general_settings_spec.rb +7 -16
- data/spec/features/admin/configuration/payment_methods_spec.rb +7 -7
- data/spec/features/admin/configuration/stock_locations_spec.rb +1 -1
- data/spec/features/admin/configuration/tax_categories_spec.rb +1 -1
- data/spec/features/admin/configuration/zones_spec.rb +1 -1
- data/spec/features/admin/homepage_spec.rb +2 -2
- data/spec/features/admin/orders/adjustments_spec.rb +1 -1
- data/spec/features/admin/orders/cancelling_inventory_spec.rb +8 -8
- data/spec/features/admin/orders/customer_details_spec.rb +20 -5
- data/spec/features/admin/orders/listing_spec.rb +97 -70
- data/spec/features/admin/orders/new_order_spec.rb +35 -6
- data/spec/features/admin/orders/order_details_spec.rb +37 -58
- data/spec/features/admin/orders/payments_spec.rb +57 -4
- data/spec/features/admin/orders/return_authorizations_spec.rb +25 -0
- data/spec/features/admin/orders/shipments_spec.rb +5 -5
- data/spec/features/admin/products/edit/products_spec.rb +1 -1
- data/spec/features/admin/products/edit/taxons_spec.rb +5 -5
- data/spec/features/admin/products/edit/variants_spec.rb +1 -1
- data/spec/features/admin/products/option_types_spec.rb +2 -2
- data/spec/features/admin/products/products_spec.rb +6 -6
- data/spec/features/admin/products/properties_spec.rb +6 -6
- data/spec/features/admin/products/prototypes_spec.rb +1 -1
- data/spec/features/admin/products/stock_management_spec.rb +5 -5
- data/spec/features/admin/promotion_adjustments_spec.rb +8 -8
- data/spec/features/admin/promotions/option_value_rule_spec.rb +4 -4
- data/spec/features/admin/promotions/product_rule_spec.rb +33 -0
- data/spec/features/admin/promotions/tiered_calculator_spec.rb +2 -2
- data/spec/features/admin/promotions/user_rule_spec.rb +15 -0
- data/spec/features/admin/reports_spec.rb +1 -1
- data/spec/features/admin/users_spec.rb +27 -2
- data/spec/helpers/admin/base_helper_spec.rb +30 -0
- data/spec/helpers/admin/navigation_helper_spec.rb +40 -2
- data/spec/spec_helper.rb +10 -8
- data/spec/support/feature/order_feature_helper.rb +17 -0
- metadata +18 -11
- data/app/assets/javascripts/spree/backend/general_settings.js.coffee +0 -13
- data/spec/controllers/spree/admin/general_settings_controller_spec.rb +0 -41
@@ -1,3 +1,6 @@
|
|
1
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Shipment)) %>
|
2
|
+
|
3
|
+
|
1
4
|
<% manifest_items = Spree::ShippingManifest.new(inventory_units: shipment.inventory_units.where(carton_id: nil)).items %>
|
2
5
|
|
3
6
|
<div id="<%= "shipment_#{shipment.id}" %>" class="js-shipment-edit" data-hook="admin_shipment_form">
|
@@ -85,7 +88,7 @@
|
|
85
88
|
<tr class="edit-tracking hidden total">
|
86
89
|
<td colspan="5">
|
87
90
|
<label><%= Spree::Shipment.human_attribute_name(:tracking) %>:</label>
|
88
|
-
<%= text_field_tag :tracking, shipment.tracking %>
|
91
|
+
<%= text_field_tag :tracking, shipment.tracking, id: nil %>
|
89
92
|
</td>
|
90
93
|
<td class="actions">
|
91
94
|
<% if can? :update, shipment %>
|
@@ -1,5 +1,8 @@
|
|
1
1
|
<% shipment_manifest.each do |item| %>
|
2
|
-
<tr class="stock-item"
|
2
|
+
<tr class="stock-item"
|
3
|
+
data-item-quantity="<%= item.quantity %>"
|
4
|
+
data-variant-id="<%= item.variant.id %>"
|
5
|
+
>
|
3
6
|
<td class="item-image">
|
4
7
|
<%= image_tag item.variant.display_image.attachment(:mini) %>
|
5
8
|
</td>
|
@@ -3,15 +3,15 @@
|
|
3
3
|
<li><%= event_links %></li>
|
4
4
|
<% end %>
|
5
5
|
<% if can?(:resend, @order) && @order.completed? %>
|
6
|
-
<li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), :method => :post
|
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>
|
6
|
+
<li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), :method => :post %></li>
|
10
7
|
<% end %>
|
11
8
|
<% end %>
|
12
9
|
|
13
10
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Cart' } %>
|
14
11
|
|
12
|
+
<% admin_breadcrumb(Spree.t(:cart)) %>
|
13
|
+
|
14
|
+
|
15
15
|
<div data-hook="admin_order_edit_header">
|
16
16
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
|
17
17
|
</div>
|
@@ -35,7 +35,3 @@
|
|
35
35
|
<%= render :partial => 'line_items_edit_form', :locals => { :order => @order } %>
|
36
36
|
</div>
|
37
37
|
</div>
|
38
|
-
|
39
|
-
<% content_for :head do %>
|
40
|
-
<%= javascript_tag 'var expand_variants = true;' %>
|
41
|
-
<% end %>
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<%= render partial: 'spree/admin/shared/order_tabs', locals: {current: 'Confirm'} %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<% end %>
|
3
|
+
<% admin_breadcrumb(Spree.t(:confirm_order)) %>
|
4
|
+
|
6
5
|
|
7
6
|
<%= render partial: 'spree/admin/orders/confirm/customer_details', locals: {order: @order} %>
|
8
7
|
|
@@ -55,7 +54,7 @@
|
|
55
54
|
<%= render partial: 'spree/admin/orders/confirm/payments', locals: {payments: @order.payments} %>
|
56
55
|
|
57
56
|
<div class="form-buttons filter-actions actions" data-hook="complete-order-button">
|
58
|
-
<%= button_to [:complete, :admin, @order], {class: 'button
|
57
|
+
<%= button_to [:complete, :admin, @order], { class: 'button', method: 'put' } do %>
|
59
58
|
<%= Spree.t(:complete_order) %>
|
60
59
|
<% end %>
|
61
60
|
</div>
|
@@ -1,12 +1,11 @@
|
|
1
1
|
<%= render partial: 'spree/admin/shared/order_tabs', locals: {current: 'Confirm'} %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<% end %>
|
3
|
+
<% admin_breadcrumb(Spree.t(:confirm_order)) %>
|
4
|
+
|
6
5
|
|
7
6
|
<div class="form-buttons filter-actions actions" data-hook="complete-order-button">
|
8
7
|
<div><%= Spree.t(:order_please_refresh) %></div><br/>
|
9
|
-
<%= button_to [:advance, :admin, @order], {class: 'button
|
8
|
+
<%= button_to [:advance, :admin, @order], { class: 'button', method: 'put' } do %>
|
10
9
|
<%= Spree.t(:order_refresh_totals) %>
|
11
10
|
<% end %>
|
12
11
|
</div>
|
@@ -1,11 +1,9 @@
|
|
1
1
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Customer Details' } %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<% end %>
|
3
|
+
<% admin_breadcrumb(Spree.t(:customer_details)) %>
|
4
|
+
|
6
5
|
|
7
6
|
<% content_for :page_actions do %>
|
8
|
-
<li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li>
|
9
7
|
<% end %>
|
10
8
|
|
11
9
|
<div id="select-customer" data-hook>
|
@@ -1,11 +1,10 @@
|
|
1
1
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Customer Details' } %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<% end %>
|
3
|
+
<% admin_breadcrumb(Spree.t(:customer_details)) %>
|
4
|
+
|
6
5
|
|
7
6
|
<% content_for :page_actions do %>
|
8
|
-
<li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path
|
7
|
+
<li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path %></li>
|
9
8
|
<% end %>
|
10
9
|
|
11
10
|
|
@@ -26,4 +25,3 @@
|
|
26
25
|
<%= render "spree/admin/shared/address", address: @order.ship_address %>
|
27
26
|
</section>
|
28
27
|
</main>
|
29
|
-
|
@@ -3,10 +3,7 @@
|
|
3
3
|
<li><%= event_links %></li>
|
4
4
|
<% end %>
|
5
5
|
<% if can?(:resend, @order) && @order.completed? %>
|
6
|
-
<li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), method: :post
|
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>
|
6
|
+
<li><%= button_link_to Spree.t(:resend), resend_admin_order_url(@order), method: :post %></li>
|
10
7
|
<% end %>
|
11
8
|
<% end %>
|
12
9
|
|
@@ -35,7 +32,3 @@
|
|
35
32
|
<%= render partial: 'form', locals: { order: @order } %>
|
36
33
|
</div>
|
37
34
|
</div>
|
38
|
-
|
39
|
-
<% content_for :head do %>
|
40
|
-
<%= javascript_tag 'var expand_variants = true;' %>
|
41
|
-
<% end %>
|
@@ -1,10 +1,9 @@
|
|
1
|
-
<%
|
2
|
-
|
3
|
-
<% end %>
|
1
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Order)) %>
|
2
|
+
|
4
3
|
|
5
4
|
<% content_for :page_actions do %>
|
6
5
|
<li>
|
7
|
-
<%= button_link_to Spree.t(:new_order), new_admin_order_url, :
|
6
|
+
<%= button_link_to Spree.t(:new_order), new_admin_order_url, :id => 'admin_new_order' %>
|
8
7
|
</li>
|
9
8
|
<% end if can? :edit, Spree::Order.new %>
|
10
9
|
|
@@ -70,6 +69,13 @@
|
|
70
69
|
</div>
|
71
70
|
|
72
71
|
<div class="omega four columns">
|
72
|
+
<% if Spree::Store.count > 1 %>
|
73
|
+
<div class="field">
|
74
|
+
<%= label_tag nil, Spree.t(:store) %>
|
75
|
+
<%= f.select :store_id_eq, Spree::Store.all.map { |s| [s.name, s.id] }, { include_blank: true }, { class: "select2" } %>
|
76
|
+
</div>
|
77
|
+
<% end %>
|
78
|
+
|
73
79
|
<div class="field checkbox">
|
74
80
|
<label>
|
75
81
|
<%= f.check_box :completed_at_not_null, {:checked => @show_only_completed}, '1', '0' %>
|
@@ -89,7 +95,7 @@
|
|
89
95
|
|
90
96
|
<div class="actions filter-actions">
|
91
97
|
<div data-hook="admin_orders_index_search_buttons">
|
92
|
-
<%= button Spree.t(:filter_results)
|
98
|
+
<%= button Spree.t(:filter_results) %>
|
93
99
|
</div>
|
94
100
|
</div>
|
95
101
|
<% end %>
|
@@ -1,13 +1,11 @@
|
|
1
1
|
<%= render 'spree/admin/shared/payments_tabs' %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<%
|
3
|
+
<% admin_breadcrumb(Spree.t(:settings)) %>
|
4
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Payment)) %>
|
5
|
+
<% admin_breadcrumb(link_to plural_resource_name(Spree::PaymentMethod), spree.admin_payment_methods_path) %>
|
6
|
+
<% admin_breadcrumb(@payment_method.name) %>
|
6
7
|
|
7
8
|
<% content_for :page_actions do %>
|
8
|
-
<li>
|
9
|
-
<%= button_link_to Spree.t(:back_to_payment_methods_list), spree.admin_payment_methods_path, :icon => 'arrow-left' %>
|
10
|
-
</li>
|
11
9
|
<% end %>
|
12
10
|
|
13
11
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @payment_method } %>
|
@@ -16,7 +14,7 @@
|
|
16
14
|
<fieldset class="no-border-top">
|
17
15
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
18
16
|
<div data-hook="buttons" class="filter-actions actions">
|
19
|
-
<%= button Spree.t('actions.update')
|
17
|
+
<%= button Spree.t('actions.update') %>
|
20
18
|
</div>
|
21
19
|
</fieldset>
|
22
20
|
|
@@ -1,13 +1,14 @@
|
|
1
1
|
<%= render 'spree/admin/shared/payments_tabs' %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<%
|
3
|
+
<% admin_breadcrumb(Spree.t(:settings)) %>
|
4
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Payment)) %>
|
5
|
+
<% admin_breadcrumb(plural_resource_name(Spree::PaymentMethod)) %>
|
6
|
+
|
6
7
|
|
7
8
|
<% content_for :page_actions do %>
|
8
9
|
<% if can?(:create, Spree::PaymentMethod) %>
|
9
10
|
<li>
|
10
|
-
<%= button_link_to Spree.t(:new_payment_method), new_object_url, :
|
11
|
+
<%= button_link_to Spree.t(:new_payment_method), new_object_url, :id => 'admin_new_payment_methods_link' %>
|
11
12
|
</li>
|
12
13
|
<% end %>
|
13
14
|
<% end %>
|
@@ -25,7 +26,7 @@
|
|
25
26
|
</colgroup>
|
26
27
|
<thead>
|
27
28
|
<tr data-hook="admin_payment_methods_index_headers">
|
28
|
-
<th></th>
|
29
|
+
<th class="no-border"></th>
|
29
30
|
<th><%= Spree::PaymentMethod.human_attribute_name(:name) %></th>
|
30
31
|
<th><%= Spree::PaymentMethod.human_attribute_name(:type) %></th>
|
31
32
|
<th><%= Spree::PaymentMethod.human_attribute_name(:display_on) %></th>
|
@@ -1,13 +1,12 @@
|
|
1
1
|
<%= render 'spree/admin/shared/payments_tabs' %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<%
|
3
|
+
<% admin_breadcrumb(Spree.t(:settings)) %>
|
4
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Payment)) %>
|
5
|
+
<% admin_breadcrumb(link_to plural_resource_name(Spree::PaymentMethod), spree.admin_payment_methods_path) %>
|
6
|
+
<% admin_breadcrumb(Spree.t(:new_payment_method)) %>
|
7
|
+
|
6
8
|
|
7
9
|
<% content_for :page_actions do %>
|
8
|
-
<li>
|
9
|
-
<%= button_link_to Spree.t(:back_to_payment_methods_list), admin_payment_methods_path, :icon => 'arrow-left' %>
|
10
|
-
</li>
|
11
10
|
<% end %>
|
12
11
|
|
13
12
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @payment_method } %>
|
@@ -16,7 +15,7 @@
|
|
16
15
|
<fieldset class="no-border-top">
|
17
16
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
18
17
|
<div data-hook="buttons" class="filter-actions actions">
|
19
|
-
<%= button Spree.t('actions.create')
|
18
|
+
<%= button Spree.t('actions.create') %>
|
20
19
|
</div>
|
21
20
|
</fieldset>
|
22
21
|
<% end %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% if @payment.capture_events.exists? %>
|
2
|
-
<h3><%= Spree::PaymentCaptureEvent
|
2
|
+
<h3><%= plural_resource_name(Spree::PaymentCaptureEvent) %></h3>
|
3
3
|
<table class="index" id="capture_events">
|
4
4
|
<thead>
|
5
5
|
<tr data-hook="payments_header">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Creditcards' } %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
3
|
+
<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %>
|
4
|
+
<% admin_breadcrumb(Spree::Refund.model_name.human) %>
|
5
|
+
|
6
6
|
|
7
7
|
<%= form_tag do %>
|
8
8
|
<h3><%= Spree::Refund.model_name.human %></h3>
|
@@ -3,15 +3,12 @@
|
|
3
3
|
<% content_for :page_actions do %>
|
4
4
|
<% if @order.outstanding_balance? %>
|
5
5
|
<li id="new_payment_section">
|
6
|
-
<%= button_link_to Spree.t(:new_payment), new_admin_order_payment_url(@order)
|
6
|
+
<%= button_link_to Spree.t(:new_payment), new_admin_order_payment_url(@order) %>
|
7
7
|
</li>
|
8
8
|
<% end %>
|
9
|
-
<li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li>
|
10
9
|
<% end %>
|
11
10
|
|
12
|
-
<%
|
13
|
-
<i class="fa fa-arrow-right"></i> <%= Spree::Payment.model_name.human(count: :other) %>
|
14
|
-
<% end %>
|
11
|
+
<% admin_breadcrumb(plural_resource_name(Spree::Payment)) %>
|
15
12
|
|
16
13
|
<% if @order.outstanding_balance? %>
|
17
14
|
<h5 class="outstanding-balance"><%= @order.outstanding_balance < 0 ? Spree.t(:credit_owed) : Spree.t(:balance_due) %>: <strong><%= @order.display_outstanding_balance %></strong></h5>
|
@@ -20,13 +17,13 @@
|
|
20
17
|
<% if @payments.any? %>
|
21
18
|
|
22
19
|
<fieldset data-hook="payment_list" class="no-border-bottom">
|
23
|
-
<legend align="center"><%= Spree::Payment
|
20
|
+
<legend align="center"><%= plural_resource_name(Spree::Payment) %></legend>
|
24
21
|
<%= render :partial => 'list', :locals => { :payments => @payments } %>
|
25
22
|
</fieldset>
|
26
23
|
|
27
24
|
<% if @refunds.any? %>
|
28
25
|
<fieldset data-hook="payment_list" class="no-border-bottom">
|
29
|
-
<legend align="center"><%= Spree::Refund
|
26
|
+
<legend align="center"><%= plural_resource_name(Spree::Refund) %></legend>
|
30
27
|
<%= render :partial => 'spree/admin/shared/refunds', :locals => { :refunds => @refunds, show_actions: true } %>
|
31
28
|
</fieldset>
|
32
29
|
<% end %>
|
@@ -1,11 +1,10 @@
|
|
1
1
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
3
|
+
<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %>
|
4
|
+
<% admin_breadcrumb(Spree.t(:new_payment)) %>
|
5
|
+
|
6
6
|
|
7
7
|
<% content_for :page_actions do %>
|
8
|
-
<li><%= button_link_to Spree.t(:back_to_payments_list), spree.admin_order_payments_url(@order), :icon => 'arrow-left' %></li>
|
9
8
|
<% end %>
|
10
9
|
|
11
10
|
<% if @payment_methods.any? %>
|
@@ -16,7 +15,7 @@
|
|
16
15
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
17
16
|
|
18
17
|
<div class="filter-actions actions" data-hook="buttons">
|
19
|
-
<%= button @order.cart? ? Spree.t('actions.continue') : Spree.t('actions.update')
|
18
|
+
<%= button @order.cart? ? Spree.t('actions.continue') : Spree.t('actions.update') %>
|
20
19
|
</div>
|
21
20
|
</fieldset>
|
22
21
|
<% end %>
|
@@ -1,19 +1,16 @@
|
|
1
1
|
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %>
|
2
2
|
|
3
|
-
<%
|
4
|
-
|
5
|
-
<%= Spree::Payment.model_name.human %>
|
6
|
-
<i class="fa fa-arrow-right"></i>
|
3
|
+
<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %>
|
4
|
+
<% admin_breadcrumb do %>
|
7
5
|
<%= payment_method_name(@payment) %>
|
8
|
-
|
9
6
|
<span class="state <%= @payment.state %>">
|
10
7
|
<%= Spree.t(@payment.state, :scope => :payment_states, :default => @payment.state.capitalize) %>
|
11
8
|
</span>
|
12
9
|
<% end %>
|
13
10
|
|
11
|
+
|
14
12
|
<% content_for :page_actions do %>
|
15
|
-
<li><%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment)
|
16
|
-
<li><%= button_link_to Spree.t(:back_to_payments_list), spree.admin_order_payments_url(@order), :icon => 'arrow-left' %></li>
|
13
|
+
<li><%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment) %></li>
|
17
14
|
<% end %>
|
18
15
|
|
19
16
|
<%= render :partial => "spree/admin/payments/source_views/#{@payment.payment_method.method_type}", :locals => { :payment => @payment.source.is_a?(Spree::Payment) ? @payment.source : @payment } %>
|
@@ -24,6 +24,7 @@
|
|
24
24
|
<div class="three columns" data-hook="admin_product_price_form_country">
|
25
25
|
<%= f.field_container :country do %>
|
26
26
|
<%= f.label :country %>
|
27
|
+
<%= f.field_hint :country %>
|
27
28
|
<%= f.collection_select :country_iso, available_countries, :iso, :name,
|
28
29
|
{
|
29
30
|
include_blank: t(:any_country, scope: [:spree, :admin, :prices]),
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<% content_for :page_actions do %>
|
4
4
|
<li id="new_price_link">
|
5
|
-
<%= button_link_to t(".new_price"), new_object_url, { :remote => true, :
|
5
|
+
<%= button_link_to t(".new_price"), new_object_url, { :remote => true, :id => 'admin_new_product' } %>
|
6
6
|
</li>
|
7
7
|
<% end if can?(:create, Spree::Product) %>
|
8
8
|
|
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
<div class="actions filter-actions">
|
64
64
|
<div data-hook="admin_orders_index_search_buttons">
|
65
|
-
<%= button Spree.t(:filter_results)
|
65
|
+
<%= button Spree.t(:filter_results) %>
|
66
66
|
</div>
|
67
67
|
</div>
|
68
68
|
|
@@ -1,6 +1,8 @@
|
|
1
1
|
<%= render 'spree/admin/shared/product_tabs', :current => 'Product Properties' %>
|
2
2
|
<%= render 'spree/shared/error_messages', :target => @product %>
|
3
3
|
|
4
|
+
<% admin_breadcrumb(plural_resource_name(Spree::ProductProperty)) %>
|
5
|
+
|
4
6
|
<% content_for :page_actions do %>
|
5
7
|
<% if can?(:create, Spree::ProductProperty) %>
|
6
8
|
<ul class="tollbar inline-menu">
|
@@ -18,7 +20,7 @@
|
|
18
20
|
|
19
21
|
<%= form_for @product, :url => admin_product_url(@product), :method => :put do |f| %>
|
20
22
|
<fieldset>
|
21
|
-
<legend align="center"><%= Spree::ProductProperty
|
23
|
+
<legend align="center"><%= plural_resource_name(Spree::ProductProperty) %></legend>
|
22
24
|
<div class="add_product_properties" data-hook="add_product_properties"></div>
|
23
25
|
|
24
26
|
<div id="prototypes" data-hook></div>
|
@@ -71,6 +71,7 @@
|
|
71
71
|
<%= f.label :promotionable do %>
|
72
72
|
<%= f.check_box :promotionable %> <%= Spree::Product.human_attribute_name(:promotionable) %>
|
73
73
|
<% end %>
|
74
|
+
<%= f.field_hint :promotionable %>
|
74
75
|
<% end %>
|
75
76
|
</div>
|
76
77
|
|
@@ -103,28 +104,19 @@
|
|
103
104
|
</div>
|
104
105
|
|
105
106
|
<div id="shipping_specs">
|
106
|
-
|
107
|
-
<%=
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<%= f.text_field :width, :size => 4 %>
|
113
|
-
</div>
|
114
|
-
<div id="shipping_specs_depth_field" data-hook="admin_product_form_depth" class="field alpha two columns">
|
115
|
-
<%= f.label :depth %>
|
116
|
-
<%= f.text_field :depth, :size => 4 %>
|
117
|
-
</div>
|
118
|
-
<div id="shipping_specs_weight_field" data-hook="admin_product_form_weight" class="field omega two columns">
|
119
|
-
<%= f.label :weight %>
|
120
|
-
<%= f.text_field :weight, :size => 4 %>
|
121
|
-
</div>
|
107
|
+
<% [:height, :width, :depth, :weight].each_with_index do |field, index| %>
|
108
|
+
<div id="shipping_specs_<%= field %>_field" class="field two columns <%= index.even? ? 'alpha' : 'omega' %>">
|
109
|
+
<%= f.label field %>
|
110
|
+
<%= f.text_field field, value: number_with_precision(@product.send(field), precision: 2) %>
|
111
|
+
</div>
|
112
|
+
<% end %>
|
122
113
|
</div>
|
123
114
|
<% end %>
|
124
115
|
|
125
116
|
<div data-hook="admin_product_form_shipping_categories">
|
126
117
|
<%= f.field_container :shipping_categories do %>
|
127
118
|
<%= f.label :shipping_category_id, Spree::ShippingCategory.model_name.human %>
|
119
|
+
<%= f.field_hint :shipping_category %>
|
128
120
|
<%= f.collection_select(:shipping_category_id, @shipping_categories, :id, :name, { :include_blank => Spree.t('match_choices.none') }, { :class => 'select2' }) %>
|
129
121
|
<%= f.error_message_on :shipping_category %>
|
130
122
|
<% end %>
|
@@ -133,6 +125,7 @@
|
|
133
125
|
<div data-hook="admin_product_form_tax_category">
|
134
126
|
<%= f.field_container :tax_category do %>
|
135
127
|
<%= f.label :tax_category_id, Spree::TaxCategory.model_name.human %>
|
128
|
+
<%= f.field_hint :tax_category %>
|
136
129
|
<%= f.collection_select(:tax_category_id, @tax_categories, :id, :name, { :include_blank => Spree.t('match_choices.none') }, { :class => 'select2' }) %>
|
137
130
|
<%= f.error_message_on :tax_category %>
|
138
131
|
<% end %>
|
@@ -142,14 +135,14 @@
|
|
142
135
|
<div class="twelve columns alpha omega">
|
143
136
|
<div data-hook="admin_product_form_taxons">
|
144
137
|
<%= f.field_container :taxons do %>
|
145
|
-
<%= f.label :taxon_ids, Spree::Taxon
|
138
|
+
<%= f.label :taxon_ids, plural_resource_name(Spree::Taxon) %><br />
|
146
139
|
<%= f.hidden_field :taxon_ids, :value => @product.taxon_ids.join(',') %>
|
147
140
|
<% end %>
|
148
141
|
</div>
|
149
142
|
|
150
143
|
<div data-hook="admin_product_form_option_types">
|
151
144
|
<%= f.field_container :option_types do %>
|
152
|
-
<%= f.label :option_type_ids, Spree::OptionType
|
145
|
+
<%= f.label :option_type_ids, plural_resource_name(Spree::OptionType) %>
|
153
146
|
<%= f.hidden_field :option_type_ids, :value => @product.option_type_ids.join(',') %>
|
154
147
|
<% end %>
|
155
148
|
</div>
|