ID;
$process = Wiaas_Delivery_Process::get_order_delivery_process($order_id);
if ($process === NULL){
$list_of_delivery_processes = Wiaas_Delivery_Process::get_available_delivery_processes();
echo '
Please select a process for the order:
';
wp_nonce_field( 'wiaas_create_order_delivery_process', 'wiaas_create_order_delivery_process_nonce' );
echo '';
}else{
$current_step = Wiaas_Delivery_Process::get_active_step($order_id);
$workflow_url = $current_step->get_entry_url();
echo '';
}
}
public static function add_custom_fields_after_order_details($order){
$order_estimated_delivery_date = Wiaas_Order::get_order_estimated_date($order->id);
$order_id = $order->id;
require 'views/html-order-delivery-date.php';
}
}
Wiaas_Admin_Order_Process_Flow::init();