solidus_backend 3.2.5 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4f168ce9df9e5114355c4ae9fc5dc5da2559a339777c08e9dcb58f0cd1f0ccf
4
- data.tar.gz: fbcd1ca044d19b1f7e744d96e49af4e199e4da73503784acfee55acb0320621a
3
+ metadata.gz: 14d077f2ff49a98584bcd213ea874afd14a286b26d243a993943d3a1db16e7c0
4
+ data.tar.gz: b0fffbda150a73a14a192a07c2ed1cea2e2c0c75ea8f689eaba2ebc06475a14b
5
5
  SHA512:
6
- metadata.gz: 83dadf2d57dacccf8bebd48ea2d33f61717d573f27ff365d0bd77c3d4dafb162888feb4dbe32439c322204a1f6d0fd9be9da26bde10f325768752fc088bba9ac
7
- data.tar.gz: 5447bd0787675d46ceaaffd91ddb931a25ba86c98c476afe315bf4aeaf183506c614fb2ffcf54197893cbe9b3c15a83a5ca51af0ab494b9515527bcc4dedc784
6
+ metadata.gz: 22df1b08e79e811fe36b0b82fad6bcc88c53b40ee61d48d89651df9dc1e4f8a5bbdaeab5710a9426446807fc8d3a8443ddc735ffd77bb1a71989b237ab75a358
7
+ data.tar.gz: 50cbe6ca024a3621b581a1d98fc069231536e8e78e54c8eb36478255d5eb5abe904a6fb3ab1b12126b27db57342b52bc2cc914862983495072262730cf205d99
@@ -1,3 +1,5 @@
1
+ @import "spree/backend/components/actions";
2
+
1
3
  table {
2
4
  // Extend all tables with Bootstrap's default table style
3
5
  @extend .table;
@@ -114,8 +116,8 @@ table {
114
116
  tbody {
115
117
  tr {
116
118
  &.deleted td {
117
- background-color: lighten(theme-color("danger"), 6);
118
- border-color: lighten(theme-color("danger"), 15);
119
+ background-color: $color-action-remove-bg;
120
+ text-decoration: line-through;
119
121
  }
120
122
  }
121
123
 
@@ -8,7 +8,7 @@ module Spree
8
8
  def index
9
9
  params[:q] ||= {}
10
10
 
11
- @search = @product.prices.accessible_by(current_ability, :index).ransack(params[:q])
11
+ @search = @product.prices.kept.accessible_by(current_ability, :index).ransack(params[:q])
12
12
  @master_prices = @search.result
13
13
  .currently_valid
14
14
  .for_master
@@ -82,7 +82,9 @@ class Spree::Admin::ResourceController < Spree::Admin::BaseController
82
82
  records = model_class.where(id: positions.keys).to_a
83
83
 
84
84
  positions.each do |id, index|
85
- records.find { |r| r.id == id.to_i }&.set_list_position(index)
85
+ # To permit the use of UUID as id, we compare models id in database
86
+ # and in params under the string representation instead of integer
87
+ records.find { |r| r.id.to_s == id }&.set_list_position(index)
86
88
  end
87
89
  end
88
90
 
@@ -142,7 +142,14 @@
142
142
  </div>
143
143
  <% end %>
144
144
  </div>
145
-
145
+ <div data-hook="admin_product_form_track_inventory">
146
+ <%= f.field_container :track_inventory do %>
147
+ <label>
148
+ <%= f.check_box :track_inventory %>
149
+ <%= Spree::Variant.human_attribute_name(:track_inventory) %>
150
+ </label>
151
+ <% end %>
152
+ </div>
146
153
  <% end %>
147
154
 
148
155
  <div data-hook="admin_product_form_shipping_categories">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-23 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.5
19
+ version: 3.2.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.5
26
+ version: 3.2.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.5
33
+ version: 3.2.7
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.5
40
+ version: 3.2.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -911,7 +911,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
911
911
  - !ruby/object:Gem::Version
912
912
  version: 1.8.23
913
913
  requirements: []
914
- rubygems_version: 3.3.26
914
+ rubygems_version: 3.4.6
915
915
  signing_key:
916
916
  specification_version: 4
917
917
  summary: Admin interface for the Solidus e-commerce framework.