id]; } } // display process steps $workflow_api = new Gravity_Flow_API($form['id']); $steps = $workflow_api->get_steps(); foreach ($steps as $index => $step) { if (! $step->is_active()) { continue; } $is_step_running = $step->get_status() === 'pending'; $is_step_completed = $step->get_status() === 'complete'; $is_current_step = $step->get_id() === $current_step->get_id(); //$disabled_style = $is_step_running ? '' : 'opacity: 0.5'; $completed_style = $is_step_completed ? 'border-left: 4px solid #46b450;' : ''; ?>

get_name(), 'wiaas') ?>

target_form_id ); if (empty($action_form)) { echo '
'; continue; } $action_delivery_settings = rgar($action_form, 'wiaas_delivery_process'); ?>
' . ' ' . $action_form['title'] . '', $form_url ); echo $form_link; } echo '


'; $page_size = 20; $search_criteria = array( 'status' => 'active', 'field_filters' => array( array( 'key' => 'wiaas_delivery_process_id', 'value' => $entry['id'] ), ), ); $sorting = array( 'key' => 'date_created', 'direction' => 'DESC' ); $paging = array( 'offset' => 0, 'page_size' => $page_size ); $entries = GFAPI::get_entries( $action_form, $search_criteria, $sorting, $paging ); foreach ($entries as $action_entry) { self::_display_step_action_entry($action_form, $action_entry); } ?>
get_current_step($action_entry); ?> type === 'wiaas_order') { continue; } if ($field->type === 'workflow_discussion') { echo ''; continue; } $value = $field->get_value_entry_detail($action_entry[$field->id]); $label = $field->get_field_label(false, $action_entry[$field->id]); echo '' . '' . '' . ''; } if (! empty($current_action_step)) { ?>
' . $field->format_discussion_value($action_entry[$field->id]) . '
' . $label . ' :
' . $value . '
get_name() . ' ' . $current_action_step->get_status_label($current_action_step->get_status()) ?>