<?php

namespace Leadlion\AutogedalOrderFlow\Plugin\Sales\Block\Adminhtml\Order\Create;

class OrderStatus
{
    public function afterToHtml(\Magento\Sales\Block\Adminhtml\Order\Create\Comment $subject, $html)
    {
        $newBlockHtml = $subject->getLayout()->createBlock('\Magento\Framework\View\Element\Template')->setTemplate('Leadlion_AutogedalOrderFlow::orderStatus.phtml')->toHtml();

        return $html.$newBlockHtml;
    }
}