spree_backend 3.7.0 → 3.7.1

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: 2844cf70e0440b62a874d7723f9db1cbb6d434b04bdb69dba3931c8e5ccc0707
4
- data.tar.gz: 9481d3cef904274b5f06ca835729681f78216de852ccced9c0a7bbe1de2d178e
3
+ metadata.gz: 2cefb7cfbcbc4bde296cfe07b39b1fcb8a8b11fa867dee0c52c99b3376a48973
4
+ data.tar.gz: e1dfb1d45b5f38a26b820d04679f2e29df51955dc0aa1edc5872255f563ccdef
5
5
  SHA512:
6
- metadata.gz: e3af31d44b36f1c667b19874df4dd9cc51ba56fa6e8ef83343468aaad8f25a7c356bd88cf4f64058fab7faa87afd7f00d9bb6b7aa093a43d7fac6b987ba71a5a
7
- data.tar.gz: ee4fd5d82d4e61622c6c5119dfeb10d5d6361392ef416d31d09ed376d50c1d4399970d7cc35ff8b05f22b356d2bb4150cbed6bc3e6d33aeb1a72f0dd372774e4
6
+ metadata.gz: e610f71f5cfd8215fe08c91c07a40ce154db5a2ce520a4528c786311843d5cfc97d89daf2511fe2af166e374b2101e07e65e7201acef9cd7f7a1388430a61d30
7
+ data.tar.gz: b364c326cdde0f121a5a9720d1a3066d3ad3d67f8614ef0357fc73c692fa9bd61b7445e368456ddb54e992baf52e3a26cdd56e4e2776598c9dc556beee06be0e
@@ -33,7 +33,7 @@
33
33
  <div data-hook="admin_product_form_price">
34
34
  <%= f.field_container :price, class: ['form-group'] do %>
35
35
  <%= f.label :price, raw(Spree.t(:master_price) + content_tag(:span, ' *', class: "required")) %>
36
- <%= f.text_field :price, value: number_to_currency(@product.price, unit: ''), class: 'form-control', disabled: (cannot? :update, @product.price) %>
36
+ <%= f.text_field :price, value: number_to_currency(@product.price, unit: ''), class: 'form-control', disabled: (cannot? :update, @product.master.default_price) %>
37
37
  <%= f.error_message_on :price %>
38
38
  <% end %>
39
39
  </div>
@@ -19,6 +19,6 @@
19
19
  <% end if can?(:admin, Spree::ProductProperty) && !@product.deleted? %>
20
20
  <%= content_tag :li, class: ('active' if current == :stock) do %>
21
21
  <%= link_to_with_icon 'home', Spree.t(:stock), stock_admin_product_url(@product) %>
22
- <% end if can?(:admin, Spree::Stock) && !@product.deleted? %>
22
+ <% end if can?(:admin, Spree::StockItem) && !@product.deleted? %>
23
23
  </ul>
24
24
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-04 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.7.0
19
+ version: 3.7.1
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.7.0
26
+ version: 3.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.7.0
33
+ version: 3.7.1
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.7.0
40
+ version: 3.7.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement