comee_core 0.1.71 → 0.1.73

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: af05a9a39c3e49d30c92aee06f9e27fbe4e02c7c1678a417df369fb88a6bf47b
4
- data.tar.gz: a36ab5dcdaea7c2e22d8c41bbfc37d533a42b3472e83494124da6fe5bd9d311e
3
+ metadata.gz: f70459330a344373488a24814acd99ac3fd15fd2cd43e8b0da1cb54c4b0d21bb
4
+ data.tar.gz: 1fe0179e6032e06ed07bf1a5906c6778565f820d1d895af35a60ab4287b8dc43
5
5
  SHA512:
6
- metadata.gz: 3adaf0714c2d01b384b240884fe6dd94047cfa04b2f29d0271d97147b94708a8d35312b062b47fa18802e51720cda21e5a844b6e66045e6873287dbee6b93942
7
- data.tar.gz: 9df735b384d02638be87742ac3d11f32eac8be43672c1d428d5ff66510b34308eb54f523b6c40717287a1000ed3ebaba74b50c76edff0d288dbccdfbb49aac1a
6
+ metadata.gz: 3be550687705bb1d04341c3bc238f417ab8d525a34fa7aa3bdc79a7ec297d6f56d46bb3ca68b8b2f1e135252a3d9386abb8184a1749816faef1531063ea40312
7
+ data.tar.gz: f343407146e4014597855c58879eddfb0788e3efd0e450590e6b486ef9c9ec909737c491525d5d1e53c74c42389a9e09fb7085df02464dd2b16275eef54248e4
@@ -27,9 +27,11 @@ module Comee
27
27
  status: obj.status,
28
28
  margin: obj.margin,
29
29
  margin_type: obj.margin_type,
30
+ client_id: obj.client.id,
30
31
  client_code: obj.client.code,
31
32
  client_name: obj.client.name,
32
33
  client_address: obj.client.address,
34
+ product_id: obj.product.id,
33
35
  product_code: obj.product.code,
34
36
  product_name: obj.product.name,
35
37
  product_description: obj.product.description,
@@ -40,6 +42,7 @@ module Comee
40
42
  product_hs_code: obj.product.hs_code,
41
43
  product_hs_description: obj.product.hs_description,
42
44
  product_image: obj.product.thumbnail_image_url,
45
+ unit_id: obj.unit.id,
43
46
  unit_code: obj.unit.code,
44
47
  unit_name: obj.unit.name
45
48
  }
@@ -1,7 +1,7 @@
1
1
  module Comee
2
2
  module Core
3
3
  class MasterPriceSerializer < ActiveModel::Serializer
4
- attributes :id, :purchase_price, :selling_price, :valid_from, :valid_to, :primary, :margin, :lead_time
4
+ attributes :id, :purchase_price, :selling_price, :valid_from, :valid_to, :primary, :margin, :lead_time, :status
5
5
  belongs_to :product
6
6
  belongs_to :supplier
7
7
  end
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.1.71".freeze
3
+ VERSION = "0.1.73".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comee_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.71
4
+ version: 0.1.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.