<div class="wrap chainpay-admin">
    <h1>Pricing Plans</h1>
    
    <table class="wp-list-table widefat fixed striped">
        <thead><tr><th>Name</th><th>Slug</th><th>Price</th><th>Billing</th><th>Active</th></tr></thead>
        <tbody>
            <?php foreach ($plans as $plan): ?>
            <tr>
                <td><strong><?php echo esc_html($plan->name); ?></strong></td>
                <td><code><?php echo esc_html($plan->slug); ?></code></td>
                <td>$<?php echo number_format($plan->price, 2); ?></td>
                <td><?php echo esc_html(ucfirst($plan->billing_period)); ?></td>
                <td><?php echo $plan->is_active ? 'Yes' : 'No'; ?></td>
            </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</div>
