Sha256: fe93426d7ef366798ea5909833dd712ebcc49fc4750210f32de27ed4771f91a8
Contents?: true
Size: 258 Bytes
Versions: 2
Compression:
Stored size: 258 Bytes
Contents
module Workarea class Fulfillment module Status class PartiallyRefunded include StatusCalculator::Status def in_status? order.items.any? { |i| i.quantity_refunded >= i.quantity } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-global_e-1.3.0 | app/models/workarea/fulfillment/status/partially_refunded.rb |
workarea-global_e-1.2.1 | app/models/workarea/fulfillment/status/partially_refunded.rb |