<?php // no direct access

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

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

<div class="cart-summary">
    <div class="subtotal">
        <div class="subtotal-headline"><?php echo JText::_('COM_EVENTGALLERY_CART_SUBTOTAL') ?></div>
		<span class="subtotal">
            <?php echo $this->lineitemcontainer->getSubTotal(); ?>
		</span>
    </div>
    <?php IF ($this->lineitemcontainer->getSurchargeServiceLineItem() != NULL): ?>

        <div class="surcharge">
            <div class="surcharge-headline"><?php echo $this->lineitemcontainer->getSurchargeServiceLineItem()->getDisplayName(); ?></div>
		<span class="surcharge">
            <?php echo $this->lineitemcontainer->getSurchargeServiceLineItem()->getPrice(); ?>
		</span>
        </div>
    <?php ENDIF ?>
    <?php IF ($this->lineitemcontainer->getShippingMethodServiceLineItem() != NULL): ?>
        <div class="surcharge">
            <div class="surcharge-headline"><?php echo $this->lineitemcontainer->getShippingMethodServiceLineItem()->getDisplayName(); ?>                
            </div>
		<span class="surcharge">
            <?php echo $this->lineitemcontainer->getShippingMethodServiceLineItem()->getPrice(); ?>
		</span>
        </div>
    <?php ENDIF ?>
    <?php IF ($this->lineitemcontainer->getPaymentMethodServiceLineItem() != NULL): ?>
        <div class="surcharge">
            <div class="surcharge-headline"><?php echo $this->lineitemcontainer->getPaymentMethodServiceLineItem()->getDisplayName(); ?>              
            </div>
		<span class="surcharge">
            <?php echo $this->lineitemcontainer->getPaymentMethodServiceLineItem()->getPrice(); ?>
		</span>
        </div>
    <?php ENDIF ?>
    <div class="total ">
        <div class="total-headline"><?php echo JText::_('COM_EVENTGALLERY_CART_TOTAL') ?></div>
		<span class="total">
            <?php echo $this->lineitemcontainer->getTotal(); ?>
		</span>
		<span class="vat">
			<?php echo JText::sprintf('COM_EVENTGALLERY_CART_VAT_HINT_WITH_PLACEHOLDER', $this->lineitemcontainer->getTax()) ?>
		</span>
    </div>
</div>