comee_core 0.1.76 → 0.1.77
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/shipment_item.rb +1 -0
- data/lib/comee/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba8c12bbc2cf042ff4495ad2904ac358232dea551250cfd02e1c258a5e148312
|
4
|
+
data.tar.gz: 3133589fe50afa51b5247cd88842928ea7434a708ac9bb3f99b98da5f61e3d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e48d06b60d6f9da7224c04c5df4e760778ea8e253f3930ee623fc166a39523a34278d87dfebfcd7259cf319afcb2dc4719f07630c01a1f0f342daaac60159f
|
7
|
+
data.tar.gz: 2eb7f8d6a270cce93c30603263aaa763be27f0558954e00bd23141786469089c77eae6233512d20351bf3f694ff30aae453d5ad7095682de3e340e31face02be
|
@@ -4,6 +4,7 @@ module Comee
|
|
4
4
|
enum :status, {active: 0, completed: 1}
|
5
5
|
|
6
6
|
belongs_to :sales_order_item
|
7
|
+
has_many :item_statuses
|
7
8
|
|
8
9
|
validates :handover_date, :delivery_date, :shipment_status, :status, presence: true
|
9
10
|
validates :quantity, presence: true, numericality: {greater_than: 0}
|
data/lib/comee/core/version.rb
CHANGED