Class: Workarea::Payment::Status::PartiallyRefunded

Inherits:
Object
  • Object
show all
Includes:
StatusCalculator::Status
Defined in:
app/models/workarea/payment/status.rb

Instance Method Summary collapse

Methods included from StatusCalculator::Status

#initialize

Instance Method Details

#in_status?Boolean

Returns:

  • (Boolean)


66
67
68
69
70
# File 'app/models/workarea/payment/status.rb', line 66

def in_status?
  order.tenders.any? do |tender|
    tender.refunded_amount > 0
  end
end