Your IP : 216.73.216.209


Current Path : /home/megadansyp/www/components/com_eventgallery/views/snippets/tmpl/order/
Upload File :
Current File : /home/megadansyp/www/components/com_eventgallery/views/snippets/tmpl/order/status.php

<?php // no direct access

/**
 * @package     Sven.Bluege
 * @subpackage  com_eventgallery
 *
 * @copyright   Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die('Restricted access');

/**
 * @var EventgalleryLibraryOrder $order
 */
$order = $this->lineitemcontainer;

?>
<div class="card">
    <div class="card-header">
        <?php echo JText::_('COM_EVENTGALLERY_ORDER_LABEL') ?>
    </div>
    <div class="card-body order-status">
        <div class="order-status-id">
            <div class="order-status-headline"><?php echo JText::_('COM_EVENTGALLERY_ORDER_ID') ?></div>
            <div class="order-status-body"><?php echo $order->getDocumentNumber(); ?></div>
        </div>
        <div class="order-status-date">
            <div class="order-status-headline"><?php echo JText::_('COM_EVENTGALLERY_ORDER_CREATED') ?></div>
            <div class="order-status-body"><?php echo $order->getCreationDate(); ?></div>
        </div>
        <div class="order-status-order">
            <div class="order-status-headline"><?php echo JText::_('COM_EVENTGALLERY_ORDER_STATUS_ORDER') ?></div>
            <div class="order-status-body"><?php echo $order->getOrderStatus() ? $order->getOrderStatus()->getDisplayName() :'n/a'?></div>
        </div>
        <div class="order-status-payment">
            <div class="order-status-headline"><?php echo JText::_('COM_EVENTGALLERY_ORDER_STATUS_PAYMENT') ?></div>
            <div class="order-status-body"><?php echo $order->getPaymentStatus() ? $order->getPaymentStatus()->getDisplayName() : 'n/a'; ?></div>
        </div>
        <div class="order-status-shipping">
            <div class="order-status-headline"><?php echo JText::_('COM_EVENTGALLERY_ORDER_STATUS_SHIPPING') ?></div>
            <div class="order-status-body"><?php echo $order->getShippingStatus() ? $order->getShippingStatus()->getDisplayName() : 'n/a'; ?></div>
        </div>
    </div>
</div>