Sha256: 2c49c33667ba6d9051f97496855dad5e74b4118cc2896d6d20b0d56efd703aa7
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
module Workarea class Fulfillment module Status class Refunded include StatusCalculator::Status def in_status? # Need some items in the fulfillment order.items.any? && order.items.all? { |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/refunded.rb |
workarea-global_e-1.2.1 | app/models/workarea/fulfillment/status/refunded.rb |