Sha256: fd9bc43d0a9cc3a14d3ecabf27b950397c9972d676446d4d3bdb7091082cc78d

Contents?: true

Size: 485 Bytes

Versions: 26

Compression:

Stored size: 485 Bytes

Contents

FactoryBot.define do
  factory :sales_order, class: "Comee::Core::SalesOrder" do
    order_number { Faker::Alphanumeric.alpha(number: 10) }
    customer_order
    fulfillment_center
    payment_term { Faker::Lorem.sentence }
    delivery_term { Faker::Lorem.sentence }
    payment_penalty { 0 }
    total_price { 0 }
    amount_paid { 0 }
    status { Comee::Core::SalesOrder.statuses[:draft] }
    pallete_note { Faker::Lorem.sentence }
    remark { Faker::Lorem.sentence }
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
comee_core-0.1.90 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.89 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.88 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.87 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.86 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.85 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.84 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.83 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.82 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.81 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.80 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.79 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.78 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.77 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.76 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.75 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.74 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.73 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.72 spec/factories/comee/core/sales_orders.rb
comee_core-0.1.71 spec/factories/comee/core/sales_orders.rb