<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?><div class="tami-mb-3 tami-p-3 tami-my-3">
	<?php
	$apiSettings   = \Tami\WooCommerce\TamiAdminSettings::get_api_settings(true);
	$merchantId    = ( $apiSettings['merchant_id'] ?? '' );
	$terminalId    = ( $apiSettings['terminal_id'] ?? '' );
	$installStatus = ! empty( $merchantId ) || ! empty( $terminalId );
	?>
	<?php if ( $installStatus ) : ?>
        <div class="tami-row">
            <div class="tami-col">
                <?php
                    include TAMI_PLUGIN_PATH . '/admin/views/pages/widgets/last-order-widget.php';
                ?>
            </div><!--//col-->
            <div class="tami-col">
	            <?php
	            require_once TAMI_PLUGIN_PATH . '/admin/views/pages/widgets/api-settings-widget.php';
	            ?>
            </div>
        </div>
	<?php else: ?>
        <div class="tami-m-auto" style="max-width: 70em">
            <div class="tami-row tami-text-body tami-text-center">
                <div class="tami-col">
                    <a href="https://tami.com.tr/sanal-pos" target="_blank">
                        <?php
                        \Tami\WooCommerce\TamiAdmin::get_assets( 'images/tami-dashboard-1.png', 'html', [
                                'style' => 'width: 100%; height: auto',
                                'alt' => 'dash-1',
                        ] )
                        ?>
                    </a>
                </div>
                <div class="tami-col">

	                <?php
	                \Tami\WooCommerce\TamiAdmin::get_assets( 'images/tami-dashboard-2.png', 'html', [
		                'style' => 'width: 100%; height: auto',
		                'alt' => 'dash-2',
	                ] )
	                ?>
                </div>
            </div>
        </div>
	<?php endif; ?>
</div>
