comee_core 0.3.37 → 0.3.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/comee/core/customer_order_item.rb +2 -1
- data/lib/comee/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f24bf85150707bf055d33beb60ab6255121975d0287b6dcf0a0f2c5301ee24dc
|
|
4
|
+
data.tar.gz: 59f736afd6f9c4919a9123672d40f3aa2abda42f9ccc4c0ec50279f5e645b72e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14f20b4731201268d259c432ed1bf8c1f949f04ea3be5aab30161b3205ecf8c2d5ca934aa35ea2f25f8498304820209b7f4d2059869c0ccc50172ecca2cd4927
|
|
7
|
+
data.tar.gz: f42dbab7b458ff1d8aaeb7f87eea054698e619b4098d459b61c857b6cc30dccc52f010ecc899cff53dadca9a38683da9a939dad5a4b205ae03e3aea2c8781370
|
|
@@ -20,8 +20,9 @@ module Comee
|
|
|
20
20
|
|
|
21
21
|
def fetch_customer_item_alias
|
|
22
22
|
self.customer_item_alias = "" unless customer_order && product_id
|
|
23
|
+
client_id = customer_order.client.parent_id || customer_order.client_id
|
|
23
24
|
lookup = ProductLookup.find_by(
|
|
24
|
-
itemable_id:
|
|
25
|
+
itemable_id: client_id,
|
|
25
26
|
itemable_type: "Comee::Core::Client",
|
|
26
27
|
product_id: product_id
|
|
27
28
|
)
|
data/lib/comee/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: comee_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.38
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henock L.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07-
|
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: active_model_serializers
|