client/webserver/site/src/js/orderutil.js
/*
 * hasLiveMatches returns true if the order has matches that have not completed
 * settlement yet.
 */
hasLiveMatches returns true if the order has matches that have not completed
settlement yet.
hasLiveMatches returns true if the order has matches that have not completed settlement yet .
function hasLiveMatches (order) {
  if (!order.matches) return false
  for (const match of order.matches) {
    if (!match.revoked && match.status < MakerRedeemed) return true
  }
  return false
}
function hasLiveMatches ( order ) { if ( ! order . matches ) return false for ( const match of order . matches ) { if ( ! match . revoked && match . status < MakerRedeemed ) return true } return false }
hasLiveMatches returns true if the order has matches that have not completed
 settlement yet.
hasLiveMatches returns true if the order has matches that have not completed settlement yet .