Sha256: ef5482994ac7d333849d1675180c60af63bc321d1fac17158c98aed07c2483d8
Contents?: true
Size: 542 Bytes
Versions: 57
Compression:
Stored size: 542 Bytes
Contents
Spree::Sample.load_sample("orders") first_order = Spree::Order.find_by_number!("R123456789") last_order = Spree::Order.find_by_number!("R987654321") first_order.adjustments.create!( :amount => 0, :source => Spree::TaxRate.find_by_name!("North America"), :order => first_order, :label => "Tax", :state => "open", :mandatory => true) last_order.adjustments.create!( :amount => 0, :source => Spree::TaxRate.find_by_name!("North America"), :order => last_order, :label => "Tax", :state => "open", :mandatory => true)
Version data entries
57 entries across 57 versions & 2 rubygems