<?php
/**
 * Copyright © 2016 maijindou.com All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile
/**
 * @var $block \Magento\OfflinePayments\Block\Form\Checkmo
 */
?>
<fieldset class="admin__fieldset payment-method" id="payment_form_<?php echo $block->escapeHtml($block->getMethodCode()) ?>" style="display:none">
    <?php if ($block->getMethod()->getPayableTo()): ?>
        <label class="label"><span><?php echo $block->escapeHtml(__('Make Check payable to:')) ?></span></label> <?php echo $block->escapeHtml($block->getMethod()->getPayableTo()) ?>
    <?php endif; ?>
    <?php if ($block->getMethod()->getMailingAddress()): ?>
        <div class="admin__field">
            <label class="admin__field-label"><span><?php echo $block->escapeHtml(__('Send Check to:')) ?></span></label>
            <div class="admin__field-control checkmo-mailing-address">
                <?php /* @noEscape */ echo nl2br($block->escapeHtml($block->getMethod()->getMailingAddress())) ?>
            </div>
        </div>
    <?php endif; ?>
</fieldset>
