You are here

function commerce_invoice_order_has_invoice in Commerce Invoice 7.2

Rules condition: whether the order has a current invoice.

Return value

bool

File

./commerce_invoice.rules.inc, line 130
Rules integration for the Commerce Invoice module.

Code

function commerce_invoice_order_has_invoice($order) {
  return commerce_invoice_load_current($order) ? TRUE : FALSE;
}