<?php
/** 
 * @package     VikRestaurants
 * @subpackage  core
 * @author      E4J s.r.l.
 * @copyright   Copyright (C) 2023 E4J s.r.l. All Rights Reserved.
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link        https://vikwp.com
 */

// No direct access
defined('ABSPATH') or die('No script kiddies please!');

?>

<div style="padding: 10px;">

	<div class="btn-toolbar" style="height:32px;">

		<div class="btn-group pull-left vr-toolbar-setfont">
			<strong>
				<?php
				echo JText::sprintf(
					'VRCREDITCARDAUTODELMSG',
					JHtml::fetch('date', $this->expDate, JText::translate('DATE_FORMAT_LC3') . ' ' . VREFactory::getConfig()->get('timeformat'), date_default_timezone_get())
				);
				?>
			</strong>
		</div>

	</div>

	<?php if ($this->creditCard): ?>
		<pre><code><?php echo json_encode($this->creditCard, JSON_PRETTY_PRINT); ?></code></pre>
	<?php endif; ?>

</div>
