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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c112c544d162d0328402147a79d75517f52343b90a2b88e68c467e6538b48c56
4
- data.tar.gz: 42109ceb645c5b50202888495c3da96baffc0b61e516c979ce909ae2e6291ee7
3
+ metadata.gz: bf517b4f0fd512472ced053c4f283d19c661fe849c7331163cf6e321ddd5ebe6
4
+ data.tar.gz: 7b09f3a11ad9ef8d5ded20a2c5e7d4b7b09b1e27a06565462fc5f59d7fed163e
5
5
  SHA512:
6
- metadata.gz: aa66e8fcfd14abd48c36d7d923b002bbc399ab6959ec5b56210f918c1fc2a1ab25cfd54807f026641fb8d74142dee9a005f4bb9719bdf654f6af1b3de74eaa16
7
- data.tar.gz: ccfa85eb0ec3a870608678107c8e23721b2b41d637d0c2b61140c6b71d66d25e9240fef59a1e2ee88b77077c681a85dde90beedc380dd42555d97a01663a10c4
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
 
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.3.30'.freeze
3
+ VERSION = '1.3.31'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.30
4
+ version: 1.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.