<?php
/**
 * PeachPay Admin settings sidebar navigation HTML view.
 *
 * @package PeachPay
 */

defined( 'PEACHPAY_ABSPATH' ) || exit;

require_once PEACHPAY_ABSPATH . 'core/admin/views/utilities.php';

?>
<div class="peachpay-side-nav">
	<nav class="nav-tab-wrapper peachpay-accordion <?php echo esc_attr( peachpay_nav_is_gateway_page() ? 'no-active-tab' : '' ); ?>">
		<a class="peachpay-logo" href="<?php Peachpay_Admin::admin_settings_url(); ?>"></a>
		<?php peachpay_generate_nav_tab( 'peachpay', 'home', null, 'Dashboard' ); ?>
		<p style="margin-bottom: 0px; text-transform: uppercase;"><?php echo esc_html_e( 'Settings', 'peachpay-for-woocommerce' ); ?></p>
		<?php peachpay_generate_nav_tab( 'peachpay', 'payment', null, 'Payments', $has_subtabs = true ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'bot_protection', 'settings', 'Bot protection' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'express_checkout', 'branding', 'Express checkout', $has_subtabs = true ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'settings', 'address_autocomplete', 'Address autocomplete' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'settings', 'logging', 'Advanced logging' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'settings', 'wc-subscription-import', 'WC Subscriptions Importer' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'currency', null, 'Currency' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'field', 'billing', 'Field editor', $has_subtabs = true ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'related_products', null, 'Related products' ); ?>
		<p style="margin-bottom: 0px; text-transform: uppercase;"><?php echo esc_html_e( 'Account', 'peachpay-for-woocommerce' ); ?></p>
		<?php peachpay_generate_nav_tab( 'peachpay', 'data', 'account', 'Data' ); ?>
		<?php peachpay_generate_nav_tab( 'peachpay', 'region', 'account', 'Region' ); ?>
	</nav>
	<div class="side-nav-bottom-group">
		<?php peachpay_generate_top_nav_link( null, 'https://peachpay.notion.site/8526d0ee6f984b679afd4e9a60fd25d7?v=712cb377635f47dd8c8a920a089ab7b4', 'docs-icon', 'Docs' ); ?>
		<?php peachpay_generate_top_nav_link( null, 'https://twitter.com/peachpayhq/', 'twitter-icon', 'Twitter' ); ?>
	</div>
</div>
<?php
