diff --git a/backend/app/plugins/wiaas/assets/css/wiaas-admin-delivery-process.css b/backend/app/plugins/wiaas/assets/css/wiaas-admin-delivery-process.css index 450b86a..77d10ce 100644 --- a/backend/app/plugins/wiaas/assets/css/wiaas-admin-delivery-process.css +++ b/backend/app/plugins/wiaas/assets/css/wiaas-admin-delivery-process.css @@ -82,4 +82,9 @@ width: 84px; text-align: center; padding-right: 10px; +} + +.wiaas-delivery-process-step-instructions { + padding: 10px 50px; + border-bottom: 1px solid #eee; } \ No newline at end of file diff --git a/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-delivery-process-step.php b/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-delivery-process-step.php index f016d57..cfecd09 100644 --- a/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-delivery-process-step.php +++ b/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-delivery-process-step.php @@ -25,7 +25,15 @@ if ($is_current_step) { get_form(), $form, $step->get_entry()); + + if ($step->instructionsEnable) { + + $instructions = $step->instructionsValue; + $instructions = GFCommon::replace_variables( $instructions, $step->get_form(), $step->get_entry(), false, false, true ); + $instructions = do_shortcode( $instructions ); + + echo '