cats_core 1.3.30 → 1.3.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/cats/core/hub_authorization.rb +4 -0
- data/lib/cats/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: bf517b4f0fd512472ced053c4f283d19c661fe849c7331163cf6e321ddd5ebe6
|
4
|
+
data.tar.gz: 7b09f3a11ad9ef8d5ded20a2c5e7d4b7b09b1e27a06565462fc5f59d7fed163e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0818b51b0f8b75240043aff989521a71d641be5b4c4a0dc7eec7c47f40643a867c692cdee3faca3adc279503df252a2e2d68d453ec3f7a230f9f06a42d6b537e'
|
7
|
+
data.tar.gz: dfe92285182fd027eb1f0d87186e3a122301c0d611748bb05708d76891e1dc8832b56c0b3ea8ab44adc557a0a3b27b99b6981ae815c4e7331bcce9c44c28d984
|
@@ -14,6 +14,10 @@ module Cats
|
|
14
14
|
validates :authorization_type, inclusion: { in: AUTHORIZATION_TYPES }
|
15
15
|
validate :validate_quantity, on: %i[create update]
|
16
16
|
|
17
|
+
delegate(:plan_reference_no, to: :dispatch_plan_item)
|
18
|
+
delegate(:full_name, to: :authorized_by, prefix: true)
|
19
|
+
delegate(:name, to: :store, prefix: true)
|
20
|
+
|
17
21
|
def validate_quantity
|
18
22
|
return unless quantity
|
19
23
|
|
data/lib/cats/core/version.rb
CHANGED