Sha256: 12689aacfde679d3ab56c1c25880a4aaac75abc5362a16e611666048d20e8e51
Contents?: true
Size: 436 Bytes
Versions: 28
Compression:
Stored size: 436 Bytes
Contents
module Comee module Core class QuotationRequestItem < ApplicationRecord belongs_to :product belongs_to :quotation_request belongs_to :unit validates :quantity, :price, :discount, :expected_delivery_date, presence: true def self.ransackable_attributes(_auth_object = nil) %w[quotation_request_id product_id unit_id quantity price discount expected_delivery_date] end end end end
Version data entries
28 entries across 28 versions & 1 rubygems