<?php

/**
 * The template for displaying transactions
 *
 * This template can be overridden by copying it to yourtheme/movie-engine/dashboard/transactions.php.
 *
 * HOWEVER, on occasion MovieEngine will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @note Please do not delete our CSS classes when you customize, as it may break functionality.
 * @package Movie_Engine
 * @subpackage Movie_Engine/templates/dashboard
 * @version 1.0.0
 * @since 1.0.0
 */

if (! defined("ABSPATH")) {
    exit;
}
?>
<div class="movie-engine-view-header">
    <h3><span class="fa-solid fa-receipt"></span> <?php esc_html_e('Transaction History', 'cine-movie-engine'); ?></h3>
</div>

<div class="movie-engine-upgrade-container me-frontend-upgrade">
    <div class="me-upgrade-header">
        <div class="me-lock-icon">
            <span class="fa-solid fa-lock"></span>
        </div>
        <h1><?php esc_html_e('Track Your Payment History', 'cine-movie-engine'); ?> <span><?php esc_html_e('(Pro Feature)', 'cine-movie-engine'); ?></span></h1>
        <p class="me-upgrade-subtitle"><?php esc_html_e('Upgrade to Movie Engine Pro to view your complete transaction history, download invoices, and manage payments.', 'cine-movie-engine'); ?></p>
    </div>

    <div class="me-upgrade-content">
        <div class="me-upgrade-features-list">
            <div class="me-feature-item"><span class="fa-solid fa-check"></span> <?php esc_html_e('View All Past Payments', 'cine-movie-engine'); ?></div>
            <div class="me-feature-item"><span class="fa-solid fa-check"></span> <?php esc_html_e('Download PDF Invoices', 'cine-movie-engine'); ?></div>
            <div class="me-feature-item"><span class="fa-solid fa-check"></span> <?php esc_html_e('Filter by Date & Type', 'cine-movie-engine'); ?></div>
            <div class="me-feature-item"><span class="fa-solid fa-check"></span> <?php esc_html_e('Export to CSV', 'cine-movie-engine'); ?></div>
        </div>

        <div class="me-upgrade-cta-box">
            <div class="me-price-notice"><?php esc_html_e('Pro Plans Starting at $89', 'cine-movie-engine'); ?></div>
            <div class="me-upgrade-buttons">
                <a href="<?php echo esc_url(\MovieEngine\Admin\Upgrade::get_pro_url('pricing')); ?>" target="_blank" class="movie-engine-btn me-btn-red">
                    <?php esc_html_e('Upgrade to Pro', 'cine-movie-engine'); ?>
                </a>
                <a href="<?php echo esc_url(\MovieEngine\Admin\Upgrade::get_pro_url('features')); ?>" target="_blank" class="movie-engine-btn me-btn-outline">
                    <?php esc_html_e('View Features', 'cine-movie-engine'); ?>
                </a>
            </div>
        </div>
    </div>
</div>