Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/design/frontend/Cnc/default/Fooman_PdfCustomiser/templates/pdf-alt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/Fooman_PdfCustomiser/templates/pdf-alt/order.phtml
<?php
/**
 * @var \Fooman\PdfCustomiser\Block\Order $block
 * @var \Magento\Framework\Escaper $escaper
 *
 * Note on the use of @noEscape throughout this template
 * html output is allowed by design to allow users to customise their pdfs
 * Before pdf rendering all output is run filtered by @see \Magento\Framework\Filter\Input\MaliciousCode
 */
?>
<?php $order = $block->getOrder() ?>
<?php $design = $block->getDesign() ?>

<table width="100%" border="0" cellpadding="8" cellspacing="0">
    <tr>
        <?php if ($block->isLogoOnRight()): ?>
            <td valign="top"
                width="50%"
                height="30mm"
                style="font-weight:bold;font-size:<?= /* @noEscape */ $block->getFontsize('large') ?>"
            ><?= $escaper->escapeHtml($block->getTitle()) ?></td>
            <td valign="top">&nbsp;<?= /* @noEscape */ $block->getLogoBlock() ?></td>
        <?php else: ?>
            <td width="50%"
                valign="top"><?= /* @noEscape */ $block->getLogoBlock() ?></td>
            <td valign="top"
                height="30mm"
                style="font-weight:bold; font-size:<?= /* @noEscape */$block->getFontsize('large') ?>"
            ><?= $escaper->escapeHtml($block->getTitle()) ?></td>
        <?php endif; ?>
    </tr>
    <tr>
        <td valign="top" width="50%"><?= $escaper->escapeHtml(__('Order #')) ?>:
            <?= $escaper->escapeHtml($order->getIncrementId()) ?><br/>
            <?= $escaper->escapeHtml(__('Order Date')) ?>:
            <?= /* @noEscape */ $block->getFormattedDate($order->getCreatedAt()) ?><br/>
            <?php if ($orderNumber = $order->getData('order_number')): ?>
                <?=  $escaper->escapeHtml(__('Internal order number') . ': ' . $orderNumber) ?><br/>
            <?php endif; ?>
        </td>
        <td valign="top"><?= /* @noEscape */ nl2br($escaper->escapeHtml($block->getOwnerAddress())) ?></td>
    </tr>
    <tr>
        <?php if ($block->shouldDisplayBothAddresses()): ?>
        <td valign="top"
            width="50%"
            style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"
        ><?= $escaper->escapeHtml(__('Sold to:')) ?></td>
        <td valign="top"
            style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"
        ><?php if (!$order->getIsVirtual()):
            ?><?= $escaper->escapeHtml(__('Ship to:')) ?><?php
         endif; ?></td>
    </tr>
    <tr>
        <td valign="top"
            style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, true, false)?>"
        ><?= /* @noEscape */ $block->getBillingAddress() ?></td>
        <td valign="top"
            style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, false, true)?>"
        ><?php if (!$order->getIsVirtual()):
            ?><?= /* @noEscape */ $block->getShippingAddress() ?><?php
         endif; ?></td>
        <?php elseif ($block->shouldDisplayShippingAddress()): ?>
            <td valign="top"
                colspan="2"
                style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"></td>
        </tr>
        <tr>
            <td valign="top"
                colspan="2"
                style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, true, true)?>"
            ><?= /* @noEscape */ $block->getShippingAddress() ?></td>
        <?php elseif ($block->shouldDisplayBillingAddress()): ?>
        <td valign="top"
            colspan="2"
            style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"></td>
        </tr>
        <tr>
            <td valign="top"
                colspan="2"
                style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, true, true)?>"
            ><?= /* @noEscape */ $block->getBillingAddress() ?></td>
        <?php endif; ?>
    </tr>
    <tr>
        <td colspan="2">&nbsp;</td>
    </tr>
    <?php if ($order->getIsVirtual()): ?>
        <tr>
            <td valign="top"
                colspan="2"
                style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"
            ><strong><?= $escaper->escapeHtml(__('Payment Method')) ?></strong></td>
        </tr>
        <tr>
            <td valign="top"
                colspan="2"
                style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, true, true)?>"
            ><?= /* @noEscape */ $block->getPaymentBlock() ?></td>
        </tr>
    <?php else: ?>
        <tr>
            <td valign="top"
                width="50%"
                style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"
            ><strong><?= $escaper->escapeHtml(__('Payment Method')) ?></strong></td>
            <td valign="top"
                style="<?= /* @noEscape */ $block->getDesign()->getHeaderStyle(true, true)?>"
            ><strong><?= $escaper->escapeHtml(__('Shipping Method')) ?></strong></td>
        </tr>
        <tr>
            <td valign="top"
                width="50%"
                style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, true, false)?>"
            ><?= /* @noEscape */ $block->getPaymentBlock() ?></td>
            <td valign="top"
                style="<?= /* @noEscape */ $block->getDesign()->getCellStyle(true, true, false, true)?>"
            ><?= /* @noEscape */ $block->getShippingBlock() ?></td>
        </tr>
    <?php endif; ?>
    <tr>
        <td colspan="2">&nbsp;</td>
    </tr>
</table>

<?= /* @noEscape */ $block->getItemsBlock($design->getItemStyling()) ?>

<?= /* @noEscape */ $block->getTotalsBlock() ?>

<?= /* @noEscape */ $block->getGiftmessageBlock()?>

<?= /* @noEscape */ $block->getTaxTableBlock() ?>

<?= /* @noEscape */ $block->getCommentsBlock() ?>

<?php $customText = $block->getCustomText() ?>
<?php if ($customText): ?>
    <br/>
    <table width="100%" border="0" cellpadding="8" cellspacing="0">
        <tr>
            <td colspan="2"><?= /* @noEscape */ $customText ?></td>
        </tr>
    </table>
<?php endif; ?>

<?php $groupText = $block->getGroupText($order->getCustomerGroupId()) ?>
<?php if ($groupText): ?>
    <br/>
    <table width="100%" border="0" cellpadding="2" cellspacing="0">
        <tr>
            <td colspan="2"> <?= /* @noEscape */ $groupText ?></td>
        </tr>
    </table>
<?php endif; ?>

Spamworldpro Mini