Sha256: aa78bf277fad432ade9aada7ef368e034476ace4379da6b8973414805dc8185c
Contents?: true
Size: 659 Bytes
Versions: 10
Compression:
Stored size: 659 Bytes
Contents
module Comee module Core class ItemStatus < ApplicationRecord INITIALIZED = "Initialized".freeze DELIVERY_NOTE_CREATED = "Delivery note created".freeze COMPLETELY_PICKED_AND_PACKED = "Completely Picked & Packed".freeze PARTIALLY_PICKED_AND_PACKED = "Partially Picked & Packed".freeze belongs_to :shipment_item validates :hash_code, :status, :status_date, presence: true def self.ransackable_attributes(_auth_object = nil) %w[hash_code status status_date sales_order_item_id] end def self.ransackable_associations(_auth_object = nil) ["shipment_item"] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems