<?php
/**
 *
 * Description
 *
 * @package    VirtueMart
 * @subpackage Edit
 * @author Max Milbers
 * @link https://virtuemart.net
 * @copyright Copyright (c) 2004 - Copyright (C) 2004 - 2022 Virtuemart Team. All rights reserved. VirtueMart Team. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * VirtueMart is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * @version $Id: edit.php 10649 2022-05-05 14:29:44Z Milbo $
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
$adminTemplate = VMPATH_ROOT . '/administrator/templates/vmadmin/html/com_virtuemart/';
JLoader::register('vmuikitAdminUIHelper', $adminTemplate . 'helpers/vmuikit_adminuihelper.php');
vmuikitAdminUIHelper::startAdminArea($this);
?>

<form action="index.php" method="post" name="adminForm" id="adminForm" class="uk-form-horizontal">

	<?php // Loading Templates in Tabs
	$tabarray = array();
	$tabarray['edit'] = 'COM_VIRTUEMART_ADMIN_PAYMENT_FORM';
	$tabarray['config'] = 'COM_VIRTUEMART_ADMIN_PAYMENT_CONFIGURATION';

	vmuikitAdminUIHelper::buildTabs($this, $tabarray, $this->payment->virtuemart_paymentmethod_id);
	// Loading Templates in Tabs END ?>


	<!-- Hidden Fields -->
	<input type="hidden" name="option" value="com_virtuemart"/>
	<input type="hidden" name="virtuemart_paymentmethod_id"
			value="<?php echo $this->payment->virtuemart_paymentmethod_id; ?>"/>
	<input type="hidden" name="task" value=""/>
	<input type="hidden" name="boxchecked" value="0"/>
	<input type="hidden" name="xxcontroller" value="paymentmethod"/>
	<input type="hidden" name="view" value="paymentmethod"/>

	<?php echo JHtml::_('form.token'); ?>
</form>

<?php vmuikitAdminUIHelper::endAdminArea(); ?>
