This commit is contained in:
Almira Krdzic
2018-08-01 14:47:02 +02:00
parent 321fbc3f61
commit ed0e44b964
2 changed files with 11 additions and 0 deletions

View File

@@ -22,6 +22,16 @@ function wiaas_get_entry_meta($entry_meta, $form_id) {
),
);
$entry_meta[ 'wiaas_delivery_process_id' ] = array(
'label' => 'Wiaas Delivery Process Id',
'is_numeric' => true,
'update_entry_meta_callback' => null,
'is_default_column' => false, // this column will be displayed by default on the entry list
'filter' => array(
'operators' => array( 'is' ),
),
);
return $entry_meta;
}

View File

@@ -83,6 +83,7 @@ class Wiaas_Delivery_Process_Step extends Gravity_Flow_Step {
$target_form = GFAPI::get_form( $this->target_form_id );
$new_entry = array(
'form_id' => $this->target_form_id,
'wiaas_delivery_process_id' => $this->get_entry_id(),
);
$customer_id_value = null;