Sha256: f881e003e80a1ca042475f47325331da7952a8e810a4f78364fb0ae5a0c7742a

Contents?: true

Size: 158 Bytes

Versions: 8

Compression:

Stored size: 158 Bytes

Contents

module Spree
  class PurchaseOrder < ActiveRecord::Base
    has_one :payment, as: :source

    validates_presence_of :po_number, :organization_name
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_purchase_order-3.2.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-3.1.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-3.0.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-2.4.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-2.3.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-2.2.0.beta2 app/models/spree/purchase_order.rb
spree_purchase_order-2.2.0.beta app/models/spree/purchase_order.rb
spree_purchase_order-2.1.0.beta app/models/spree/purchase_order.rb