You are here

function uc_order_condition_order_status in Ubercart 5

File

uc_order/uc_order_workflow.inc, line 139
This file contains the Workflow-ng hooks and functions necessary to make the order related entity, conditions, events, and actions work.

Code

function uc_order_condition_order_status($order, $settings) {

  // Return TRUE if the order status matches.
  return $order->order_status == $settings['order_status'];
}