comee_core 0.2.42 → 0.2.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/comee/core/purchase_order_item.rb +2 -0
- data/app/models/comee/core/purchase_order_item_diff.rb +9 -0
- data/db/migrate/20240325155406_create_comee_core_purchase_order_item_diffs.rb +15 -0
- data/lib/comee/core/version.rb +1 -1
- data/spec/factories/comee/core/purchase_order_item_diffs.rb +8 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0a5388d85c1ae2d3c4c16843203f97ae1eb4f43887e6fc9ce7e54d851844077
|
4
|
+
data.tar.gz: f35b9ca46c598a6929c59c5b8a2fe9cf0eb2f244cd41392a0bf2af7fe752459b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b699bf44a44dd78cb2ab70795a342aa930b235706950978d5547b5caf1354b51211ec6c774619ad58f748859bd6d9a8a76acb99631d563a66bba973bb401bd1c
|
7
|
+
data.tar.gz: 7a454118edcdf24e1ff36f538a48c05bc96179ba50ecd55a4dc116b0324a2d7b8b6c4cdd3a102c40291d9009a85814acf821f2a5fa1c7426b71a6cfd04f7c113
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class CreateComeeCorePurchaseOrderItemDiffs < ActiveRecord::Migration[7.1]
|
2
|
+
def change
|
3
|
+
create_table :comee_core_purchase_order_item_diffs do |t|
|
4
|
+
t.references :purchase_order_item,
|
5
|
+
null: false,
|
6
|
+
index: {name: "poi_on_ccpoid_indx"},
|
7
|
+
foreign_key: {to_table: :comee_core_purchase_order_items}
|
8
|
+
t.float :quantity_diff, null: false, default: 0
|
9
|
+
t.float :price_diff, null: false, default: 0
|
10
|
+
t.date :original_delivery_date
|
11
|
+
|
12
|
+
t.timestamps
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
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.2.
|
4
|
+
version: 0.2.44
|
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-03-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -332,6 +332,7 @@ files:
|
|
332
332
|
- app/models/comee/core/product_lookup.rb
|
333
333
|
- app/models/comee/core/purchase_order.rb
|
334
334
|
- app/models/comee/core/purchase_order_item.rb
|
335
|
+
- app/models/comee/core/purchase_order_item_diff.rb
|
335
336
|
- app/models/comee/core/purchase_requisition.rb
|
336
337
|
- app/models/comee/core/purchase_requisition_item.rb
|
337
338
|
- app/models/comee/core/quotation_request.rb
|
@@ -437,6 +438,7 @@ files:
|
|
437
438
|
- db/migrate/20240125044630_create_comee_core_payments.rb
|
438
439
|
- db/migrate/20240314111117_create_comee_core_purchase_requisitions.rb
|
439
440
|
- db/migrate/20240314111307_create_comee_core_purchase_requisition_items.rb
|
441
|
+
- db/migrate/20240325155406_create_comee_core_purchase_order_item_diffs.rb
|
440
442
|
- lib/comee/core.rb
|
441
443
|
- lib/comee/core/engine.rb
|
442
444
|
- lib/comee/core/version.rb
|
@@ -473,6 +475,7 @@ files:
|
|
473
475
|
- spec/factories/comee/core/pods.rb
|
474
476
|
- spec/factories/comee/core/product_lookups.rb
|
475
477
|
- spec/factories/comee/core/products.rb
|
478
|
+
- spec/factories/comee/core/purchase_order_item_diffs.rb
|
476
479
|
- spec/factories/comee/core/purchase_order_items.rb
|
477
480
|
- spec/factories/comee/core/purchase_orders.rb
|
478
481
|
- spec/factories/comee/core/purchase_requisition_items.rb
|