<!-- Extend Modal -->
<div id="extendModal" class="modal">
    <div class="modal-content">
        <span class="close" onclick="closeExtendModal()">&times;</span>
        <h2>⏰ Perpanjang Subscription</h2>
        <form method="POST" id="extendForm" action="<?php echo e(route('admin.panel.post')); ?>">
            <?php echo csrf_field(); ?>
            <input type="hidden" name="action" value="extend">
            <input type="hidden" name="extend_id" id="extend_id">

            <div class="form-group">
                <label>Subscription ID:</label>
                <input type="text" id="extend_display_id" readonly style="background: #f5f5f5;">
            </div>

            <div class="form-group">
                <label for="additional_days">Tambah Hari:</label>
                <select name="additional_days" id="additional_days" required>
                    <option value="1">1 hari</option>
                    <option value="7">7 hari</option>
                    <option value="30" selected>30 hari</option>
                    <option value="90">90 hari</option>
                    <option value="365">365 hari</option>
                </select>
            </div>

            <div style="display: flex; gap: 10px; margin-top: 20px;">
                <button type="submit" class="btn btn-success">✅ Perpanjang</button>
                <button type="button" class="btn" onclick="closeExtendModal()">❌ Batal</button>
            </div>
        </form>
    </div>
</div>
<?php /**PATH D:\laragon\www\admin\resources\views/admin/partials/extend-modal.blade.php ENDPATH**/ ?>