Sha256: fcde643f6b0063b62846c5eafafc1b479bb919f0d67a6068ac26460ea126245d

Contents?: true

Size: 241 Bytes

Versions: 114

Compression:

Stored size: 241 Bytes

Contents

module Comee
  module Core
    class PurchaseOrderItemDiff < ApplicationRecord
      belongs_to :purchase_order_item

      validates :quantity_diff, :price_diff, presence: true, numericality: {greater_than_or_equal_to: 0}
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
comee_core-0.3.62 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.61 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.60 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.59 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.58 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.57 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.56 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.55 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.54 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.53 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.51 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.50 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.49 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.48 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.47 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.46 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.45 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.44 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.43 app/models/comee/core/purchase_order_item_diff.rb
comee_core-0.3.42 app/models/comee/core/purchase_order_item_diff.rb