Sha256: 3b72ca5291a72aebd65ca56c4655aea3f2ffefead4d85090e0099601adca570b
Contents?: true
Size: 534 Bytes
Versions: 92
Compression:
Stored size: 534 Bytes
Contents
FactoryBot.define do factory :invoice, class: "Comee::Core::Invoice" do invoice_no { Faker::Alphanumeric.alpha(number: 8) } sales_order date_issued { Date.current } ship_name { Faker::Name.name } delivery_date { Date.current.advance(days: -7) } voyage_no { Faker::Alphanumeric.alpha(number: 10) } additional_charges { 0 } total_price { 0 } payment_term { Faker::Lorem.sentence } notifications_sent { 0 } status { Comee::Core::Invoice.statuses[:draft] } payment_status { 0 } end end
Version data entries
92 entries across 92 versions & 1 rubygems