<?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 \de\svenbluege\joomla\eventgallery\ObjectWithConfiguration $this */ ?> <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(); ?> <?php IF ($this->edit == true) :?> <a href="<?php echo JRoute::_( "index.php?option=com_eventgallery&view=checkout&task=change" ) ?>">(<?php echo JText::_('COM_EVENTGALLERY_CART_CHECKOUT_REVIEW_FORM_CHANGE') ?>)</a> <?php ENDIF ?> </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(); ?> <?php IF ($this->edit == true) :?> <a href="<?php echo JRoute::_( "index.php?option=com_eventgallery&view=checkout&task=change" ) ?>">(<?php echo JText::_('COM_EVENTGALLERY_CART_CHECKOUT_REVIEW_FORM_CHANGE') ?>)</a> <?php ENDIF ?> </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> <?php IF ($this->config->getCheckout()->doShowVat()): ?> <span class="vat"> <?php echo JText::sprintf('COM_EVENTGALLERY_CART_VAT_HINT_WITH_PLACEHOLDER', $this->lineitemcontainer->getTax()) ?> </span> <?php ENDIF ?> </div> </div>