<?php
/**
 *---------------------------------------------------------------------------------------
 * @package       VP Smart Template
 *---------------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2012-2020 VirtuePlanet Services LLP. All rights reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       Abhishek Das
 * @email         info@virtueplanet.com
 * @link          https://www.virtueplanet.com
 *---------------------------------------------------------------------------------------
 */
defined('_JEXEC') or die;

$this->html = !isset($this->html) ? vRequest::get('html', vmText::_('COM_VIRTUEMART_ORDER_PROCESSED')) : $this->html;
$this->display_title = !isset($this->display_title) ? vRequest::getBool('display_title', true) : $this->display_title;
?>
<div class="cart-order-done">
	<?php if($this->display_title) : ?>
		<div class="page-header">
			<h1><?php echo vmText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU') ?></h1>
		</div>
	<?php endif; ?>
	<?php echo $this->html; ?>
	<?php if(vRequest::getBool('display_loginform', true) && !JFactory::getUser()->get('guest')) : ?>
		<div class="order-done-logout-form">
			<?php echo shopFunctionsF::getLoginForm(); ?>
		</div>
	<?php endif; ?>
</div>